PHP Classes
elePHPant
Icontem

File: sitemap.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Er. Rochak Chauhan  >  Create Sitemap  >  sitemap.php  >  Download  
File: sitemap.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Create Sitemap
Generate of map of the files of a directory in XML
Author: By
Last change:
Date: 9 years ago
Size: 246 bytes
 

Contents

Class file image Download
<?php
   
/**
     * This file generates the outout of directory structure
     */
  
   
require_once('sitemap.inc.php');
   
define ('DIR_PATH', 'frd/');
   
   
$sitemap = new Sitemap(DIR_PATH);
   
$xmlContent = $sitemap->generateXmlSiteMap(true);
?>