Re: what files does beagle index?



Hi
 I remembered something which might be useful. I think external
filters require both mime-type and extension. You can try to match
extension and leave mime-type field empty (since thats what beagle
thinks the mimetype to be). Give it a try.

- dBera

$ beagle-extract-content .icq.old/history/6000006.db
Filename: file:///home/brian/.icq.old/history/6000006.db
Debug: Loaded 47 filters from /usr/lib/beagle/Filters/Filters.dll
Debug: No filter for /home/brian/.icq.old/history/6000006.db ()
No filter for

Neither know as much as file:

$ file .icq.old/history/6000006.db
.icq.old/history/6000006.db: GNU dbm 1.x or ndbm database, little endian

Unfortunately.

Oh well, better than nothing.  :-)

> Or even better,
> try
> $ beagle-extract-content /path/to/file
> It will tell you what mimetype beagle thinks.

$ beagle-extract-content .icq.old/history/6000006.db
Filename: file:///home/brian/.icq.old/history/6000006.db
Debug: Loaded 47 filters from /usr/lib/beagle/Filters/Filters.dll
Debug: No filter for /home/brian/.icq.old/history/6000006.db ()
No filter for

> beagle-extract-content
> will return you the same metadata and data that beagle extracts from a
> file. So, if there is no filter it will say "no filter found" o/w it
> will list the words found. After you write an external filter, you can
> use beagle-extract-content to test the filter.

Awesome!  All very helpful!

> Once you are done with testing, you have to put it in the right place
> and (I think) restart beagle.

--
-----------------------------------------------------
Debajyoti Bera @ http://dbera.blogspot.com
beagle / KDE fan
Mandriva / Inspiron-1100 user



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