Skip to content

Commit

Permalink
v1.2.0
Browse files Browse the repository at this point in the history
* added support for properties
* removed external dependencies (stylesheets and javascript)
  • Loading branch information
pfefferle committed Jun 23, 2015
1 parent a923550 commit 1ba3180
Show file tree
Hide file tree
Showing 27 changed files with 912 additions and 1,884 deletions.
Original file line number Diff line number Diff line change
@@ -1,97 +1,25 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><!-- Mirrored from microformats.org/wiki/h-adr by HTTrack Website Copier/3.x [XR&CO'2014], Sun, 22 Mar 2015 19:17:09 GMT --><!-- Added by HTTrack --><head><meta content="text/html;charset=utf-8" http-equiv="content-type"/><!-- /Added by HTTrack -->
<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><!-- Mirrored from microformats.org/wiki/h-adr by HTTrack Website Copier/3.x [XR&CO'2014], Tue, 23 Jun 2015 11:00:04 GMT --><!-- Added by HTTrack --><head><meta content="text/html;charset=utf-8" http-equiv="content-type"/><!-- /Added by HTTrack -->

<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>

<meta content="MediaWiki 1.13.2" name="generator"/>
<meta content="h-adr,adr,h-card,h-event,h-geo,hCard,irc,microformats,microformats-2,microformats-2-parsing,microformats2" name="keywords"/>
<link href="http://microformats.org/favicon.ico" rel="shortcut icon"/>
<link href="http://microformats.org/wiki/opensearch_desc.php" rel="search" title="Microformats Wiki (en)" type="application/opensearchdescription+xml"/>
<link href="http://microformats.org/wiki/index.php?title=Special:RecentChanges&amp;feed=rss" rel="alternate" title="Microformats Wiki RSS Feed" type="application/rss+xml"/>
<link href="http://microformats.org/wiki/index.php?title=Special:RecentChanges&amp;feed=atom" rel="alternate" title="Microformats Wiki Atom Feed" type="application/atom+xml"/>




<link href="skins/common/shared.css" rel="stylesheet" type="text/css"/>
<link href="skins/Microformats/microformats.css" rel="stylesheet" type="text/css"/>

<style type="text/css">/*<![CDATA[*/
@import "http://microformats.org/wiki/index.php?title=MediaWiki:Common.css&amp;usemsgcache=yes&amp;action=raw&amp;ctype=text/css&amp;smaxage=18000";
@import "http://microformats.org/wiki/index.php?title=MediaWiki:Microformats_Wiki.css&amp;usemsgcache=yes&amp;action=raw&amp;ctype=text/css&amp;smaxage=18000";
@import "http://microformats.org/wiki/index.php?title=-&amp;action=raw&amp;gen=css&amp;maxage=18000&amp;useskin=Microformats+Wiki";
/*]]>*/</style>





<style type="text/css">/*<![CDATA[*/
.source-html4strict {line-height: normal;}
.source-html4strict li {line-height: normal;}
/**
* GeSHi Dynamically Generated Stylesheet
* --------------------------------------
* Dynamically generated stylesheet for html4strict
* CSS class: source-html4strict, CSS id:
* GeSHi (C) 2004 - 2007 Nigel McNie, 2007 - 2008 Benny Baumann
* (http://qbnz.com/highlighter/ and http://geshi.org/)
* --------------------------------------
*/
.source-html4strict .de1, .source-html4strict .de2 {font-family: monospace; font-weight: normal; font-style: normal;}
.source-html4strict .imp {font-weight: bold; color: red;}
.source-html4strict li, .source-html4strict li.li1 {font-weight: normal;}
.source-html4strict li.li2 {font-weight: bold;}
.source-html4strict .kw1 {color: #b1b100;}
.source-html4strict .kw2 {color: #000000; font-weight: bold;}
.source-html4strict .kw3 {color: #000066;}
.source-html4strict .coMULTI {color: #808080; font-style: italic;}
.source-html4strict .es0 {color: #000099; font-weight: bold;}
.source-html4strict .br0 {color: #66cc66;}
.source-html4strict .sy0 {color: #66cc66;}
.source-html4strict .st0 {color: #ff0000;}
.source-html4strict .nu0 {color: #cc66cc;}
.source-html4strict .sc0 {color: #00bbdd;}
.source-html4strict .sc1 {color: #ddbb00;}
.source-html4strict .sc2 {color: #009900;}
.source-html4strict .ln-xtra, .source-html4strict li.ln-xtra, .source-html4strict div.ln-xtra {color: #cc0; background-color: #ffc;}

/*]]>*/
</style>
<style type="text/css">/*<![CDATA[*/
@import "http://microformats.org/wiki/index.php?title=MediaWiki:Geshi.css&amp;usemsgcache=yes&amp;action=raw&amp;ctype=text/css&amp;smaxage=18000";
/*]]>*/
</style><style type="text/css">/*<![CDATA[*/
.source-javascript {line-height: normal;}
.source-javascript li {line-height: normal;}
/**
* GeSHi Dynamically Generated Stylesheet
* --------------------------------------
* Dynamically generated stylesheet for javascript
* CSS class: source-javascript, CSS id:
* GeSHi (C) 2004 - 2007 Nigel McNie, 2007 - 2008 Benny Baumann
* (http://qbnz.com/highlighter/ and http://geshi.org/)
* --------------------------------------
*/
.source-javascript .de1, .source-javascript .de2 {font-family: monospace; font-weight: normal; font-style: normal;}
.source-javascript .imp {font-weight: bold; color: red;}
.source-javascript li, .source-javascript li.li1 {font-weight: normal;}
.source-javascript li.li2 {font-weight: bold;}
.source-javascript .kw1 {color: #000066; font-weight: bold;}
.source-javascript .kw2 {color: #003366; font-weight: bold;}
.source-javascript .kw3 {color: #000066;}
.source-javascript .co1 {color: #006600; font-style: italic;}
.source-javascript .co2 {color: #009966; font-style: italic;}
.source-javascript .coMULTI {color: #006600; font-style: italic;}
.source-javascript .es0 {color: #000099; font-weight: bold;}
.source-javascript .br0 {color: #009900;}
.source-javascript .sy0 {color: #339933;}
.source-javascript .st0 {color: #3366CC;}
.source-javascript .nu0 {color: #CC0000;}
.source-javascript .me1 {color: #006600;}
.source-javascript .ln-xtra, .source-javascript li.ln-xtra, .source-javascript div.ln-xtra {color: #cc0; background-color: #ffc;}

/*]]>*/
</style>
<style type="text/css">/*<![CDATA[*/
@import "http://microformats.org/wiki/index.php?title=MediaWiki:Geshi.css&amp;usemsgcache=yes&amp;action=raw&amp;ctype=text/css&amp;smaxage=18000";
/*]]>*/
</style>


<title>h-adr · Microformats Wiki</title>

Expand Down Expand Up @@ -120,10 +48,11 @@ <h1 class="entry-title">h-adr</h1>
<hr/>
<p><dfn style="font-style:normal;font-weight:bold">h-adr</dfn> is a simple, open format for publishing structured locations such as addresses, physical and/or postal. h-adr is one of several open <a href="http://microformats.org/wiki/microformats" title="microformats">microformat</a> draft standards suitable for embedding data in HTML/HTML5 on the web.
</p><p>h-adr is the <a class="mw-redirect" href="http://microformats.org/wiki/microformats-2" title="microformats-2">microformats-2</a> update to <a href="http://microformats.org/wiki/adr" title="adr">adr</a>. It is most commonly used as part of an <a href="h-card.html" title="h-card">h-card</a> or <a href="h-event.html" title="h-event">h-event</a>.
</p><p>For named addresses, e.g. people or venues, use <a href="h-card.html" title="h-card">h-card</a>.
</p><p><small>Per <a class="external text" href="http://creativecommons.org/publicdomain/zero/1.0/" rel="nofollow" title="http://creativecommons.org/publicdomain/zero/1.0/">CC0</a>,
to the extent possible under law, the editors have waived
all copyright and related or neighboring rights to this work.
In addition, as of 2015-03-22,
In addition, as of 2015-06-23,
the editors have made this specification available under the
<a class="external text" href="http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0" rel="nofollow" title="http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0">Open Web Foundation Agreement Version 1.0</a>.</small>
</p>
Expand Down Expand Up @@ -165,31 +94,36 @@ <h1 class="entry-title">h-adr</h1>
<span class="br0">}</span>
<span class="br0">]</span>
<span class="br0">}</span></pre></div>
<p>The implicit "name" property that is generated from parsing an h-adr is there for consuming applications to have a simple flattened string representation of an h-adr.
</p><p>For an explicitly named address (such as a mailing address to a specific person), use <a href="h-card.html" title="h-card">h-card</a>.
</p>
<a name="Get_started"></a><h3> <span class="mw-headline"><a class="dashAnchor" name="//apple_ref/cpp/Section/Get%20started"></a> Get started </span></h3>
<p>The class <b><code>h-adr</code></b> is a <i>root class name</i> that indicates the presence of an h-adr.
<p>The class <b><code><a class="dashAnchor" name="//apple_ref/cpp/Object/h-adr"></a>h-adr</code></b> is a <i>root class name</i> that indicates the presence of an h-adr.
</p><p><b>p-street-address</b>, <b>p-locality</b>, <b>p-country-name</b>, <b>p-postal-code</b> and all the other h-adr property class names listed below define properties of the h-adr.
</p><p>See <a class="mw-redirect" href="http://microformats.org/wiki/microformats-2-parsing" title="microformats-2-parsing">microformats-2-parsing</a> to learn more about property class names.
</p>
<a name="Properties"></a><h2> <span class="mw-headline"><a class="dashAnchor" name="//apple_ref/cpp/Section/Properties"></a> Properties </span></h2>
<p>h-adr properties, inside an element with class <b>h-adr</b>:
</p>
<ul><li> <b><code>p-street-address</code></b> - house/apartment number, floor, street name
</li><li> <b><code>p-extended-address</code></b> - additional street details
</li><li> <b><code>p-post-office-box</code></b> - post office mailbox
</li><li> <b><code>p-locality</code></b> - city/town/village
</li><li> <b><code>p-region</code></b> - state/county/province
</li><li> <b><code>p-postal-code</code></b> - postal code, e.g. ZIP in the US
</li><li> <b><code>p-country-name</code></b> - should be full name of country, country code ok
</li><li> <b><code>p-label</code></b> - a mailing label, plain text, perhaps with preformatting
</li><li> <b><code>p-geo</code></b> (or u-geo with a <a class="external" href="http://tools.ietf.org/html/rfc5870" title="http://tools.ietf.org/html/rfc5870">RFC 5870</a> geo: URL), optionally embedded <a href="h-geo.html" title="h-geo">h-geo</a>
</li><li> <b><code>p-latitude</code></b> - decimal latitude
</li><li> <b><code>p-longitude</code></b> - decimal longitude
</li><li> <b><code>p-altitude</code></b> - decimal altitude - new in vCard4 (RFC6350)
<ul><li> <b><code><a class="dashAnchor" name="//apple_ref/cpp/Property/p-street-address"></a>p-street-address</code></b> - house/apartment number, floor, street name
</li><li> <b><code><a class="dashAnchor" name="//apple_ref/cpp/Property/p-extended-address"></a>p-extended-address</code></b> - additional street details
</li><li> <b><code><a class="dashAnchor" name="//apple_ref/cpp/Property/p-post-office-box"></a>p-post-office-box</code></b> - post office mailbox
</li><li> <b><code><a class="dashAnchor" name="//apple_ref/cpp/Property/p-locality"></a>p-locality</code></b> - city/town/village
</li><li> <b><code><a class="dashAnchor" name="//apple_ref/cpp/Property/p-region"></a>p-region</code></b> - state/county/province
</li><li> <b><code><a class="dashAnchor" name="//apple_ref/cpp/Property/p-postal-code"></a>p-postal-code</code></b> - postal code, e.g. ZIP in the US
</li><li> <b><code><a class="dashAnchor" name="//apple_ref/cpp/Property/p-country-name"></a>p-country-name</code></b> - should be full name of country, country code ok
</li><li> <b><code><a class="dashAnchor" name="//apple_ref/cpp/Property/p-label"></a>p-label</code></b> - a mailing label, plain text, perhaps with preformatting
</li><li> <b><code><a class="dashAnchor" name="//apple_ref/cpp/Property/p-geo"></a>p-geo</code></b> (or u-geo with a <a class="external" href="http://tools.ietf.org/html/rfc5870" title="http://tools.ietf.org/html/rfc5870">RFC 5870</a> geo: URL), optionally embedded <a href="h-geo.html" title="h-geo">h-geo</a>
</li><li> <b><code><a class="dashAnchor" name="//apple_ref/cpp/Property/p-latitude"></a>p-latitude</code></b> - decimal latitude
</li><li> <b><code><a class="dashAnchor" name="//apple_ref/cpp/Property/p-longitude"></a>p-longitude</code></b> - decimal longitude
</li><li> <b><code><a class="dashAnchor" name="//apple_ref/cpp/Property/p-altitude"></a>p-altitude</code></b> - decimal altitude - new in vCard4 (RFC6350)
</li></ul>
<p>All properties are optional.
</p>
<ul><li> <b><code><a class="dashAnchor" name="//apple_ref/cpp/Property/p-name"></a>p-name</code></b> - there is no "p-name" property in h-adr. If your address has an explicit name, it's likely a venue, and you should use <a href="h-card.html" title="h-card">h-card</a> instead.
</li></ul>
<a name="Status"></a><h2> <span class="mw-headline"><a class="dashAnchor" name="//apple_ref/cpp/Section/Status"></a> Status </span></h2>
<p><b>h-adr</b> is a microformats.org draft specification. Public discussion on h-adr takes place on <a class="new" href="http://microformats.org/wiki/index.php?title=h-adr-feedback&amp;action=edit&amp;redlink=1" title="h-adr-feedback (not yet written)">h-adr-feedback</a>, the #microformats <a href="http://microformats.org/wiki/irc" title="irc">irc</a> channel on irc.freenode.net, and <a class="external text" href="http://microformats.org/discuss/mail/microformats-new/" rel="nofollow" title="http://microformats.org/discuss/mail/microformats-new/">microformats-new mailing list</a>.
<p><b>h-adr</b> is a microformats.org draft specification. Public discussion on h-adr takes place on <a class="new" href="http://microformats.org/wiki/index.php?title=h-adr-feedback&amp;action=edit&amp;redlink=1" title="h-adr-feedback (not yet written)">h-adr-feedback</a> and the #microformats <a href="http://microformats.org/wiki/irc" title="irc">irc</a> channel on irc.freenode.net.
</p><p>h-adr is ready to use and implemented in the wild, but for backwards compatibility you should also mark h-adrs up with classic <a href="http://microformats.org/wiki/adr" title="adr">adr</a> classnames.
</p>
<a name="Property_Details"></a><h2> <span class="mw-headline"><a class="dashAnchor" name="//apple_ref/cpp/Section/Property%20Details"></a> Property Details </span></h2>
Expand Down Expand Up @@ -249,11 +183,12 @@ <h1 class="entry-title">h-adr</h1>
<ul><li> <a href="microformats2.html" title="microformats2">microformats2</a>
</li><li> <a href="h-geo.html" title="h-geo">h-geo</a> can be embedded in h-adr
</li><li> <a href="h-card.html" title="h-card">h-card</a> and <a href="h-event.html" title="h-event">h-event</a> often contain h-adr
</li><li> <a href="http://microformats.org/wiki/vcard" title="vcard">vcard</a> (most recently vCard4 RFC6350) vocabulary is re-used by h-adr.
</li></ul>

<!--
NewPP limit report
Preprocessor node count: 68/1000000
Preprocessor node count: 69/1000000
Post-expand include size: 788/2097152 bytes
Template argument size: 10/2097152 bytes
Expensive parser function count: 0/100
Expand Down Expand Up @@ -296,11 +231,11 @@ <h2>Categories</h2>
</div>


<!-- Served in 0.340 secs. -->
<!-- Served in 0.407 secs. -->






</body><!-- Mirrored from microformats.org/wiki/h-adr by HTTrack Website Copier/3.x [XR&CO'2014], Sun, 22 Mar 2015 19:17:09 GMT --></html>
</body><!-- Mirrored from microformats.org/wiki/h-adr by HTTrack Website Copier/3.x [XR&CO'2014], Tue, 23 Jun 2015 11:00:04 GMT --></html>
Loading

0 comments on commit 1ba3180

Please sign in to comment.