Quote:
Originally Posted by weckie
Ok. And what can one do with it ???
(i am a nerd 
|
Well if you make a php file with the above code and load it into your root of your x-cart and then call the php script it will give you a URL list and a Sitemap URL Entries for your site.
All you need to do is fill in your site information in the php code:
# MySQL Info
$mysql_host = 'localhost'; # MySQL Host Name
$mysql_user = 'username'; # MySQL Username
$mysql_pass = 'password'; # MySQL Password
$mysql_db = 'database_name'; # MySQL Database
# The Full URL to Your Webstore - INCLUDING THE TRAILING SLASH
$base_url = 'http://www.shishapipe.net/shopcart/';
Once you have done this and then saved the php file, say call it site_map.php and then run this on your site.
You can see an example at
http://www.shishapipe.net/shopcart/site_map.php