Jump to content

Projects/Nepomuk/FileIndexing: Difference between revisions

From KDE Community Wiki
Unormal (talk | contribs)
No edit summary
Unormal (talk | contribs)
Corrected the item lists
Line 35: Line 35:


== Audio ==
== Audio ==
** MP3
* MP3


== Documents ==
== Documents ==
** doc
* doc
** docx
* docx
** odf
* odf
** pdfs
* pdfs
** epub
* epub
** mobi
* mobi
** spreadsheet formats
* spreadsheet formats
** presentation Formats
* presentation Formats
** lyx
* lyx
** tex
* tex
** cbz - Comic books
* cbz - Comic books


* Archives
== Archives ==
** tar
* tar
** gzip
* gzip
** whatever ..
* whatever ..


* Emails
== Emails ==
** There was a bug report
* There was a bug report


* Text Files
== Text Files ==
** Text files
* Text files
** Source Code
* Source Code


* ISO images
== ISO images ==
* Executable files
== Executable files ==

Revision as of 17:01, 10 September 2012

Nepomuk currently acts as the file indexer for the KDE platform, applications and workspaces. Even though we frequently tout that we are not just a file indexer, we need to index the files properly.

File indexing solutions

Strigi

The KDE software releases in version 4.9, currently use libstreamanalyzer to index the files. Current problems with strigi -

  • Difficult to contribute to
  • No documentation
  • Un-maintained
  • Does not reuse libraries

Lists the current status of indexing different files.

Roll our own?

File Formats

We list down all the different file formats, and which all are supported by the different file indexing solutions.

Images

  • JPEG - Use exiv - strigi also uses exiv - currently broken
  • PNG - Strigi rolls its own - detects the application name, color depth and interlace mode as well
  • GIF - there isn't much metadata
  • EXIF
  • TIFF
  • BMP
  • SVG - Strigi stores them as plain text


We just use exiv2 and cover almost everything. Plus the code would be super simple.

Videos

Audio

  • MP3

Documents

  • doc
  • docx
  • odf
  • pdfs
  • epub
  • mobi
  • spreadsheet formats
  • presentation Formats
  • lyx
  • tex
  • cbz - Comic books

Archives

  • tar
  • gzip
  • whatever ..

Emails

  • There was a bug report

Text Files

  • Text files
  • Source Code

ISO images

Executable files