The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Contact Us (Meet Our Management Team) > Post Here to Contact Site Administrators and Moderators
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #17 (permalink)  
Old 06-05-2009
Neo's Avatar
Neo Neo is offline Forum Staff  
Administrator
  
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 6,832
Quote:
Originally Posted by CRGreathouse View Post
Google knows what to do with those? Is that a rel tag or something?
Yes, Google knows how to process Google site maps and our forum software knows how to build them

Google Sitemap Protocol

Quote:
The Sitemap Protocol format consists of XML tags. All data values in a Sitemap must be entity-escaped. The file itself must be UTF-8 encoded.

A sample Sitemap that contains just one URL and uses all optional tags is shown below. The optional tags are in italics.

Code:
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
   <url>
    <loc>http://www.example.com/</loc>
   <lastmod>2005-01-01</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.8</priority>
   </url>  
</urlset>

Quote:
The Sitemap must:
  • Begin with an opening <urlset> tag and end with a closing </urlset> tag.
  • Include a <url> entry for each URL as a parent XML tag.
  • Include a <loc> child entry for each <url> parent tag.