Automated sitemap generator through command line

  • 2 Replies
  • 1321 Views
*

fatpaws

  • Newbie
  • *
  • 1
  • +0/-0
    • View Profile
Automated sitemap generator through command line
« 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.

*

Webhelpforums

  • Administrator
  • Hero Member
  • *****
  • 1379
  • +6/-0
  • Shared between Microsys, WebHelpForums and helpers
    • View Profile
    • Webmaster and Website Help Forums
Re: Automated sitemap generator through command line
« Reply #1 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
MicrosysTools.com | Website and SEO Software for webmasters | A1 Sitemap Generator, A1 Website Analyzer etc.

*

Webhelpforums

  • Administrator
  • Hero Member
  • *****
  • 1379
  • +6/-0
  • Shared between Microsys, WebHelpForums and helpers
    • View Profile
    • Webmaster and Website Help Forums
Re: Automated sitemap generator through command line
« Reply #2 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/

you can see that:
Code: [Select]
"C:\Users\UserName\Documents\Microsys\Sitemap Generator 5\projects\projectName.ini"
should have a leading colon:
Code: [Select]
":C:\Users\UserName\Documents\Microsys\Sitemap Generator 5\projects\projectName.ini"

MicrosysTools.com | Website and SEO Software for webmasters | A1 Sitemap Generator, A1 Website Analyzer etc.

 




See Our Webmaster Tools for Windows and Mac

A1 Sitemap Generator
      
A1 Website Analyzer
      
A1 Keyword Research
      
A1 Website Download
      
A1 Website Search Engine
      
A1 Website Scraper