<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://microformats.org/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=TheMechanism</id>
	<title>Microformats Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://microformats.org/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=TheMechanism"/>
	<link rel="alternate" type="text/html" href="http://microformats.org/wiki/Special:Contributions/TheMechanism"/>
	<updated>2026-05-06T02:51:38Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.38.4</generator>
	<entry>
		<id>http://microformats.org/wiki/index.php?title=adr&amp;diff=28700</id>
		<title>adr</title>
		<link rel="alternate" type="text/html" href="http://microformats.org/wiki/index.php?title=adr&amp;diff=28700"/>
		<updated>2008-03-26T13:54:36Z</updated>

		<summary type="html">&lt;p&gt;TheMechanism: /* Examples in the wild */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;h1&amp;gt; adr &amp;lt;/h1&amp;gt;&lt;br /&gt;
{{TOC-right}}&lt;br /&gt;
http://rbach.priv.at/2006/buttons/adr.png&lt;br /&gt;
&lt;br /&gt;
'''adr''' (pronounced &amp;quot;adder&amp;quot;; FAQ: [[hcard-faq#Should_I_use_ADDRESS_for_hCards|&amp;quot;why 'adr'?&amp;quot;]]) is a simple format for marking up address information, suitable for embedding in HTML, XHTML, Atom, RSS, and arbitrary XML. '''adr''' is a 1:1 representation of the ''adr'' property in the vCard standard ([http://www.ietf.org/rfc/rfc2426.txt RFC2426]) in HTML, one of several open [[microformats|microformat]] standards. It is also a property of [[hCard]].&lt;br /&gt;
&lt;br /&gt;
== Draft Specification ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
; &amp;lt;span class=&amp;quot;role&amp;quot;&amp;gt;Editor&amp;lt;/span&amp;gt;/&amp;lt;span class=&amp;quot;role&amp;quot;&amp;gt;Author&amp;lt;/span&amp;gt; &lt;br /&gt;
: &amp;lt;span class=&amp;quot;fn&amp;quot;&amp;gt;[[User:Tantek|Tantek Çelik]]&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;url&amp;quot;&amp;gt;http://tantek.com/&amp;lt;/span&amp;gt;, and before at [http://technorati.com Technorati, Inc.])&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Copyright ===&lt;br /&gt;
Per the public domain release on [[User:Tantek|my user page]], this specification is released into the public domain.&lt;br /&gt;
&lt;br /&gt;
{{MicroFormatPublicDomainContributionStatement}}&lt;br /&gt;
&lt;br /&gt;
=== Patents ===&lt;br /&gt;
{{MicroFormatPatentStatement}}&lt;br /&gt;
&lt;br /&gt;
=== Inspiration and Acknowledgments ===&lt;br /&gt;
Thanks to everyone who participated in the [[geo-bof-2005-06-30|Geo Microformat BOF at O'Reilly's Where 2.0 conference]], and in particular to [http://radar.oreilly.com/nat/ Nat Torkington] and Vee McMillen of [http://oreilly.com O'Reilly] for [http://conferences.oreillynet.com/cs/where2005/view/e_sess/7476 arranging and hosting the BOF].&lt;br /&gt;
&lt;br /&gt;
== Introduction and Background ==&lt;br /&gt;
The vCard standard ([http://www.ietf.org/rfc/rfc2426.txt RFC2426]), has been broadly and interoperably implemented (e.g. Apple's Address Book application). The [[hcard|hCard]] microformat has similarly received significant adoption, from numerous sites publishing the format, to hCard to vCard proxies, to clientside javascript parsers.&lt;br /&gt;
&lt;br /&gt;
At the [http://conferences.oreillynet.com/where/ Where 2.0 conference] in June 2005, there was widespread recognition that the community needed a way to simply and easily publish visible, extractable, address information on the Web, given how often bloggers, and numerous other sites publish address information.  The [[geo-bof-2005-06-30|geo microformat BOF]] discussed this very topic, and concluded with a consensus decision to just try using ''adr'' from vCard/hCard.&lt;br /&gt;
&lt;br /&gt;
This specification introduces the '''adr''' microformat, which is a 1:1 representation of the aforementioned ''adr'' property from the vCard standard, by simply reusing the ''adr'' property and sub-properties as-is from the [[hcard|hCard]] microformat.&lt;br /&gt;
&lt;br /&gt;
Publishers can both embed '''adr''' addresses directly in their web pages and feeds, as well as markup existing addresses in the context of the rest of the information in their web pages and feeds.&lt;br /&gt;
&lt;br /&gt;
If the publisher knows and is publishing the ''name'' of the location in addition to its address, then the publisher MUST use [[hcard|hCard]] instead of just '''adr''' to publish the name and address of the location.&lt;br /&gt;
&lt;br /&gt;
== Semantic XHTML Design Principles ==&lt;br /&gt;
{{semantic-xhtml-design-principles}}&lt;br /&gt;
&lt;br /&gt;
== Format ==&lt;br /&gt;
=== Singular Properties ===&lt;br /&gt;
See [[hcard#Singular_vs._Plural_Properties|hCard: Singular vs. Plural Properties]] for the list of which &amp;quot;adr&amp;quot; properties (sub-properties in hCard) are singular.  Note analysis in progress: [[adr-singular-properties]].&lt;br /&gt;
&lt;br /&gt;
=== Human vs. Machine readable ===&lt;br /&gt;
If an &amp;lt;code&amp;gt;&amp;amp;lt;abbr&amp;amp;gt;&amp;lt;/code&amp;gt; element is used for a property, then the &amp;lt;code&amp;gt;title&amp;lt;/code&amp;gt; attribute of the &amp;lt;code&amp;gt;&amp;amp;lt;abbr&amp;amp;gt;&amp;lt;/code&amp;gt; element is the value of the property, instead of the contents of the element, which instead provide a human presentable version of the value.  &lt;br /&gt;
&lt;br /&gt;
Similarly, if an &amp;lt;code&amp;gt;&amp;amp;lt;img&amp;amp;gt;&amp;lt;/code&amp;gt; element is used for one or more properties, it must be treated as follows:&lt;br /&gt;
# For the &amp;lt;code&amp;gt;PHOTO&amp;lt;/code&amp;gt; property and any other property that takes a &amp;lt;abbr title=&amp;quot;Uniform Resource Locator&amp;quot;&amp;gt;URL&amp;lt;/abbr&amp;gt; as its value, the &amp;lt;code&amp;gt;src&amp;lt;/code&amp;gt; attribute provides the property value.&lt;br /&gt;
# For other properties, the &amp;lt;code&amp;gt;&amp;amp;lt;img&amp;amp;gt;&amp;lt;/code&amp;gt; element's &amp;lt;code&amp;gt;alt&amp;lt;/code&amp;gt; attribute is the value of the property.&lt;br /&gt;
&lt;br /&gt;
=== Value excerpting ===&lt;br /&gt;
Sometimes only part of an element which is the equivalent for a property should be used for the value of the property. For this purpose, the special class name &amp;lt;code&amp;gt;value&amp;lt;/code&amp;gt; is used to excerpt out the subset of the element that is  the value of the property.  See [[hcard|hCard]] for details on this.&lt;br /&gt;
&lt;br /&gt;
=== Root Class Name ===&lt;br /&gt;
&lt;br /&gt;
The root class name for an '''adr''' address is &amp;lt;code&amp;gt;adr&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Property List ===&lt;br /&gt;
&lt;br /&gt;
This is the list of properties in '''adr''', taken from [[hcard|hCard]]:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;post-office-box&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;extended-address&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;street-address&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;locality&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;region&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;postal-code&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;country-name&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;type&amp;lt;/code&amp;gt; sub-property is omitted because without the context of a type of address for ''whom'', it doesn't make much sense.&lt;br /&gt;
&lt;br /&gt;
=== XMDP Profile ===&lt;br /&gt;
&lt;br /&gt;
See [[hcard-profile]] for the [http://gmpg.org/xmdp XMDP] profile of hCard which contains the above complete list of properties, with references to their RFC 2426 definitions.&lt;br /&gt;
&lt;br /&gt;
=== Parsing Details ===&lt;br /&gt;
See [[hcard-parsing|hCard parsing]], with the only difference being that &amp;quot;adr&amp;quot; is the root class name, rather than &amp;quot;vcard&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
This section is informative.&lt;br /&gt;
&lt;br /&gt;
=== Sample adr ===&lt;br /&gt;
&lt;br /&gt;
Here is a sample &amp;lt;code&amp;gt;adr&amp;lt;/code&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;adr&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;div class=&amp;quot;street-address&amp;quot;&amp;gt;665 3rd St.&amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;lt;div class=&amp;quot;extended-address&amp;quot;&amp;gt;Suite 207&amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;lt;span class=&amp;quot;locality&amp;quot;&amp;gt;San Francisco&amp;lt;/span&amp;gt;,&lt;br /&gt;
 &amp;lt;span class=&amp;quot;region&amp;quot;&amp;gt;CA&amp;lt;/span&amp;gt;&lt;br /&gt;
 &amp;lt;span class=&amp;quot;postal-code&amp;quot;&amp;gt;94107&amp;lt;/span&amp;gt;&lt;br /&gt;
 &amp;lt;div class=&amp;quot;country-name&amp;quot;&amp;gt;U.S.A.&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which might be displayed as:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;adr&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;street-address&amp;quot;&amp;gt;'''665 3rd St.'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;extended-address&amp;quot;&amp;gt;'''Suite 207'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;locality&amp;quot;&amp;gt;'''San Francisco'''&amp;lt;/span&amp;gt;,&lt;br /&gt;
&amp;lt;span class=&amp;quot;region&amp;quot;&amp;gt;'''CA'''&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;postal-code&amp;quot;&amp;gt;'''94107'''&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;country-name&amp;quot;&amp;gt;'''U.S.A.'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that this is a '''live''' &amp;lt;code&amp;gt;adr&amp;lt;/code&amp;gt; microformat, which will be found on this page by parsers.&lt;br /&gt;
&lt;br /&gt;
=== More Examples ===&lt;br /&gt;
&lt;br /&gt;
See [http://microformats.org/wiki/hcard-examples#3.2.1_ADR_Type_Definition hCard example ADR] for more examples.&lt;br /&gt;
&lt;br /&gt;
See [http://microformats.org/wiki/adr-examples adr examples] for additional uses of ADR.&lt;br /&gt;
&lt;br /&gt;
== Examples in the wild ==&lt;br /&gt;
This section is '''informative'''.&lt;br /&gt;
&lt;br /&gt;
The following sites have published adrs, outside their normal context of hCards, and thus are a great place to start for anyone looking for examples &amp;quot;in the wild&amp;quot; to try parsing, indexing, organizing etc., in addition to [[hcard|hCard]] examples in the wild. If you find adrs outside of hCards anywhere else, feel free to add them to the top of this list. Once the list grows too big, we'll make a separate wiki page.&lt;br /&gt;
&lt;br /&gt;
* [http://www.growsonyou.com/visit Grows on You] uses the microformat to mark up the addresses of open gardens.&lt;br /&gt;
* [http://www.stems-florist.co.uk/ Stems Florist] uses the microformat on the front page to markup up the two store addresses&lt;br /&gt;
* [http://themechanism.com/locations/ theMechanism] uses the adr microformat to mark up the locations of their offices.&lt;br /&gt;
&lt;br /&gt;
(See also [[hcard-examples-in-wild]])&lt;br /&gt;
&lt;br /&gt;
== Implementations ==&lt;br /&gt;
This section is '''informative'''.&lt;br /&gt;
&lt;br /&gt;
The following implementations have been developed which either generate or parse adrs outside the context of hCards. If you have an adr implementation, feel free to add it to the top of this list. Once the list grows too big, we'll make a separate wiki page.&lt;br /&gt;
&lt;br /&gt;
* [http://code.highearthorbit.com/greaseroute/index.php GreaseRoute] is a GreaseMonkey user script (also available as a simple Firefox Extension) which will add icons for displaying the location, or route to, an [[adr]] using a MapQuest map. The route is displayed from the starting location based on the viewer's IP-Address as determined by the [http://hostip.info HostIP] geolocation service.&lt;br /&gt;
&lt;br /&gt;
* [http://code.highearthorbit.com/greaseroute/index.php GreaseRouteEmbed] is another GreaseMonkey user script that will actually embed a route image in the webpage when the user clicks the &amp;quot;route&amp;quot; link. &lt;br /&gt;
&lt;br /&gt;
* [http://georss.org/geopress GeoPress] is a [http://wordpress.org WordPress] plugin that supports embedding adrs, geo, maps (dynamically switchable between Google-Yahoo-Microsoft Maps), and [http://georss.org GeoRSS] feeds.&lt;br /&gt;
&lt;br /&gt;
* [http://placenamehere.com/TXP/pnh_mf/ pnh_mf] is a plugin for [http://textpattern.com/ Textpattern] that supports embedding adrs and other microformats in templates and blog posts. Written by [http://placenamehere.com/ Chris Casciano].&lt;br /&gt;
&lt;br /&gt;
* The [http://tantek.com/microformats/hcard-creator.html hCard creator], though it creates complete hCards, can also be used simply to create adrs by filling out the address portion and simply copy and pasting the &amp;amp;lt;div class=&amp;quot;adr&amp;quot;&amp;amp;gt; element and its contents.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
=== Normative References ===&lt;br /&gt;
* [[hcard|hCard]]&lt;br /&gt;
&lt;br /&gt;
=== Informative References ===&lt;br /&gt;
* [http://www.ietf.org/rfc/rfc2426.txt vCard RFC2426] ([http://www.w3.org/2002/12/cal/rfc2426 HTML reformatted version of RFC2426])&lt;br /&gt;
* [http://www.w3.org/TR/2002/REC-xhtml1-20020801/ XHTML 1.0 SE]&lt;br /&gt;
&lt;br /&gt;
=== Similar Work ===&lt;br /&gt;
* [[geo]]&lt;br /&gt;
* [[hcalendar|hCalendar]]&lt;br /&gt;
* [[XOXO]]&lt;br /&gt;
&lt;br /&gt;
== Work in progress ==&lt;br /&gt;
This specification is a work in progress. As additional aspects are discussed, understood, and written, they will be added.&lt;br /&gt;
&lt;br /&gt;
== Discussions ==&lt;br /&gt;
&lt;br /&gt;
* See [http://www.technorati.com/cosmos/referer.html blogs discussing this page].&lt;br /&gt;
&lt;br /&gt;
=== Q&amp;amp;A ===&lt;br /&gt;
* If you have any questions about hCard, check the [[hcard-faq|hCard FAQ]] first, and if you don't find answers, add your questions! (Odds are that any '''adr''' question will apply to [[hCard]] as well).&lt;br /&gt;
* See also [http://microformats.org/discuss/ for other methods of feedback].&lt;br /&gt;
&lt;br /&gt;
=== Issues ===&lt;br /&gt;
* Please add any issues with the specification to the separate [[hcard-issues|hCard issues]] document.  Ditto.&lt;br /&gt;
&lt;br /&gt;
== Related Pages ==&lt;br /&gt;
{{adr}}&lt;/div&gt;</summary>
		<author><name>TheMechanism</name></author>
	</entry>
</feed>