![]() |
||
Google Sitemap GeneratorCopy and paste the following code into your editor and run it (code comments are included). If you want to see the live result (we believe this is the best way to learn what is the script about), try it here (new window). Code source This script only covers urls linked from an unique Url, it's easy customizable to add the feature to fetch urls from entire sites. For additional details about the curl library, check out http://www.zend.com/manual/function.curl-getinfo.php, http://curl.haxx.se/libcurl/c/curl_easy_getinfo.html and http://www.die.net/doc/linux/man/man3/curl_easy_getinfo.3.html Once you have your sitemap stored inside an xml file, don't forget to submit it to Google. |
|
Categories |