spewn
Programmer
- May 7, 2001
- 1,034
Code:
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="[URL unfurl="true"]http://www.mywebsite.com/">[/URL]
<url>
<loc>[URL unfurl="true"]http://www.mywebsite.com/my-site-article.html</loc>[/URL]
<lastmod>2006-01-29</lastmod>
<changefreq>weekly</changefreq>
<priority>1.0</priority>
</url>
</urlset>
that's my file...assuming i only had 1 link. but what i don't undersand is this line:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="[URL unfurl="true"]http://www.mywebsite.com/">[/URL]
what is the urlset? does that just mean i put the location of the top most drectory that the xml file is? which, since this is the sitemap for the whole site, the url is going to be the main site, as i have?
i just need a little explaining i guess.
thanks.
- g