Thread: PHP Sitemap
View Single Post
Old 03-23-2011, 08:33 PM   #1 (permalink)
buildakicker
The Acquainted
 
buildakicker's Avatar
 
Join Date: Jan 2008
Posts: 119
Thanks: 21
buildakicker is on a distinguished road
Default PHP Sitemap

Hello, I have a static website that I would like to create a small php script on that shows a site map of a few directories. I would also like to have it automatically create the XML file that google can use.

Do you know of a script? I have searched the web and found a couple, but they are not exactally this.

I am just looking for some advice on how best to go about this. I am thinking:
  • Search the Root Directory
  • Find the php files
  • compare to a blacklist
  • display their h1, h2 or title as a link to the file
  • create XML file

I have PHP 4.3.x available to me.

Thanks for any advice!
__________________
SkiLeases.com
buildakicker is offline  
Reply With Quote