[Nepomuk] Adding Nepomuk integration into Basket Note Pads
Sebastian Trüg
trueg at kde.org
Thu Sep 9 10:01:43 CEST 2010
On 09/07/2010 05:23 PM, Amir Pakdel wrote:
> I think the following would work OK:
> - Added an XML file to the project which during installation will add
> application/x-basket-item MIME-type
> - "Basket Note Pads" is set as the default application to open
> application/x-basket-item
> - "Basket Note Pads" will know how to open application/x-basket-item
> files (when passed as an argument using KRunner for example)
> - "Basket Note Pads" will add/update metadata in Nepomuk when saving
> an item (currently, only Tags are added and updated)
>
> Now I am going to test it. Any suggestions, tips or tricks?
>
> One more thing: Now that I am going to use the existing ".basket" file
> resource instead of a new resource, what the "Type" should it be? Is
> pimo:Note appropriate? A new type should be proposed?
IMHO you should add pimo:Note as type and let the Strigi indexer index
the contents of the XML file. The latter will also add the type
nfo:FileDataObject. You can of course set additional stuff which strigi
cannot handle like the note title.
Cheers,
Sebastian
More information about the Nepomuk
mailing list