sitemap - What is urlset?

Creating a sitemap.

Checked Google:
  <?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>


what is the following?:
 < urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">

is that where the sitemap is located on my site or?

your help much appreciated
ost87Asked:
Who is Participating?
 
jvuzConnect With a Mentor Commented:
http://www.cynthiaknouft.com/2007/09/02/beginners-guide-to-dynamic-sitemaps/

Usually, sitemaps, use few details as meta data such as urlset which holds the whole set of urls available on the map, url which holds the details of each url in part, loc which represents the location of the url (the url itself), lastmod which should reflect the last date this page was updated/modified, priority which, in your opinion, represents the importance of that page (from 0.1 the lowest to 1.0 the highest rank) relative to the rest of your content and changefreq which should output how frequently that page is changed (Always, Hourly, Daily, Weekly, Monthly, Yearly, Never). The urlset, url and loc tags are required while the rest presented above are optional. All data values must be entity-escaped and the file itself must be UTF-8 encoded.
0
 
jvuzCommented:
http://www.sitemaps.org/protocol.php

urlset: Encapsulates the file and references the current protocol standard.
0
 
ost87Author Commented:
ok

what does that mean?
0
 
jvuzCommented:
The first (root) element is urlset and within it, each url is defined by an <url> element.
0
 
jvuzCommented:
http://mercator.comm.nsdlib.org/Mercator/urlset/urlset.html

URLSet is an abstract class, but its add method is concrete. It possibly writes the URL to a logfile, and if the URLSet is allowed to grow, calls  addInner.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.