21 Jun 2003 Jimbob   » (Journeyer)

Welp, I've been suckered into rewriting the XML IRC network list to use (gasp) RDF. My current plan is to have a parser that will parse something like this:

<rdf:RDF (xmlns garbage)>
    <rdf:Description about="irc://GIMPNet/">
             irc:width="77" irc:height="57 />
        <dc:Description rdf:parseType="Literal">
            <p>A paragraph.</p>
            <p>Another paragraph</p>
<!-- servers go here --> </rdf:Description> </rdf:RDF>
What's the major advantages to ditching what I've got for RDF? First and foremost, RDF is already a standard. The "irc:<blah>" stuff is a custom namespace, yes, but custom namespaces are accounted for in the standard, and a real RDF parser would take them into account (even if the values are unread). Also, if I'm already using an RDF parser, it shouldn't be that difficult to handle things like FOAF & vCard, which would both be undeniably cool features (trade address-book cards in your IRC client? groovy!). Finally, RDF's use of URIs means that I can easily handle conversion between <irc://irc.gnome.org/> and <irc://GIMPNet/>, as mandated by the Mozilla IRC URIs spec. Of course, all this is dependent on the assumption that I have any clue about RDF... :-)

Latest blog entries     Older blog entries

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!