Indexing zip files / gnome vfs



Hello,

I've been investigating how to index zip files with Beagle, and there
seems (to me) to be 3 options:

1) Implement a filter for zip files which hacks a custom
IIndexableGenerator into the scheduler. If it gets modified it will be
reindexed - not sure how it knows when it's deleted.

2) Change FileSystemQueryable to be aware of zip files.

3) Implement a new Files backend "GnomeVFSQueryable" which knows about
zip files.

I am in favour of option (3), it is the cleanest solution. (2) involves
changing all path's to uri's and making it aware that not all files
exist as objects on disk - eg they are within a zip file. (1) is a hack.

Also (3) has the benefit of enabling beagle to index ftp:// smb:// and
whatever else gnome-vfs supports.

Any comments / suggestions?

Adam



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]