hcard-cheatsheet

(Difference between revisions)

Jump to: navigation, search
(Notes: Sources for coordinates)
Line 76: Line 76:
====Geo====
====Geo====
* If latitude is present, so MUST be longitude, and vice versa.
* 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:
+
* Coordinates MAY be combined a single
-
:<code><nowiki><abbr class="geo" title="37.386013;-122.082932">home</abbr></nowiki></code>
+
-
* The same number of decimal places SHOULD be used in each value.
+
-
* Coordinates use the datum of [http://en.wikipedia.org/wiki/World_Geodetic_System WGS84].
+
-
* [http://wikitravel.org/en/Wikitravel:Geocoding#Sources_for_lat.2Flongs Sources for latitude/ longitude coordinates]
+
-
 
+
-
==Related pages==
+
-
{{hcard-related-pages}}
+
-
*{{cheatsheets}}
+

Revision as of 11:31, 28 May 2007

Contents

hCard cheetsheet

Profile

<head profile="http://www.w3.org/2006/03/hcard">

Properties (Class Names)

Key

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
pref preferred
dom domestic
intl international
cell mobile

Notes

Geo

hcard-cheatsheet was last modified: Wednesday, December 31st, 1969

Views