See Our Webmaster Tools for Windows and Mac

HTML, image, video and hreflang XML sitemap generatorA1 Sitemap Generator
      
website analysis spider tool for technical SEOA1 Website Analyzer
      
SEO tools for managing keywords and keyword listsA1 Keyword Research
      
complete website copier toolA1 Website Download
      
create custom website search enginesA1 Website Search Engine
      
scrape data into CSV, SQL and databasesA1 Website Scraper

Automated sitemap generator through command line

  • 2 Replies
  • 3426 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
  • *****
  • 1449
  • +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
TechSEO360 | MicrosysTools.com  | A1 Sitemap Generator, A1 Website Analyzer etc.

*

Webhelpforums

  • Administrator
  • Hero Member
  • *****
  • 1449
  • +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"

TechSEO360 | MicrosysTools.com  | A1 Sitemap Generator, A1 Website Analyzer etc.

 

Learn More About Our Webmaster Tools for Windows and Mac

HTML, image, video and hreflang XML sitemap generatorA1 Sitemap Generator
      
website analysis spider tool for technical SEOA1 Website Analyzer
      
SEO tools for managing keywords and keyword listsA1 Keyword Research
      
complete website copier toolA1 Website Download
      
create custom website search enginesA1 Website Search Engine
      
scrape data into CSV, SQL and databasesA1 Website Scraper