RDFWeb and RSS 1.0
Dan Brickley
daniel.brickley at b...
Mon Jan 8 23:47:42 UTC 2001
The Perl RDFWeb demo at http://rdfweb.org/ now understands a little
about RSS 1.0. It also makes over-enthusiastic use of HTML tables for
layout; not sure about that. But anyway, the default page for each
person now lists any RSS channels that they own (ie. foaf:made).
Glitches: I don't believe the RDF parser (w3c perllib) is handling
rdf:Seq yet, so ordering of items may get screwed up (or the database
might by luck be preserving document/assertion order, not sure).
How it works:
Rather than overload dc:creator, I'm using a new property from the
mostly undocumented FOAF namespace, ie. FOAF:made. foaf:made connects an
agent (person, organisation, machine) to something he/she/it
made. In this case something of rdf:type rss1:channel.
How to add your channel:
the robot follows rdfs:seeAlso pointers rather indescriminately. So add
an assertion to effect that you (or whoever, see my example file
http://rdfweb.org/~pldab/rdfweb/webwho.xrdf for egs) foaf:made some
channel, and make an rdfs:seeAlso relation from that channel URI to
itself. That'll ensure the next robot traversal picks it up.
Currently there are a couple of channels linked; Aaron's RSS News and
MartinP's Channel of Filth, which (perhaps thankfully) fails to render
for some parser-related reason. If you're currently in the RDFWeb demo
and have an RSS channel or two, please add them so we can get a little
more data to play with.
that's all. to take a look see how it works c/o
http://rdfweb.org/rweb/who?mbox=mailto:daniel.brickley@b...
or nearby.
cheers,
Dan
ps. helped tidy up some of the examples on libby's rdf query demo page
yesteraday, see http://swordfish.rdfweb.org/rdfquery/
-> http://swordfish.rdfweb.org:8085/rdfquery/ for some RDFWeb-related
test queries.
More information about the foaf-dev
mailing list