[openstreetmap-website] Added RDFa support for browse/node (#173)

Tom Morris notifications at github.com
Sat Dec 1 21:46:36 GMT 2012

RDFa allows HTML to contain rich semantics. The RDFa added here allows for RDFa-aware processors to extract the latitude and longitude of points.

The vocabulary used is the W3C's Basic Geo WGS84 vocabulary available at <http://www.w3.org/2003/01/geo/>. This vocabulary is in widespread use (for instance, on dbpedia.org, an RDF
version of Wikipedia).

RDFa works perfectly well with the existing geo microformat.

You can merge this Pull Request by running:

  git pull https://github.com/tommorris/openstreetmap-website master

Or you can view, comment on it, or merge it online at:


-- Commit Summary --

  * added RDFa to browse/node pages

-- File Changes --

M app/views/browse/_node_details.html.erb (4)
M app/views/layouts/site.html.erb (3)

-- Patch Links --


Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20121201/d1c4101e/attachment.html>

More information about the rails-dev mailing list