Link to home
Start Free TrialLog in
Avatar of ost87
ost87

asked on

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
Avatar of jvuz
jvuz
Flag of Belgium image

http://www.sitemaps.org/protocol.php

urlset: Encapsulates the file and references the current protocol standard.
Avatar of ost87
ost87

ASKER

ok

what does that mean?
The first (root) element is urlset and within it, each url is defined by an <url> element.
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.
ASKER CERTIFIED SOLUTION
Avatar of jvuz
jvuz
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial