PHP Classes

Curl multi sitemap: Generate multiple sitemaps crawling sites

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (5)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 62%Total: 2,905 All time: 1,290 This week: 72Up
Version License PHP version Categories
curl-multi-sitemap 1.0.0GNU General Publi...5.0PHP 5, Searching, SEO


This class can be used to generate multiple sitemaps crawling sites.

It can crawl one or more sites to retrieve its pages and follow links recursively and determine the addresses of all pages to include in a XML sitemap.

It can ignore given URLs to avoid crawling and including in the sitemap.

The class uses the Curl extension multi-request support to retrieve multiple site pages at the same time.

You can also notify such services as Google, Yahoo, Bing, Ask and Moreover about your sitemap update.

The class may also notify Google, Bing, Yahoo, Ask and Weblogs when the sitemap is updated.

Innovation Award
PHP Programming Innovation award nominee
August 2010
Number 5

Prize: One copy of VS.PHP
Sitemaps are important to tell Google and other search engines about the pages of your sites that you would like to be crawled and indexed.

One way to build a sitemap is to crawl the site pages and collect all the followed links. That may take a long time.

This class provides a more efficient way to crawl a site by using Curl extension multiple request support.

Instead of crawling just one page at a time it can crawl multiple pages in parallel, thus taking less time to finish.

Manuel Lemos
Picture of Arturs Sosins
  Performance   Level  
Name: Arturs Sosins <contact>
Classes: 22 packages by
Country: Latvia Latvia
Age: 36
All time rank: 511 in Latvia Latvia
Week rank: 38 Up1 in Latvia Latvia Equal
Innovation award
Innovation award
Nominee: 13x

Winner: 2x

  Files folder image Files  
File Role Description
Accessible without login Plain text file example.php Example Example usage of class methods
Plain text file sitemap.class.php Class Main class file

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:1,290
This week:72Up
User Ratings User Comments (2)
 All time
nice one
11 years ago (Krunal Doshi)
Good class, I am using it at this site : http://sitemapbuilder.
12 years ago (Assontia Patient)