Website for David Bolton, software developer in London, England


Google Sitemap generator


If you have a website and want it to be fully submitted to google, have a look at Google Sitemaps.

List2SM

(for Windows 95,98,2000,XP and Server 2003)

This Windows commanmd line utility reads in a list of web pages from a text file and generates an xml file compatible with Google Sitemaps. It can be run from the command line or a batch file.

Parameters

Just one, the name and location of the file containing the list of web pages that are to be submitted to Google Sitemaps.

Instructions

1. Unzip and Copy list2ms.exe into any folder.
Using a text editor such as notepad, create a file holding the list of file urls for your website. If you have three files a.html, b.html and c.php for the website fred.com then the list would look like this. A sample named list.txt is included in the zip file.

Example 1

http://www.fred.com/a.html
http://www.fred.com/b.html
http://www.fred.com/c.php

You can add up to two parameters on each line separated by commas. One specifies the update frequency and is a single word from this list. Never, Always, hourly, daily, weekly, monthly, yearly. These are defined in Google Sitemaps

Example 2

http://www.fred.com/a.html,yearly
http://www.fred.com/b.html
http://www.fred.com/c.php,daily

The default is weekly but once a value has been specified it applies to any files listed after it. So b.html would have a yearly update frequency.

2. The 2nd parameter specifies the priority and is a value ranging from 0.0 to 1.0. The default is 0.5 and this parameter is also sticky. Once changed it applies to all subsequent files.

Example 3

http://www.fred.com/a.html,0.2,monthly
http://www.fred.com/b.html
http://www.fred.com/c.php,weekly,0.9

a.html has a priority of 0.2 and monthly update. b.html is the same as a.html
c.php has a priority of 0.9 and weekly update. The order of the two parameters is not important.

3. Run List2SM. E.g. list2sm fred.csv

Download the zip file (33Kb)

You can view the generated xml file here

 

Back to Article Index

Permission given to reprint/use on the web so long as it includes a link to my website.
If you like this article, share it by bookmarking- click an icon below

Bookmark Download free Google Sitemaps Generator at del.icio.us    Digg Download free Google Sitemaps Generator at Digg.com    Bookmark Download free Google Sitemaps Generator at Reddit.com    Bookmark Download free Google Sitemaps Generator at Spurl.net    Bookmark Download free Google Sitemaps Generator at Simpy.com    Bookmark Download free Google Sitemaps Generator at NewsVine    Blink this Download free Google Sitemaps Generator at blinklist.com    Bookmark Download free Google Sitemaps Generator at Furl.net    Fark Download free Google Sitemaps Generator at Fark.com    Bookmark Download free Google Sitemaps Generator at YahooMyWeb