Forum Moderators: anallawalla & bakedjake
I have a site with many pages, each of which is about a single city. (Imagine "Los Angeles restaurants", "New York restaurants", "Chicago restaurants", etc.)
Is there an emerging standard for how to indicate the location for each page, so that local searches will particularly identify them? Something like (just making this up) <meta geocode="New York, NY">?
One protocol is the geotag which allows you to pass longitude and latitude in meta elements. Associating the geocodes with a page or with content establishes precise coordinates for pinpointing location. Here's the format:
<META NAME="geo.position" CONTENT="latitude; longitude">
<META NAME="geo.placename" CONTENT="Place Name">
<META NAME="geo.region" CONTENT="Country Subdivision Code">
Example use:
<meta name="geo.position" content="32.787702; -96.797693">
<meta name="geo.placename" content="Dallas, Texas">
<meta name="geo.region" content="US-TX">
Another protocol is the hCard Microformat. This format displays your info in a normalized manner that would be easier for search engines to read off your pages, and unlike the META geotags above, it can be visible to endusers.
Ex:
<strong class="fn org">Example Company, Inc.</strong>
<span class="adr">
<span class="street-address">1000 Main Street</span>
<span class="locality">Springfield</span>,
<span class="region">MO</span>
<span class="postal-code">56087-0000</span>
<span class="country-name">USA</span>
</span>
<span class=hgeoh>
<abbr class="latitude" title="37.230000">N 37° 23.0000</abbr>,
<abbr class="longitude" title="93.380000">W 93° 38.0000</abbr>
</span>
Further, if you have one of the cool cameras that has built-in GPS, the long/lat stored with each photo can be set to upload along with the other EXIF metadata and Flickr will automagically associate the photos with their mapped locations.
<META NAME="geo.position" CONTENT="latitude; longitude">
<META NAME="geo.placename" CONTENT="Place Name">
<META NAME="geo.region" CONTENT="Country Subdivision Code">
Is this intended to be used for a specific business or location, such as the latitude and longitude for "Al's Hamburger Shop" or can it be used for a site that, for example, lists all the restaurants in a particular city?
FarmBoy
<meta name="ICBM" content="051.5286, -0.0935">
This has been around for a while, and you can also copy/paste the coordinates into the google maps search box... The acronym is to do with ballistic missiles!
Other uses: geourl.org allows you to see what other websites are near your own site... And www.a2b.cc is another one that is similar.
Other tags are:
<meta name="geo.position" content="44.345;-93.712">
<meta property="geo:lat">46.1</meta>
<meta property="geo:long">124</meta>
But I've not tested any of these.
In any case, with most mobile phones now handling proper html web, and with some starting to include GPS/satnav, this is sure to become very big at some point in the next year or two.
[edited by: R1chard at 9:15 am (utc) on Jan. 19, 2007]
You could list multiple businesses on one page, and then link off to a more info page about each business, and on the individual business's pages, that's where the geolocational meta data should reside.
I have several clients where a specifying an exact location is applicable, but far more where being able to specify a city(s) or state(s)would make more sense. Such is the case in the insurance/mortgage/financial service sectors as well as with other businesses serving regions.
Any suggestions for how I might apply tags in these scenarios?
Are there any tools/validators to check the accuracy of the geo code or display how/if it is read?
Good stuff on an interesting topic btw.
Thanks,
Greg
Also, the microformats.org has a code generator that can generate the hcard for you:
[microformats.org...]