PHP Classes

Google Site Map: Build maps of site pages in Google site map format

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (8)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 56%Total: 13,367 All time: 81 This week: 71Up
Version License Categories
google_sitemap 1.0.0GNU General Publi...XML, Searching, SEO


This package can be used to generate maps of pages of a site in Google site map XML format.

There is one class for defining site map item information that includes the location of a site page, last modification time, change frequency and priority.

The main class can gather all the site map items and generate the site map definition in the Google site map XML format.

Innovation Award
PHP Programming Innovation award nominee
October 2005
Number 2

Prize: One downloadable copy of Roadsend PHP Compiler
Nowadays, the visitation of a site depends a lot on how many relevant site pages the Web search engines have indexed.

Google is one of the most important Web search engines. Therefore it is very important to have Web sites well indexed by Google to maximize the number of visitors that the sites may get.

To simplify the task of keeping a site well index, Google has created a means to let webmasters keep their Google indexes upto date. That is achieved by using of a XML based format for exporting the map of site.

This class provides a simple way to build a site map in the format defined by Google. This way it can help any webmaster to have their sites more visible in Google, rather than just waiting for Google crawlers find the new or the updated site pages.

Manuel Lemos
Picture of Svetoslav Marinov
  Performance   Level  
Name: Svetoslav Marinov <contact>
Classes: 7 packages by
Country: Canada Canada
Age: 43
All time rank: 715 in Canada Canada
Week rank: 94 Down2 in Canada Canada Up
Innovation award
Innovation award
Nominee: 4x

Winner: 1x


sitemap 1. description 2. example 3. author 1. description ================================= sitemap is used to generate simple sitemaps according google's requirements. this class may be used if you generate from time to time your sitemap.xml file via cron or using some other way. for more information please visit: google also provided their own sitemap generator at: 2. example ================================= please check the example file in the same directory 3. author ================================= Svetoslav Marinov <> He is studying computer sciences and technologies in technical university of Sofia, Bulgaria. He has also a master degree in Electrical Engineering department in same university. At this moment he works for a big hosting company. In his free time he works on - Developers' quick reference site which contains ( in future ) useful code snippets,tips,tricks etc. bugs,comments,improvements are always welcome. all the best! Svetoslav

  Files folder image Files  
File Role Description
Plain text file google_sitemap.class.php Class google_sitemap class file
Accessible without login Plain text file google_sitemap-example.php Example example file for google sitemap class
Accessible without login Plain text file README.TXT Doc. Readme file

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:81
This week:71Up
User Ratings User Comments (5)
 All time
7 years ago (muabshir)
It is bad.
14 years ago (Edgaras Edgaravicius)
14 years ago (kishore kumar)
Old Sitemap Generator but after my evaluation, still one of t...
15 years ago (Bryan Copeland)
Cheers mate, thanks for the class, very useful :)
16 years ago (G. Miernicki)