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: , , , , , ,   Posted in Affiliate Marketing, Scripts

Some other posts you might be interested in...

4 Responses to “Sitemap Generator for the mashup script”

  1. My modified version of the 45n5 mashup script Says:

    […] Also check out my mashup script sitemap generator. […]

  2. Mashup Script Setup Guide - c-online.co.uk Says:

    […] setting this up I would highly recommend uploading my sitemap script to the root of your site, then submitting that to […]

  3. ronniem Says:

    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.

  4. Chris Says:

    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.

Leave a Reply