I’ve changed the behaviour of the KFM file manager (demo) to require double-clicks rather than single-clicks, in order to choose a file. This is more in-keeping with how other file managers work.
I’ve also added the ability to select single or multiple files (click a file, then ctrl-click other files to add them to the selection). This is not useful for selecting a file for the FCKeditor, but is most definitely useful when you need to move a load of files to different directories, which I’ll implement soon enough (through drag’n’drop). Note the funky curved borders on selected files :-).
I was thinking about how to implement file-searching earlier, and have a few strategies in mind.
First, I think it should be possible to search by file name (obvious). Every time a file is added, a reference to it would be added to an indexing file, which could be searched quickly to find matches.
I think a more interesting thing, though, is the idea of Tags, where a file could be marked with Tags which describe what it’s for. For example, an MP3 could be tagged as “prog rock”, “comedy”, “spinal tap”, “majesty of rock”. This would allow files to be easily grouped together, despite their being in totally separate directories in actuality.
I have a number of practical applications for that in mind. For example, you could tag a load of images according to certain themes that they portray, and easily produce a gallery of images about one theme (or filtered with multiple tags for a more specifically themed gallery).
I know this isn’t clearly defined. It’s still kind of liquid in my head as well. I’m reading through the beagle website at the moment, as I think it is similar to what I’m trying to define.
As a postscript. I notice that I have just “tagged” this post as belonging to four separate categories. I believe this is similar to what I am trying to do with files – after all, it’s all information, right?