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</lastmo d>
< changefreq>monthly</change freq>
< 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
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</lastmo
< changefreq>monthly</change
< 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
ASKER
ok
what does that mean?
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.
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
urlset: Encapsulates the file and references the current protocol standard.