PHP Classes

File: sitemap-generator.php

Recommend this page to a friend!
  Classes of Vladan Zivanovic   PHP Sitemap   sitemap-generator.php   Download  
File: sitemap-generator.php
Role: Example script
Content type: text/plain
Description: Example to use sitemap
Class: PHP Sitemap
Generate a XML sitemap from links in a given page
Author: By
Last change:
Date: 9 years ago
Size: 181 bytes
 

Contents

Class file image Download
<?php

require_once 'sitemap.php';
require_once
'SitemapSettings.php';

$sitemapInstance = new Sitemap();
$sitemap = $sitemapInstance->generateSitemap();

echo
$sitemap;
?>