Re: RDFa in Drupal core

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:12 UTC