place-brainstorming: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 1: | Line 1: | ||
<entry-title> | <entry-title>hPlace</entry-title> | ||
{{DraftSpecification}} | {{DraftSpecification}} | ||
Revision as of 20:26, 30 March 2012
<entry-title>hPlace</entry-title> This document represents a draft microformat specification. Although drafts are somewhat mature in the development process, the stability of this document cannot be guaranteed, and implementers should be prepared to keep abreast of future developments and changes. Watch this wiki page, or follow discussions on the #microformats IRC channel to stay up-to-date.
Draft Specification 2012-03-30
- Editor/Author
- Flávio Oliveira
Copyright
Per the public domain release on Flávio Oliveira, this specification is released into the public domain.
Format
- hplace (
hplace
). required.
Example for a single palce
<div class="hplace"> <div class="name">Castle of Mourão</div> <div class="summary">Here goes the place / monument description</div> <div class="coord geo"> GPS:<span class="latitude">38.384917</span>, <span class="longitude"> -7.345863</span></div> </div>
Field and Element Details
hplace
- A place element is identified by the class name
hplace
. - A place element should represent a geospatial place or area.
- A place element could have a multiple sub places using nested
hplace
elemens.
name
- A place name element is identified by the class name
name
. - A place name element is required.
summary
- A place summary element is identified by the class name
summary
. - A place summary is optional.
coord
- A place coord element is identified by the class name
coord
using geo. - A place coord element is required.
address
- A place address element is identified by the class name
address
using adr. - A place address element is optional.
type
- A place type element is identified by the class name
type
, using rel-tag. - A place type element is optional.
photo
- A place photo element is identified by the class name
photo
. - A place photo element is optional.
url
- A place url element is identified by the class name
url
. - A place url element is optional.
events
- A place events element is identified by the class name
events
. - A place events element is optional.