Re: [Tracker] Indexing mbox files



Le Wed, 18 Aug 2010 18:36:40 +0200,
"Mildred Ki'Lya" <mildred593 gmail com> 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 :)





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]