Sitemap Generator for the mashup script
Just a quick post to say that i’ve written a script that will generate a valid XML sitemap that can be used, for example, with Google Sitemaps. The script runs through all the keywords in the products.txt file, builds the URL in the same way that they are created when someone browses to the site, and outputs it in XML. Change frequency is set to daily for every URL, and the priority is set to 1.0. You should be able to find and change that easily enough if you want to.
All you have to do with this is download the script (zipped) below and extract sitemap.php to the root of your script directory. Then, assuming you are submitting to Sitemaps in Google Webmaster Tools, submit http://www.yourdomain.com/sitemap.php. That’s it! Google will download your sitemap, hopefully daily, and it will automatically contain all your URLs, even if you add new keywords to products.txt.
Download the sitemap script here.
Tags: Affiliate Marketing, affiliates, amazon, ebay, make money online, mashup, Scripts Posted in


July 6th, 2008 at 11:54 pm
[…] Also check out my mashup script sitemap generator. […]
July 13th, 2008 at 3:41 pm
[…] setting this up I would highly recommend uploading my sitemap script to the root of your site, then submitting that to […]
November 23rd, 2008 at 12:34 pm
how can I change the priority setting for each page because I get an error message saying that all the pages have the same priority setting for example 0.6 when I change it in the script in changes all of them how can I change them individually.
November 27th, 2008 at 3:29 pm
Sorry for the late response Ron. I’ve just updated the sitemap script so now it will choose a random priority for each page between 0.8 and 1.0. Download the zip file on this page, unzip and upload sitemap.php to the root of your site then re-submit to Google Webmasters Tools.