Le Wed, 18 Aug 2010 18:36:40 +0200,
"Mildred Ki'Lya" <[email protected]> a écrit :

> On 2010-08-18 18:16, Mildred Ki'Lya wrote:
> > So, if I understood everything well, I should have something like:
> > 
> > 
> > nmo:Mailbox -> nie:hasPart -> nmo:MailboxDataObject ->
> > nie:interpretedAs -> nmo:Email
> > 
> > and of course
> > 
> > nmo:Email -> nie:isStoredAs -> nmo:MailboxDataObject ->
> > nie:isPartOf -> nmo:Mailbox
> 
> Additionally, how do I generate the URI for the different objects?
You can use update_blank with an anonymous node, Tracker will generate
a urn for you.

Cheers

Adrien

> 
> For nmo:Mailbox, this is just the filename (uri provided by Tracker).
> 
> But for nmo:MailboxDataObject and nmo:Email, what are the most
> appropriate URI? I thought of using "<file-uri>#<n>" for
> MailboxDataObject and "urn:email:<message-id>" for Email. Do you think
> it is appropriate?
> 
> Mildred
> 
> PS: I'm writing the plugin using Vala, I prefer to plain C :)
> 

_______________________________________________
tracker-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/tracker-list

Reply via email to