geo-cheatsheet: Difference between revisions

From Microformats Wiki
Jump to navigation Jump to search
m (key)
m (Reverted edits by VimonDarva (Talk) to last version by AndyMabbett)
(24 intermediate revisions by 7 users not shown)
Line 1: Line 1:
<h1>Geo cheatsheet</h1>
<h1>geo cheatsheet</h1>

[[geo]] properties and how to use them.

*class="'''[[geo]]'''" (1)
==Properties (Class Names)==
**class="latitude" (2)
**class="longitude" (2)

*'''[[geo]]''' {1}
:1 - '''Single occurrence required'''
:2 - single occurrence optional

*If latitude is present, so must be longitude, and vice versa.
*If the secondary values are omitted, the two values MUST be comma separated:<code><nowiki><span class=geo">37.386013,-122.082932</span></nowiki></code>
*The same number of decimal places SHOULD be used in each value.

==Related pages==
==Related pages==

Latest revision as of 21:50, 20 December 2008

geo cheatsheet

geo properties and how to use them.

Properties (Class Names)

  • geo {1}
    • latitude?
    • longitude?


Based on Perl's standard quantifiers:

bold {1} MUST be present exactly once
italic* OPTIONAL, and MAY occur more than once
+ MUST be present, and MAY occur more than once
? OPTIONAL, but MUST NOT occur more than once
[square brackets] list of common values
(parentheses) data format
# comment
! awaiting documentation


  • The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119.
  • Coordinates MUST use the datum of WGS84.
  • If latitude is present, so MUST be longitude, and vice versa.
  • Coordinates MAY be combined a single <abbr> element; then the latitude and longitude MUST be separated by a semicolon in the title attribute and latitude MUST be first:
<abbr class="geo" title="37.386013;-122.082932">home</abbr>

Related pages