Wednesday, November 3, 2010

Submit Your Geo Content to Google

I had learnt from Here http://code.google.com/apis/kml/documentation/kmlSearch.htmland am heartily sharing the same with you. Hope you will find these beneficial, as the the following write-up includes lots of examples from Code Google.

Please read and gather SEO Knowledge from the following Google prompt.

Once you've created KML content for display in Google Earth, Google Maps, or Google Maps for mobile, you'll also want to be sure users can find your KML files using Google Search. Similarly, if you've authored a GeoRSS feed, you'll want to take advantage of Google searches to drive traffic to your content.

For example, if you search for "sightseeing near Cairo, Egypt," Google Earth

returns the following KML search results in the List view:

This section describes how to create a standard XML Sitemap that notifies Google to crawl your geo content.

The basic steps for publishing your geo content are as follows:

1. Create the KML or GeoRSS content. Be sure to add attribution tags, which will appear in the Google Search results for your content.

2. Post your files on a public web server.

3. Create the Geo Sitemap file. Copy this file to the root directory of your website.

4. Submit your Geo Sitemap to Google.

Note: You can also create a standard robots.txt file to ins

truct Google not to index specific pages on your website.

* Create the content and include attribution tags

KML 2.2 supports new elements for including attribution data in your KML file. The elements used in KML are as follows:

· atom:author element - parent element for atom:name

· atom:name element - the name of the author

· atom:link element - contains the href attribute

· href attribute - URL of the web page containing the KML/KMZ

file

These elements are defined in the Atom Syndication Format. The complete specification is found at http://www.w3.org/2005/Atom. Your KML file (and GeoRSS feed) must reference the Atom namespace, as shown in the examples that follow.

Here is an example of a KML file with information about the author and the website that contains the KML file:

Here are a few other tips for creating KML content that provides useful search results:

· Give your a meaningful .

· Provide a relevant for each so that the user can see the context of the search result.

· If you have a lot of data, divide it into topic-specific layers.

· Give each an "id" so that the search result can link directly to it.

Similarly, you can create GeoRSS feeds with the Atom namespace and include the same Atom elements for attribution. (See http://georss.org/atom.) This example shows use of , href, , and , which are all used by Google Search for RSS feeds with geolocated data.

** Post your content on a public web server.


Post your KML files or GeoRSS feed on a public web server. For KML/KMZ, be sure your server is set to return KML/KMZ MIME types, as described in KML Samples.

*** Create the Geo Sitemap file.


The Geo Sitemap file (for example, sitemap.xml) follows the standard Sitemap format described inhttp://www.sitemaps.org/protocol.html, with geo-specific elements defined by Google shown in the example below. The geo elements must be in their own unique sitemap file. This Geo Sitemap contains a set of pointers to URLs containing the geolocated data (KML files, KMZ archives, and GeoRSS feeds) for Google to index. Google will crawl your KML files, KMZ archives, and GeoRSS feeds and display information about them to users when they search for information about a certain location or topic. See the Webmaster Tools for more information on creating and submitting Geo Sitemaps.

Use the element to specify that the URL is a geo-related file. Within that element, use the element to specify the type of file, which can bekml for KML files, kmz for KMZ archives, or georss for RSS with GeoRSS extensions. Here is an example of a sitemap.xml file:


You can include multiple tags in the Sitemap file, up to a maximum of 50,000 tags, with a maximum file size of 10 MB for the sitemap.xml file . If you have more than 50,000 URLs, you can create multiple Sitemap files. (See the Sitemap Protocol for more details, as well as this article.)

Once you have created the Sitemap file, copy it to the root directory of your website.

**** Submit your Geo Sitemap to Google.

The last step is to add your Geo Sitemap using Google Webmaster Tools and your Google Account.

Now users can easily find their way to your geo presentations and articles. For more information on Sitemaps, check out the Webmaster Tools on Creating and Submitting Sitemaps