wiki:Development/URISchema

Version 7 (modified by anonymous, 16 years ago) (diff)

--

This section describes the URI schema used for the logged RDF data. Every instance is prefixed with ${instanceprefix}, making the URIs unique. The instance prefix must be set in the Nabu Configuration.

URI Schema

Time Stamps

Time stamps are YYYYMMDD-hhmmss.fff (f for milliseconds)

Example: 20050416-221603.042 = 04/16/2005, 22:16:03.042

Account

Schema:

Accounts/server/user

Example: frank79@… ==> Accounts/jabber.fsinf.de/frank79

Room

P2PRoom

Schema:

${instanceprefix}/P2PRooms/$ACCOUNT1/$ACCOUNT2

Accounts are ordered alphabetically (ascending):

P2PRooms/jabber.fsinf.de/frank79/serv-3100.dfki.de/schwarz

is the P2P room of frank79@… and schwarz@…. frank79@… is listed first, as jabber.fsinf.de < serv-3100.dfki.de

P2PRooms/jabber.fsinf.de/admin/jabber.fsinf.de/frank79

is the room of frank79@… and admin@…. admin@… is listed first, as the domain is equal and admin < frank79.

MUCRoom

Message

Schema: ${instanceprefix}/Messages/$ROOM/$TIMESTAMP

Example: Messages/jabber.fsinf.de/frank79/serv-3100.dfki.de/schwarz/20050416-221603.042

PresenceChange

Schema:

${instanceprefix}/PresenceChanges/$ACCOUNT/$TIMESTAMP

Example: PresenceChanges/jabber.fsinf.de/frank79/20050416-221603.042