Re: RDFa in HTML5

On Wed, Nov 30, 2011 at 1:15 AM, Jeremy Tarling <jeremy.tarling@bbc.co.uk>wrote:

> hi, I'm working with the BBC weather web team and we'd like to add some
> minimal RDFa to link forecast pages with their associated GeoID
>
> back in August Keith Alexander on this list suggested something like:
>
> <link rev="meteo:forecastPage" href="http://sws.geonames.org/**2637142/<http://sws.geonames.org/2637142/>
> ">
> could be added to http://www.bbc.co.uk/weather/**2637142<http://www.bbc.co.uk/weather/2637142>
>
> we were about to implement this but have hit a snag, we're using HTML5 and
> I understand rev has been deprecated.
>
> has anyone come across a similar problem, or have a suggestion for an
> alternative way of making this association?
>
>
The triple you are trying to render is
http://sws.geonames.org/**2637142/ <http://sws.geonames.org/2637142/>
 meteo:forecastPage
http://www.bbc.co.uk/weather/**2637142<http://www.bbc.co.uk/weather/2637142>
 right?

Doesn't the @about attribute cover this?


http://www.w3.org/TR/xhtml-rdfa-primer/
"RDFa provides @about, an attribute for specifying the exact URL to which
the contained RDFa markup applies:"

   <div about="/alice/posts/trouble_with_bob">
      <h2 property="dc:title">The trouble with Bob</h2>
      <h3 property="dc:creator">Alice</h3>
      ...
   </div>

Received on Tuesday, 29 November 2011 22:07:30 UTC