Re: RDFa in HTML5


On Wed, Nov 30, 2011 at 1:15 AM, Jeremy Tarling <jeremy.tarling@bbc.co.uk<mailto: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/">
could be added to 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?


@rev has not been deprecated, it's just not in the RDFa Lite profile. All conforming RDFa parsers will understand @rev and your example is just fine.

Alternatively, you could reverse and use@about and duplicate the web page address in @href ursine either @property or @ref instead of @rev, but this is the case that @rev was created to address.

Gregg

Received on Sunday, 25 December 2011 15:33:30 UTC