W3C home > Mailing lists > Public > public-rdf-in-xhtml-tf@w3.org > October 2009

Re: [foaf-dev] RDF support for anonymous users in Drupal

From: Toby Inkster <tai@g5n.co.uk>
Date: Fri, 23 Oct 2009 17:35:51 +0100
To: Stephane Corlosquet <scorlosquet@gmail.com>
Cc: sioc-dev@googlegroups.com, foaf-dev@lists.foaf-project.org, RDFa mailing list <public-rdf-in-xhtml-tf@w3.org>
Message-Id: <1256315751.7123.315.camel@ophelia2.g5n.co.uk>
On Fri, 2009-10-23 at 11:48 -0400, Stephane Corlosquet wrote:
> To keep things simple, I'm very tempted to reuse the sioc:User mapping
> we already have for the regular registered user. Is it ok not to use a
> foaf:Agent or foaf:Person in this case, and link a sioc:User to a
> homepage with foaf:page?

sioc:has_creator links to a sioc:User by definition, not to a foaf:Agent
or foaf:Person.

By the way, on http://drupalrdf.openspring.net/node/3 the sioc:reply_of
links aren't getting picked up. They're "masked" by the
property="content:encoded" of the parent <div> element. A slightly
annoying feature of RDFa is that any property which results in an
rdf:XMLLiteral causes any RDF on descendant elements to be ignored.

Possible solution...

Drop this:

	<span rel="sioc:reply_of" resource="/node/3" />

Change this (lines wrapped for readability):

	<h3 property="dc:title" datatype="">
	  <a href="/comment/1#comment-1">a first comment to the blog post</a>

To this:

	<h3 property="dc:title" datatype="">
	  <a about="/node/3" ´╗┐rel="sioc:has_reply" rev="sioc:reply_of" href="/comment/1#comment-1">
	    a first comment to the blog post

Toby A Inkster
Received on Friday, 23 October 2009 16:36:32 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:50:33 UTC