PHP Classes
elePHPant
Icontem

googleSiteMap: Build a Google site map crawling the site pages

Recommend this page to a friend!
  Info   View files View files (6)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2008-01-19 (8 years ago) RSS 2.0 feedNot enough user ratingsTotal: 2,297 This week: 1All time: 1,640 This week: 1,047Up
Version License PHP version Categories
google_site 2.0Freeware4.0XML, Content management
Description Author

This class can be used to build to a Google site map by crawling the pages of a site.

It starts fetching a given URL and then follows any links to crawl a whole site.

The class generates a XML document in the Google site map format with the URLs of all crawled pages.

The site map XML document is returned as string value.

The list of all URLs is stored in a cached file.

Innovation Award
PHP Programming Innovation award nominee
December 2007
Number 4


Prize: One copy of DWebPro Standard License
Site maps are XML documents that sites may have to let Google and other search engines know about all the pages of a site, so the sites can be fully indexed and all their pages appear feature in search results.

Listing all the pages of a site to build a site map may require a lot of time and manual effort.

This class provides an automated solution to building site maps that may require much less effort. It can crawl a site and find all its pages by following the links that are found in each page.

Manuel Lemos
Picture of wenchi
Name: wenchi <contact>
Classes: 2 packages by
Country: Taiwan Taiwan
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Plain text file class.googlesitemap.php Class class.googlesitemap.php
Accessible without login Plain text file example.php Example example.php
Accessible without login Plain text file example1.php Example example1.php
Accessible without login Plain text file sitemap.php Example sitemap.php
Accessible without login Plain text file sitemap.xml Output sitemap.xml
Plain text file Snoopy.class.php Class Snoopy.class.php

 Version Control Unique User Downloads Download Rankings  
 0%
Total:2,297
This week:1
All time:1,640
This week:1,047Up