Posts Tagged ‘sitemap’

Sitemaps

Monday, August 24th, 2009

Some useful tools for intermediate-level LAMP developers:  A compilation of sitemap generaters on google code, along with platform/language and cost.

I started testing Simple Sitemaps — a free PHP script that generates sitemap in XML, RSS, and based on a txt file. So you can use PHP to generate the txt file and call the PHP script to generate everything in one shot.  Obviously if you can generate such .txt file you may as well jump right to creating the sitemap, but why reinvent the wheel?  The advantage of using .txt to generate sitemap seems to be that the process of gathering site data can run by a different scripting language than the one that generated it.

I tweaked around with it to generate this HTML sitemap for my site.  This is purely optional for a small site like mine, but it was a good exercise anyway.  The package out of the box generates a php file (from the main PHP script) that simply ouptuts the RSS, which seems superflous.  Changing the PHP code to output an XML file is easy.

Seems to be a good addition to my home-made CMS.