huggy77
December 15th, 2006, 09:36 PM
i was wondering if anyone had a script to generate a google sitemap...
basically need to create a file that takes every html or htm file of a specific directory and put it in a xml file like:
<url>
<loc>http://www.aerialphotosofnj.com/custom-ground.html</loc>
<priority>0.5</priority>
<lastmod>2006-11-23</lastmod>
</url>
does anyone have something like this - what would be the best way to tackle this? I might fool around in java to build one but i wanted to see if anyone had something written or an easy way to do this before i kill a weekend...
the priority and lastmod attributes can be static...
thanks
basically need to create a file that takes every html or htm file of a specific directory and put it in a xml file like:
<url>
<loc>http://www.aerialphotosofnj.com/custom-ground.html</loc>
<priority>0.5</priority>
<lastmod>2006-11-23</lastmod>
</url>
does anyone have something like this - what would be the best way to tackle this? I might fool around in java to build one but i wanted to see if anyone had something written or an easy way to do this before i kill a weekend...
the priority and lastmod attributes can be static...
thanks