I'd welcome a bit of advice relating to how to do blogrolls, archives,
category trees, feedlists etc in RDF/XML. I had a crack at it the
other day [1], the example I've pasted below. I'd made up some new
terms, but I got a comment from Rick Thomas suggesting using Atom as a
starting point for the vocabulary (i.e. an Atom/OWL kind of thing). I
reckon this makes a lot of sense, given that the immediate use cases
are in the same domain.

Anyhow, specific questions are whether app:collection might make a
good replacement for Directory below (are collections ordered?
nestable (by reference?)), whether there's anything suitable instead
of Resource (I keep coming back to rdf:Resource being the best
bet...), whether a non-RDF/XML syntax (with GRDDLability) might be a
better approach..?
Any suggestions appreciated.

Cheers,
Danny.

[1] http://dannyayers.com/archives/2006/02/10/feedlists-in-rdf/

<rdf:RDF
         xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#";
         xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#";
         xmlns:dc  = "http://purl.org/metadata/dublin_core#";
         xmlns:x="http://purl.org/stuff/ocs-ext/#";
         xmlns="http://purl.org/stuff/ocs-ext/#";
>
<Directory rdf:about="http://example.org/top";>
  <dc:title>Planet Ian</dc:title>
  <resources rdf:parseType="Collection">
    <Resource rdf:about="http://InternetAlchemy.org/index.rss";
              dc:title="Internet Alchemy"
              x:format="http://purl.org/stuff/ocs-ext/#rss10"; />
    <Resource rdf:about="http://silkworm.talis.com/blog/index.rdf";
              dc:title="Silkworm Blog"
              x:format="http://purl.org/stuff/ocs-ext/#rss10"; />
    <Directory rdf:about="http://example.org/sub1";>
      <dc:title>Same stuff again as subdir</dc:title>
      <resources rdf:parseType="Collection">
        <Resource rdf:about="http://InternetAlchemy.org/index.rss";
                  dc:title="Internet Alchemy"
                  x:format="http://purl.org/stuff/ocs-ext/#rss10"; />
        <Resource rdf:about="http://silkworm.talis.com/blog/index.rdf";
                  dc:title="Silkworm Blog"
                  x:format="http://purl.org/stuff/ocs-ext/#rss10"; />
      </resources>
    </Directory>
  </resources>
 </Directory>
</rdf:RDF>

--

http://dannyayers.com

Reply via email to