I have plans for creating a big application in PHP that helps in accessing web pages in a smarter way. I am able to create this script myself but I think it's a common scenario so I don't want to reinvent the wheel or waste time rewriting the whole logic. A script is already available here
php-ease.com/classes/sitemap.html but it does not update URL with count 1 at a time. Any help greatly appreciated.