PHP Classes

PHP Sitemap: Generate a XML sitemap from links in a given page

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 539 All time: 5,575 This week: 108Up
Version License PHP version Categories
php-sitemap 1.2Artistic License5.4XML, PHP 5, SEO


This class can generate a XML sitemap from links in a given page.

It reads the base URL page from a separate configuration class static variable.

The class loads the base page HTML and extracts the internal links.

An optional list of URLs may be excluded from links to be added to the sitemap.

A XML sitemap is generated from all the found link URLs and saved to sitemap.xml file.

Picture of Vladan Zivanovic
Name: Vladan Zivanovic <contact>
Classes: 1 package by
Country: Serbia Serbia
Age: ???
All time rank: 318111 in Serbia Serbia
Week rank: 389 Up5 in Serbia Serbia Up

  Files folder image Files  
File Role Description
Accessible without login Plain text file sitemap-generator.php Example Example to use sitemap
Plain text file sitemap.php Class main class for sitemap generator
Plain text file Sitemap_Settings.php Class Setting for sitemap

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:5,575
This week:108Up
User Comments (1)