wiki:docRdf0.0.5

Version 2 (modified by rene, 11 years ago) (diff)

--

Storage RDF reference

storage RDF schema 0.0.5

The file is stored in your profiles directory with the name virtualIdentity.rdf

This is a more advanced schema of the RDF, items are grouped into containers and even some account-information is stored to enable later import into some other installations. The overall namespace is http://virtual-id.absorb.it/.

<?xml version="1.0"?>
<RDF:RDF xmlns:NS1="http://virtual-id.absorb.it/rdf#"
        xmlns:NC="http://home.netscape.com/NC-rdf#"
        xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#">

There is one element http://virtual-id.absorb.it/virtualIdentity which contains information about the current rdf and extension version. This is generated after every restart or upgrade.

    <RDF:Description RDF:about="http://virtual-id.absorb.it/virtualIdentity"
                    NS1:version="0.6.9"
                    NS1:rdfVersion="0.0.5" />

There is a bag http://virtual-id.absorb.it/virtualIdentity/vIAccounts containing two bags for Identities and SMTP-servers. These area contains some information about the currently configured identities and SMTP-servers on your system. This is required to detect changes in your Account-Settings or to import alien configuration-Files and remap the base-identities and the SMTP-Servers. This section is generated automatically.

    <RDF:Bag RDF:about="http://virtual-id.absorb.it/vIAccounts">
        <RDF:li RDF:resource="http://virtual-id.absorb.it/vIAccounts/id"/>
        <RDF:li RDF:resource="http://virtual-id.absorb.it/vIAccounts/smtp"/>
    </RDF:Bag>
    <RDF:Description RDF:about="http://virtual-id.absorb.it/vIAccounts"
                    NS1:name="Accounts" />
    <RDF:Description RDF:about="http://virtual-id.absorb.it/vIAccounts/id"
                    NS1:name="Identities" />
    <RDF:Description RDF:about="http://virtual-id.absorb.it/vIAccounts/smtp"
                    NS1:name="SMTP-Server" />
    
    <RDF:Bag RDF:about="http://virtual-id.absorb.it/vIAccounts/id">
        <RDF:li RDF:resource="http://virtual-id.absorb.it/vIAccounts/id/id1"/>
    </RDF:Bag>
    <RDF:Description RDF:about="http://virtual-id.absorb.it/vIAccounts/id/id1"
                    NS1:identityName="bob &lt;bob@example.org&gt;"
                    NS1:fullName="bob"
                    NS1:email="bob@example.org" />

    <RDF:Bag RDF:about="http://virtual-id.absorb.it/vIAccounts/smtp">
        <RDF:li RDF:resource="http://virtual-id.absorb.it/vIAccounts/smtp/smtp1"/>
    </RDF:Bag>
    <RDF:Description RDF:about="http://virtual-id.absorb.it/vIAccounts/smtp/smtp1"
                    NS1:label="my experimental server"
                    NS1:hostname="mail.example.org"
                    NS1:username="bob@example.org" />

And finally there is a bag http://virtual-id.absorb.it/virtualIdentity/vIStorage containing three bags (for emails, mailing-lists and newsgrous) and one sequence (for filters). This is the place where your virtual Identities are stored and which is editable via the Storage-Data-Editor.

    <RDF:Bag RDF:about="http://virtual-id.absorb.it/vIStorage">
        <RDF:li RDF:resource="http://virtual-id.absorb.it/vIStorage/email"/>
        <RDF:li RDF:resource="http://virtual-id.absorb.it/vIStorage/maillist"/>
        <RDF:li RDF:resource="http://virtual-id.absorb.it/vIStorage/newsgroup"/>
        <RDF:li RDF:resource="http://virtual-id.absorb.it/vIStorage/filter"/>
    </RDF:Bag>
    <RDF:Description RDF:about="http://virtual-id.absorb.it/vIStorage/email"
                    NS1:name="E-Mail" />
    <RDF:Description RDF:about="http://virtual-id.absorb.it/vIStorage/maillist"
                    NS1:name="Mailing-List" />
    <RDF:Description RDF:about="http://virtual-id.absorb.it/vIStorage/newsgroup"
                    NS1:name="Newsgroup" />
    <RDF:Description RDF:about="http://virtual-id.absorb.it/vIStorage/filter"
                    NS1:name="Filter" />
  
    <RDF:Bag RDF:about="http://virtual-id.absorb.it/vIStorage/email">
        <RDF:li RDF:resource="http://virtual-id.absorb.it/vIStorage/email/alice@example.org"/>
    </RDF:Bag>
    <RDF:Description RDF:about="http://virtual-id.absorb.it/vIStorage/email/alice@example.org"
                    NS1:email="bob@example.org"
                    NS1:id="id1"
                    NS1:smtp="vI_useDefaultSMTP"
                    NS1:name="alice@example.org" />

    <RDF:Bag RDF:about="http://virtual-id.absorb.it/vIStorage/maillist">
        <RDF:li RDF:resource="http://virtual-id.absorb.it/vIStorage/maillist/alice_list@example.org"/>
    </RDF:Bag>
    <RDF:Description RDF:about="http://virtual-id.absorb.it/vIStorage/maillist/alice_list@example.org"
                    NS1:email="bob_for_list@example.org"
                    NS1:name="alice_list@example.org" />

    <RDF:Bag RDF:about="http://virtual-id.absorb.it/vIStorage/newsgroup">
        <RDF:li RDF:resource="http://virtual-id.absorb.it/vIStorage/newsgroup/alice_news@example.org"/>
    </RDF:Bag>
    <RDF:Description RDF:about="http://virtual-id.absorb.it/vIStorage/newsgroup/alice_news@example.org"
                    NS1:email="bob-for-news@example.org"
                    NS1:name="alice_news@example.org" />                 
                    
    <RDF:Seq RDF:about="http://virtual-id.absorb.it/vIStorage/filter">
        <RDF:li RDF:resource="http://virtual-id.absorb.it/vIStorage/filter/alice"/>
    </RDF:Seq>
    <RDF:Description RDF:about="http://virtual-id.absorb.it/vIStorage/filter/alice"
                    NS1:email="bob@example.org"
                    NS1:fullName="bobby"
                    NS1:name="alice" />
</RDF:RDF>