My favorites | Sign in
Project Logo
             
Search
for
Updated Feb 12, 2009 by mark.birbeck
Labels: Component-ArgotLocation
ArgotLocation  
An argot for location.

Introduction

There are are number of ways to add a location to an item, ranging from a simple string of text, through various parts of a postal address, through to a full longitude and latitude.

Details

Dublin Core location

The simplest way to express a location is with the Dublin Core coverage term.

Identifier: dc:coverage

Example:

<div typeof="argot:Job" xmlns:dc="http://purl.org/dc/terms/">
  ...
  <span>
    <span>Location:</div>
    <span><span property="dc:coverage">Manchester</span> + travel in UK</span>
  </span>
  ...
</div>

A useful source of values for dc:coverage is the Getty Thesaurus of Geographic Names.

Geo location

More precise locations can be expressed using the Basic Geo (WGS84 lat/long) Vocabulary from the W3C:

Longitude and Latitude

Identifier: geo:long

Identifier: geo:lat

Example:

<div typeof="argot:Job" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#">
  ...
  <span>
    <span>Location:</div>
    <span>
      <span property="geo:lat" content="53.5000"></span>
      <span property="geo:long" content="-2.2167"></span>
      Manchester + travel in UK
    </span>
  </span>
  ...
</div>

See Also

Hosted by Google Code