PHP Classes

PHP Google Image Sitemap Generator: Create sitemap for images from MySQL records

Recommend this page to a friend!
  Info   View files Example   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 223 This week: 1All time: 8,236 This week: 560Up
Version License PHP version Categories
google-image-sitemap 1.0GNU General Publi...5.0XML, PHP 5, Databases, SEO
Description 

Author

This class can Create sitemap for images from MySQL records.

It can execute a SELECT query on a MySQL database to retrieve the list of URLs of images of a site.

The class can generate XML for a sitemap listing the images retrieved from a database.

Picture of Vivek moyal
  Performance   Level  
Name: Vivek moyal is available for providing paid consulting. Contact Vivek moyal .
Classes: 7 packages by
Country: India India
Age: ???
All time rank: 35820 in India India
Week rank: 33 Up2 in India India Up
Innovation award
Innovation award
Nominee: 2x

Winner: 1x

Example

<?php
/**
 * Description of imageSitemap
 *
 * @author Vivek
 */

// Please do not change the limit more than 1000 in a single file as it will not be considered by the google.
//There is a limit of 1000 URL's in a image sitemap
// tutorial Demo Link - http://www.vivekmoyal.in/create-google-image-sitemap-using-mysql-and-php-dom/

//$name = this is your sitemap file name
//$tablename = this is your database table name
include_once './imageSitemap.php';
$sitemap=new imageSitemap();
$sitemap->createSitemap($name, $tablename);


  Files folder image Files  
File Role Description
Plain text file imageSitemap.php Class Class for creating the sitemap
Accessible without login Plain text file index.php Example Main file to call the function

 Version Control Unique User Downloads Download Rankings  
 0%
Total:223
This week:1
All time:8,236
This week:560Up