Webmaster Forums - Website and SEO Help

Microsys Products and Webmaster Tools => A1 Sitemap Generator => Topic started by: fatpaws on October 20, 2014, 01:02:35 AM

Title: Automated sitemap generator through command line
Post by: fatpaws on October 20, 2014, 01:02:35 AM
Hi, I'm trying to create an automated script for the site and have followed the instructions at http://www.microsystools.com/products/sitemap-generator/help/automate-sitemap-build-upload/ but I can't get it to work. Every time I run the script it says "You need to perform a website scan first."

As per the instruction, my command line is "C:\Program Files\Microsys\Sitemap Generator 5\Sitemap.exe" -exit -scan -build -upload -save   "C:\Users\UserName\Documents\Microsys\Sitemap Generator 5\projects\projectName.ini"

With projectName being a project I've saved before containing the website I have already (manually) scanned and generated XML reports with. Am I missing something? Is there anything else that I need to do? Any help is appreciated. Thanks.
Title: Re: Automated sitemap generator through command line
Post by: Webhelpforums on October 20, 2014, 06:09:30 AM
You would usually e.g. get that error in case where you use normal scan options (e.g. not video sitemap preset) and then try generate a video sitemap.

However, if possible, email your project file to info email address listed here:
http://www.microsystools.com/home/contact.php (http://www.microsystools.com/home/contact.php)
Title: Re: Automated sitemap generator through command line
Post by: Webhelpforums on October 21, 2014, 07:42:31 PM
Hi

Did not notice at first, but if you see
http://www.microsystools.com/products/sitemap-generator/help/automate-sitemap-build-upload/ (http://www.microsystools.com/products/sitemap-generator/help/automate-sitemap-build-upload/)

you can see that:
"C:\Users\UserName\Documents\Microsys\Sitemap Generator 5\projects\projectName.ini"

should have a leading colon:
":C:\Users\UserName\Documents\Microsys\Sitemap Generator 5\projects\projectName.ini"