Re: [Tracker] Indexing mbox files



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?

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 :)

-- 
Mildred Ki'Lya
ââââââââââ ïïïïïïïïïïïïïïïïïïïï ââââââââââ
â Jabber, GoogleTalk: <mildred jabber fr>
â Website: <http://ki.lya.online.fr>           GPG ID: 9A7D 2E2B
â Fingerprint: 197C A7E6 645B 4299 6D37 684B 6F9D A8D6 9A7D 2E2B

Attachment: 0x9A7D2E2B.asc
Description: application/pgp-keys

Attachment: signature.asc
Description: OpenPGP digital signature



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