place-brainstorming: Difference between revisions

From Microformats Wiki
Jump to navigation Jump to search
No edit summary
(http://12abjdhoaz.blogspot.com/ has been moved, it is now a redirect to get-started)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<entry-title>hPlace</entry-title>
#redirect [[get-started]]
{{DraftSpecification}}
 
== Draft Specification 2012-03-30 ==
<div class="vcard">
; <span class="role">Editor</span>/<span class="role">Author</span>
: <span class="fn">[http://pt-pt.facebook.com/people/Fl%C3%A1vio-Oliveira/100001230242065 Flávio Oliveira]</span>
</div>
 
=== Copyright ===
Per the public domain release on [http://pt-pt.facebook.com/people/Fl%C3%A1vio-Oliveira/100001230242065 Flávio Oliveira], this specification is released into the public domain.
 
== Format ==
* hPlace ('''<code>hplace</code>'''). '''required'''.
** name ('''<code>place-name</code>'''). '''required'''.
** summary ('''<code>summary</code>'''). optional.
** coord ('''<code>summary</code>'''). '''required''', using '''[[geo]]'''.
** address ('''<code>address</code>'''). optional, using '''[[adr]]'''.
** type ('''<code>type</code>'''). optional, using '''[[rel-tag]]'''.
** photo ('''<code>photo</code>''').(permalink). optional.
** url ('''<code>url</code>''').(permalink). optional.
** events ('''<code>events</code>''').(permalink). optional, using '''[[hCalendar]]'''.
 
 
=== Example for a single palce ===
<pre>
<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>
</pre>
 
 
=== Field and Element Details ===
 
==== hPlace ====
* A place element is identified by the class name <code>hplace</code>.
* A place element should represent a geospatial place or area.
* A place element could have a multiple sub places using nested <code>hplace</code> elemens.
 
 
==== name ====
* A place name element is identified by the class name <code>name</code>.
* A place name element is required.
 
 
==== summary ====
* A place summary element is identified by the class name <code>summary</code>.
* A place summary is optional.
 
 
==== coord ====
* A place coord element is identified by the class name <code>coord</code> using '''[[geo]]'''.
* A place coord element is required.
 
 
==== address ====
* A place address element is identified by the class name <code>address</code> using '''[[adr]]'''.
* A place address element is optional.
 
 
==== type ====
* A place type element is identified by the class name <code>type</code>, using '''[[rel-tag]]'''.
* A place type element is optional.
 
 
==== photo ====
* A place photo element is identified by the class name <code>photo</code>.
* A place photo element is optional.
 
 
==== url ====
* A place url element is identified by the class name <code>url</code>.
* A place url element is optional.
 
 
==== events ====
* A place events element is identified by the class name <code>events</code>.
* A place events element is optional.

Latest revision as of 17:03, 14 March 2013

Redirect to: