W3C home > Mailing lists > Public > public-rdfa@w3.org > October 2008

Re: RDFa in Drupal core

From: Damian Steer <pldms@mac.com>
Date: Thu, 02 Oct 2008 22:35:21 +0100
Cc: RDFa <public-rdf-in-xhtml-tf@w3.org>, public-rdfa@w3.org
Message-id: <53A12AB0-AFF1-4349-B4B5-97B4D62C7099@mac.com>
To: Toby A Inkster <tai@g5n.co.uk>


On 2 Oct 2008, at 21:43, Toby A Inkster wrote:

> Which could be used a bit like this using RDFa:
>
> 	<p about="#someResource">
> 	    This resource is tagged with:
> 	    <a href="http://mysite.example.com/tag/this"
> 	    rel="tags:taggedWitgTag">

I think you had a typo in the original here? You had  
rel="tags:taggedWitgTag tag".

> 	        <span property="tags:tagName">this</span>
> 	    </a>
> 	    and
> 	    <a href="http://mysite.example.com/tag/that"
> 	    rel="tags:taggedWitgTag">
> 	        <span property="tags:tagName">that</span>
> 	    </a>
> 	</p>

You can drop almost all of the typeof attributes in these examples,  
which tidies things up nicely. The types are implied by the properties.

> 	        <span rel="tags:taggedBy">
> 	            <span typeof="foaf:Person" property="foaf:name"
> 	            >Toby Inkster</span>
> 	        </span>

Another typo. You had typeof="foaf:name".

Damian
Received on Thursday, 2 October 2008 21:36:05 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 2 October 2008 21:36:05 GMT