PHP Classes

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

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 544 All time: 5,560 This week: 77Up
Version License PHP version Categories
php-sitemap 1.2Artistic License5.4XML, PHP 5, SEO
Description 

Author

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

 

  Files folder image Files (3)  
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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:544
This week:0
All time:5,560
This week:77Up
User Comments (1)