Nepomuk-KDE Clients
The Nepomuk-KDE clients module will consist of plugins and stand-alone applications that generate metadata, search metadata, display it, and alltogether manage it. See Subversion for generic instructions on how to compile NEPOMUK-KDE modules.Simple File Annotation
The subversion module simple-file-annotator contains a very simple file annotation tool. Once compiled it provides a binary called simple-annotator which takes a resource URL as parameter and then shows a simple text editor which can be used to edit the comment or annotation of this resource. The simple file annotator uses libKMetaData to load and save the annotations to the local RDF store. The crucial code that does all the work looks something like this:File f( argv[1] ); f.setAnnotation( textEdit->plainText() );
Simple File Tagging
The subversion module simple-file-tagger contains a very simple file tagging tool. Once compiled it provides a binary called simple-tagger which takes a resource URL as parameter and then shows a list of the available tags and a possibility to create new tags. The simple file tagger uses libKMetaData to load and save the tags to the local RDF store. Since in the current Nepomuk-KDE ontology a tag is a resource tagging files is not as easy as creating an annotation. But it is still easy nontheless. The only difference is that in order to create a new tag one has to come up with a unique tag URI (We still have to find a solution to handle this in a proper way.)Tag tag( "mytaguri" ); tag.setName( "Imporant" ); File f( argv[1] ); f.addTag( tag );
Nepomuk-KDE Strigi Integration
In the Nepomuk-KDE subversion module strigiindexer one can find a Strigi plugin that allows Strigi to index the meta information created by libKMetaData and thus, the simple annotator and tagger. In order to use it, install Strigi and the indexer. Then let Strigi index the annotated and tagged files. Now one can find files tagged with a tag foobar via a Strigi query like tag:foobar (sadly Strigi does not yet query all fields automatically so one still has to provide the field to search in).
This site is outdated. Please see http://nepomuk.kde.org > Nepomuk-KDE Clients
Version 1.6 last modified by SebastianTrueg on 15/12/2006 at 15:51
Version 1.6 last modified by SebastianTrueg on 15/12/2006 at 15:51