W3C home > Mailing lists > Public > public-lod@w3.org > December 2011

Re: RDFa in HTML5

From: Gregg Kellogg <gregg@kellogg-assoc.com>
Date: Sun, 25 Dec 2011 10:32:33 -0500
To: Jeremy Tarling <jeremy.tarling@bbc.co.uk>
CC: "public-lod@w3.org" <public-lod@w3.org>
Message-ID: <24AC0E4A-BEFF-449F-8987-ED7EFD863C0E@kellogg-assoc.com>

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

This archive was generated by hypermail 2.4.0 : Thursday, 24 March 2022 20:29:57 UTC