<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>SEO Web Design Blog &#187; Local SEO</title>
	<atom:link href="http://www.newshoemedia.com/blog/category/seo/local-seo/feed" rel="self" type="application/rss+xml" />
	<link>http://www.newshoemedia.com/blog</link>
	<description>SEO and Search Engine Friendly Web Design</description>
	<lastBuildDate>Tue, 20 Oct 2009 19:52:29 +0000</lastBuildDate>
	
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Tutorial: KML Geo Sitemaps</title>
		<link>http://www.newshoemedia.com/blog/web-design/scripts/tutorial-kml-geo-sitemaps</link>
		<comments>http://www.newshoemedia.com/blog/web-design/scripts/tutorial-kml-geo-sitemaps#comments</comments>
		<pubDate>Thu, 08 Jan 2009 20:58:50 +0000</pubDate>
		<dc:creator>Claye Stokes</dc:creator>
				<category><![CDATA[Local SEO]]></category>
		<category><![CDATA[Scripts]]></category>

		<guid isPermaLink="false">http://www.newshoemedia.com/blog/?p=81</guid>
		<description><![CDATA[Step-by-step instructions on how to create a Geo-sitemap. I will post a tutorial for setting up a GeoRSS feed soon.
Skip ahead:


What is a Geo Sitemap
Benefits/Features of a Geo Sitemap
Finding your coordinates


Creating a KML Geo Sitemap

KML code example (XML)
Uploading the KML file to your server
Including the KML Geo Sitemap in your sitemap.xml


Submit the sitemap to Google [...]]]></description>
			<content:encoded><![CDATA[<p>Step-by-step instructions on how to create a Geo-sitemap. I will post a tutorial for setting up a GeoRSS feed soon.</p>
<p><span id="more-81"></span>Skip ahead:</p>
<div id="skip-ahead">
<ul class="list-style-normal">
<li><a href="#what">What is a Geo Sitemap</a></li>
<li><a href="#benefits">Benefits/Features of a Geo Sitemap</a></li>
<li><a href="#finding">Finding your coordinates</a></li>
</ul>
<ol>
<li><a href="#creating">Creating a KML Geo Sitemap</a>
<ol>
<li><a href="#example">KML code example (XML)</a></li>
<li><a href="#uploading">Uploading the KML file to your server</a></li>
<li><a href="#including">Including the KML Geo Sitemap in your sitemap.xml</a></li>
</ol>
</li>
<li><a href="#submit">Submit the sitemap to Google Webmaster Tools</a></li>
<li><a href="#mime">Common Problems: MIME Type Errors</a></li>
</ol>
</div>
<h2><a name="what"></a>What is a Geo Sitemap?</h2>
<p>Geo Sitemaps are very similar to regular sitemap.xml files (both versions are in xml format), but show the latitude and longitude associated with the website, along with information about the placemarker. Here it is in <a href="http://www.google.com/support/webmasters/bin/answer.py?hl=en&amp;answer=94554">Google&#8217;s own words</a>:</p>
<blockquote style="text-align: left;"><p>&#8221; Google Geo Sitemaps is an extension of the <a href="http://www.sitemaps.org/">Sitemap protocol</a> that enables you to publish geospatial content (geo content) to Google, in order to make it searchable in <a href="http://earth.google.com/">Google Earth</a> and on <a href="http://maps.google.com/">Google Maps</a>.&#8221;</p>
<p>&#8220;With Geo Sitemaps, you can tell Googlebot about your geo content, rather than waiting for us to discover it &#8220;in the wild&#8221;. While we cannot guarantee when or if your geo content will be added to our GeoSearch index, we are continuously working to improve the coverage, freshness and quality of our index.&#8221;</p></blockquote>
<h2><a name="benefits"></a>Benefits/Features of a Geo Sitemap</h2>
<p>A Geo Sitemap can provide traffic from listings in map-based applications such as Google Maps  and Google Earth. A Geo Sitemap can also help your website listing stand out with the following extra line (Show map of&#8230;), which gives users a quick link to a map of your location:</p>
<p><img class="aligncenter size-full wp-image-82" title="Geo Sitemap SERP" src="http://www.newshoemedia.com/blog/wp-content/uploads/2009/01/geo-sitemap-serp.png" alt="Geo Sitemap SERP" width="588" height="94" />Geo Sitemaps are most important for local businesses or websites that are related to a geographic location. Basically, if your business or website would benefit in any way from traffic searching for you on a geographic basis (i.e. local search), you should have a Geo Sitemap.</p>
<h2><a name="finding"></a>Finding Your Coordinates</h2>
<p>A simple way to find your coordinates based on a U.S. address is Google&#8217;s <a href="http://maps.google.com/ig/directory?synd=mpl&amp;pid=mpl&amp;features=sharedmap,geofeed&amp;backlink=http:%2F%2Fmaps.google.com%2Fmaps%2Fmm%3Fq%3Dthomas.duebendorfer.googlepages.com-%2BSave%2Bto%2BMy%2BMaps%26ie%3DUTF8%26hl%3Den%26ll%3D37.0625,-95.677068%26spn%3D72.233562,77.167969%26z%3D3%26om%3D1&amp;hl=en&amp;gl=us&amp;num=24&amp;url=http://thomas.duebendorfer.googlepages.com/position_finder.xml&amp;output=html">Position Finder</a>. If you have a Google Account, you can add it to Google Maps and every time you click on a Map, a popup will appear with the coordinates of your search. Another easy option is<a href="http://geocoder.us"> http://geocoder.us</a>. Copy and paste the latitude and longitude coordinates associated with your address to include in your Geo Sitemap.</p>
<h2><a name="creating"></a>1. Creating a KML Geo Sitemap</h2>
<p>Open notepad or your favorite XML editor.</p>
<h3><a name="example"></a>1.1 KML Code Example</h3>
<p>Copy and paste the following code and make all necessary changes:</p>
<ol class="code">
<li><code>&lt;kml xmlns="http://www.opengis.net/kml/2.2" </code></li>
<li><code> xmlns:atom="http://www.w3.org/2005/Atom"&gt;</code></li>
<li><code class="indent"> &lt;Document&gt;</code></li>
<li><code class="indent2"> &lt;name&gt;<em>Company Name</em>&lt;/name&gt; </code></li>
<li><code class="indent2"> &lt;atom:author&gt; </code></li>
<li><code class="indent3"> &lt;atom:name&gt;<em>Author Name (may be company name)</em>&lt;/atom:name&gt; </code></li>
<li><code class="indent2"> &lt;/atom:author&gt; </code></li>
<li><code class="indent2"> &lt;atom:link href="<em>http://www.domain.com/</em>" /&gt; </code></li>
<li><code class="indent2"> &lt;Placemark&gt; </code></li>
<li><code class="indent3"> &lt;name&gt;<em>Name Of Location (e.g. </em>'<em>Office Location</em>'<em>)</em>&lt;/name&gt; </code></li>
<li><code class="indent3"> &lt;description&gt;</code></li>
<li><code class="indent4">&lt;![CDATA[</code></li>
<li><code class="indent4">&lt;address&gt;</code></li>
<li><code class="indent4">&lt;a href="<em>http://www.domain.com/</em>"&gt;<em>Company Name</em>&lt;/a&gt;&lt;br /&gt;</code></li>
<li><code class="indent4">Address: <em>[street city, state zip]</em>&lt;br /&gt;</code></li>
<li><code class="indent4">Phone: <em>[phone]</em></code></li>
<li><code class="indent4">&lt;/address&gt;</code></li>
<li><code class="indent4">&lt;p&gt;<em>A small company description.</em>&lt;/p&gt;</code></li>
<li><code class="indent4">]]&gt;</code></li>
<li><code class="indent3"> &lt;/description&gt; </code></li>
<li><code class="indent3"> &lt;Point&gt; </code></li>
<li><code class="indent4"> &lt;coordinates&gt;<em>longitude,latitude</em>&lt;/coordinates&gt; </code></li>
<li><code class="indent3"> &lt;/Point&gt; </code></li>
<li><code class="indent2"> &lt;/Placemark&gt; </code></li>
<li> <code class="indent"> &lt;/Document&gt; </code></li>
<li><code>&lt;/kml&gt;</code></li>
</ol>
<p>Just replace the necessary information like &#8220;company name&#8221; with your own and feel free to include as many placemarks as you wish (if you have multiple buildings, multiple office locations, etc.). You can view or download my own Geo Sitemap at <a href="http://www.newshoemedia.com/geo-sitemap.kml">http://www.newshoemedia.com/geo-sitemap.kml</a>.</p>
<p>Save the file as <em>geo-sitemap.kml</em> (you can name it whatever you like, but keep the .kml extension).</p>
<h3><a name="uploading"></a>1.2 Uploading the KML sitemap to your server</h3>
<p>Upload <em>geo-sitemap.kml</em> to the root directory for your domain, so that it can be accessed by going to <span style="color: #808080;">www.yourdomain.com/</span><em>geo-sitemap.kml</em>.</p>
<h3><a name="including"></a>1.3 Including the KML Geo Sitemap in your sitemap.xml</h3>
<p><strong>Update</strong>: I had this part completely wrong &#8211; I understood <a href="http://code.google.com/apis/kml/documentation/kmlSearch.html">Google&#8217;s documentation</a> to mean that the Geo Sitemap reference can be added inside your regular sitemap.xml file. Instead, Google recommends that you <a href="http://www.newshoemedia.com/blog/seo/separate-your-sitemaps">separate your sitemaps based on the type of content the URLs are pointing to</a>.</p>
<p>First, create a Sitemap Index file that references your regular sitemap (with URLs pointing to your HTML pages), your Geo Sitemap, and any other Sitemaps (i.e. Video Sitemap) you want to include.</p>
<p>Now you&#8217;ll need to create a XML sitemap that points to your KML sitemap: use this code:</p>
<ol class="code">
<li><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;&lt;urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"</code></li>
<li><code>xmlns:geo="http://www.google.com/geo/schemas/sitemap/1.0"&gt;</code></li>
<li><code class="indent">&lt;url&gt; </code></li>
<li><code class="indent2"> &lt;loc&gt;<em>http://www.domain.com/</em>geo-sitemap.kml&lt;/loc&gt;</code></li>
<li><code class="indent2"> &lt;geo:geo&gt;</code></li>
<li><code class="indent3"> &lt;geo:format&gt;kml&lt;/geo:format&gt;</code></li>
<li><code class="indent2"> &lt;/geo:geo&gt;</code></li>
<li><code class="indent"> &lt;/url&gt;</code></li>
<li><code>&lt;/urlset&gt;</code></li>
</ol>
<p>Upload all the XML sitemaps, and the KML sitemap, and Voilà! Next time Google indexes them, it will find your Geo Sitemap.</p>
<h2><a name="submit"></a>2. Submit the sitemap to Google Webmaster Tools</h2>
<p>You will want to add the sitemap.xml (regular sitemap), geo-sitemap.xml (Geo Sitemap), and the sitemap_index.xml (Sitemap Index)  to <a href="http://www.google.com/webmasters/tools">Google Webmaster Tools</a> to make sure that Google can find all the pages on your website that you want to be findable in search, and to alert Google that you have a new Geo Sitemap.</p>
<p>Here are the authoritative references for building a Geo Sitemap:</p>
<p><a href="http://code.google.com/apis/kml/documentation/kmlSearch.html">http://code.google.com/apis/kml/documentation/kmlSearch.html</a><br />
<a href="http://www.google.com/support/webmasters/bin/answer.py?hl=en&amp;answer=94554"> http://www.google.com/support/webmasters/bin/answer.py?hl=en&amp;answer=94554</a></p>
<h2><a name="mime"></a>3. Common Problem: MIME Type Errors</h2>
<p>You won&#8217;t be able to validate the KML file if your server isn&#8217;t set to send the proper response code. If you are having trouble validating your Geo Sitemap, or if you are able to see the sitemap by typing in the URL in a regular browser, then chances are, your server is treating it as a text/plain document, and not a KML file.</p>
<p>Here is Google&#8217;s documentation for KML Mime Types, including how to change your server configuration if needed:  <a href="http://code.google.com/apis/kml/documentation/kml_tut.html#kml_server">http://code.google.com/apis/kml/documentation/kml_tut.html#kml_server</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.newshoemedia.com/blog/web-design/scripts/tutorial-kml-geo-sitemaps/feed</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
	</channel>
</rss>
