How do I generate a simple 'sitemap'

How do I generate a simple 'sitemap'

Posted by: abgrp
Posted on: 2008-08-09 05:57:00

A client wants a 'sitemap' generated for a web site. Why? Because some blowhard 'expert' friend they know is now giving them 'advice' about their vacation rental web site. The 'expert' says ALL web sites MUST have a sitemap or Google won't search the site. Uugh.

I found a Python script that generates a sitemap, but the configuration, installation, etc. seems too complicated for the simple thing I want to accomplish. All I want is to list five URLs to help search engines access the site. (http://www.sourceforge.net/project/showfiles.php?group_id=137793&package_id=153422)

Is there an easy way to write an html file or xml file that will accomplish the same this without spending all day doing it?

Re: How do I generate a simple 'sitemap'

Posted by: vicm3
Posted on: 2008-08-09 07:06:00

Google provides his own sitemap generator, also on python... really used 2 times, get some configuration also, but get his job done, why no try it?

https://www.google.com/webmasters/tools/docs/en/sitemap-generator.html

[Edit] I just noted that is the same generator that you posted... yes it take a lot of configuration but maybe the explanation on the URL I post is better than the comments on the python code, also if you had problems maybe we can help you :D

Re: How do I generate a simple 'sitemap'

Posted by: seiler
Posted on: 2008-08-09 12:53:00

In reply to:

The 'expert' says ALL web sites MUST have a sitemap or Google won't search the site. Uugh.


While that's not necessarily true, Google does recommend them and helps you get it done, so there's really no reason not to.

Since anything related to real estate is highly competitive, it's crazy to not do every little thing that can help.

Re: How do I generate a simple 'sitemap'

Posted by: silkrooster
Posted on: 2008-08-09 19:53:00

After you run the script, go through the xml file and make sure there isn't anything listed that you don't want listed by google.
Silk

My website

Re: How do I generate a simple 'sitemap'

Posted by: tomt
Posted on: 2008-08-09 20:10:00

Alternatively try http://www.xml-sitemaps.com/index.php
Regards

Re: How do I generate a simple 'sitemap'

Posted by: independent
Posted on: 2008-08-11 16:29:00

If its a static site with just a few pages, why not just handcode the sitemap? This is what I ended up doing in that situation... here's some example code:

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">

<url>
<loc>http://www.domain-name.com/index.html</loc>
<changefreq>monthly</changefreq>
</url>

<url>
<loc>http://www.domain-name.com/page2.html</loc>
<changefreq>monthly</changefreq>
</url>
</urlset>

~
my obligatory dreamhost coupon

Tags: python scriptgooglesearch enginesgroup idurls