Website Submission
  Home arrow Website Submission arrow Page 3 - Put Your Site on the Map with Google S...
SEO Chat Forums  
Choosing Keywords  
Google Optimization  
Link Trading  
MSN Optimization  
Search Engine News  
Search Engine Spiders  
Search Optimization  
Web Directories  
Website Marketing  
Website Promotion  
Website Submission  
Yahoo Optimization  
SEO Tools
Adsense Calculator
AdSense Preview
Advanced Meta-Tags
Alexa Rank Tool
Check Server Headers
Class C Checker
Code to Text Ratio
CPM Calculator
Domain Age Check
Domain Typos
Future PageRank
Google Dance
Google Keywords
Google Search
Google Suggest
Google vs Yahoo
Indexed Pages
Keyword Cloud
Keyword Density
Keyword Difficulty
Keyword Optimizer
Keyword Position
Keyword Typos
Link Popularity
Link Price Calculator
Meta Analyzer
Meta Tag Generator
Multiple Link Popularity
Page Comparison
Page Size
PageRank Lookup
PageRank Search
Robots.txt Generator
ROI Calculator 
S.E. Comparison 
S.E. Keyword Position 
Site Link Analyzer 
Spider Simulator 
URL Redirect Check 
URL Rewriting 
Mobile Linux 
APP Generation ROI 
IBM® developerWorks 
SEO Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
WEBSITE SUBMISSION

Put Your Site on the Map with Google Sitemaps
By: Dan Wellman
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 54
    2007-01-09

    Table of Contents:
  • Put Your Site on the Map with Google Sitemaps
  • Creating a Google Sitemap
  • Namespaces and Elements
  • Completing and Uploading Your Sitemap

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Put Your Site on the Map with Google Sitemaps - Namespaces and Elements


    (Page 3 of 4 )

    The namespace (xmlns) is a unique resource in the format of a URL that states the structure you are using when you create your Sitemap file. The next element is the <url> element and acts as a container element for other areas of your site. The child elements of the <url> element provide additional information about your pages. The first child element of the <url> element is the <loc> or location element, which defines each page with a unique identifier, namely its URL:

      <loc>http://www.yourdomain.com/</loc>

    The data within the <loc> element must start with the protocol in use (HTTP in this case) and must end in a trailing slash if an individual page isn't specified. You could specify your root directory, sub directories, or individual pages. So you could also use something like this:

      <loc>http://www.yourdomain.com/todaysnews.htm</loc>

    Dynamically generated URLs can also be used but any entity characters (& < > ' and ") must be escaped correctly. The maximum size of any data in the <url> is 2048 characters which should be more than enough for most dynamic URLs. The following URL would be considered valid:

      <loc>http://www.yourdomain.com/todaysfavourites?
    category=fun&amp;type=pics</loc>

    As you can see, the & character has been escaped using &amp; other escape codes are &apos; for ', &quot; for ", &gt; for > and &lt; for <.

    The <loc> element is the only required element in any <url> element, but the optional elements, of which any or all can be used, are as follows:

      <lastmod>2006-12-06</lastmod>
      <changefreq>daily</changefreq>
     
    <priority>0.9</priority>

    The <lastmod> date must be in the W3C Datetime format and can include the time if desired. Valid date and time fragments for the Datetime format are:

      Year - YYYY
      Year and Month - YYYY-MM
      Complete Date - YYYY-MM-DD
      Complete Date, Hours and minutes - YYYY-MM-DDTHH:MMTZD

    You can also include seconds and fractions of seconds if necessary. The date and time are separated by a literal T and the TZD stands for Time Zone Difference, which is the hours and minutes plus or minus from GMT. A full date and time could be:

      2006-12-06T18:00+00:00

    The <changefreq> element can be any of the following values: always, hourly, daily, weekly, monthly, yearly or never. This value is just a guide to Google spiders. If you set the <changefreq> of every page to hourly, this doesn't mean that a spider will be sent hourly to crawl your site.

    The default priority, if this element is not specified, is 0.5. It can be any value between 0.0 and 1.0. This element is really only necessary on very large websites that visiting crawlers may not have time to index in full. The <priority> element is relative only to URLs in your domain, so marking all of your URLs with a priority of 1.0 means only that each page in your domain is of equal value, not that your URLs are more important than URLs in someone else's Google Sitemap with a priority of 0.6. The pages with the highest priority in your domain will be indexed before pages with a lower priority.

    More Website Submission Articles
    More By Dan Wellman


       · Hi, This article looks at manually creating your own sitemap file to assist the...
       · Hi,Thanks for the article.You mentioned that it is important to place a...
       · Yes, an html sitemap for your visitors will help your SERPs as it provides links to...
       · Hi,I am fully agree with this article because site map is very important to...
       · Yes, I think it's usful
       · I am using a free XML Generator called GsiteCrawler.We are manually creating our...
       · Hi, I don't think twice weekly is too infrequent. You may even find that it is...
       · HelloMy question is to see if my <loc> bellow is correct or I don't need the...
     

    WEBSITE SUBMISSION ARTICLES

    - Polite Bots
    - Put Your Site on the Map with Google Sitemaps
    - Open Directory Project: DMOZ: Frequently Ask...
    - DMOZ: Advanced submissions and listings
    - Search Engine and Directory Submission: Auto...
    - Blogs and Internet Directories: The Same and...
    - Submitting to Directories: A Comprehensive G...
    - The DMOZ Directory: Get Your Site Listed





    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 1 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek