Location: PHPKode > scripts > googleSiteMap > googlesitemap/example.php
<?
/**
 * google sitemape example
 * 
 * @package googleSiteMap
 * @author www.phptw.idv.tw
 * @copyright www.phptw.idv.tw
 * @version 2007/12/14
 * @uses snoopy class
 * @link www.phptw.idv.tw
 */

ob_start();
set_time_limit(0);

//include_once(dirname(__FILE__)."/configuration.php");

include_once(dirname(__FILE__)."/class.googlesitemap.php");


$classSiteMap=new googleSiteMap("http://blog.phptw.idv.tw",dirname(__FILE__)."/",true);


$classSiteMap->printSiteMap();

exit;

?>
Return current item: googleSiteMap