[Nepomuk] index archive contents for metadata

nihui shuizhuyuanluo at 126.com
Mon Dec 5 12:05:03 UTC 2011


hi all
I have written strigi analyzers for some theme package types.[1]
These theme packages are just zip archives, but have own type suffix, not .zip but .ssf.
xmlindexer from strigi can successfully extract the specific metadata from .ssf files.
however, dolphin only show the metadata for a few ones among all my .ssf files.
I found that KFileMetaInfo class first trys to get metadata from nepomuk, if failed, then index file directly, but only read 65536 bytes, which is not enough for some big .ssf archive files.
So I enabled nepomuk file indexer service, but dolphin still could not show those missing metadata.
Finally, I found that nepomuk file indexer disabled the archive contents indexing ( see kde-runtime/nepomuk/services/fileindexer/indexer/indexer.cpp )

I wonder if it is possible to enable indexing of .ssf files.

[1] https://projects.kde.org/projects/playground/utils/kimtoy/repository/revisions/master/show/strigi-analyzer

regards
nihui

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/nepomuk/attachments/20111205/4e366fe6/attachment.html>


More information about the Nepomuk mailing list