A1 Sitemap Generator - Schedule and automate sitemap tools with command line
You can use a command line interface to automate all the major sitemap tools in the program.
This means that you can also use external applications and bat / batch / script files.
This enables you to update your website sitemap at regular intervals using e.g. Windows Task Scheduler.
- Parameters:
- ":%project-path%" :
Where %project-path% should contain the path to the project.
- "-exit" :
Exits when done.
- "-hide" :
Always invisible and exits when done.
- "-scan" :
Runs website scanner.
- "-stop0000" :
Stops scan after a number of seconds, e.g. -stop600 stops scan after 10 minutes.
- "-exportsitemapcsv" :
Exports all data listed in "sitemap" tree view into a file called "sitemap.csv" located in project directory.
- "-buildxml" :
Runs sitemap builder and creates XML sitemap.
- "-buildnewsxml" :
Runs sitemap builder and creates XML news sitemap.
- "-buildmobilexml" :
Runs sitemap builder and creates XML mobile sitemap.
- "-buildvideoxml" :
Runs sitemap builder and creates XML video sitemap.
- "-buildcodexml" :
Runs sitemap builder and creates XML code sitemap.
- "-buildrss" :
Runs sitemap builder and creates RSS sitemap.
- "-buildtext" :
Runs sitemap builder and creates text sitemap.
- "-buildtemplate" :
Runs sitemap builder and creates template sitemap (usually HTML / XHTML).
- "-buildaspnet" :
Runs sitemap builder and creates XML ASP.Net sitemap for use by ASP.Net controls.
- "-build" :
Runs sitemap builder and creates a sitemap of the selected type in project settings.
- "-buildall" :
Runs sitemap builder for all kinds.
- "-robotstxt" :
Creates a "robots.txt" file.
- "-upload" :
Runs sitemap uploader and FTP uploads the last generated sitemap.
- "-uploadall" :
Runs sitemap uploader and FTP uploads all generated sitemaps.
- "-ping" :
Performs sitemap ping notification.
- "-save" :
Saves project.
- Examples:
- [ c:\micro-sys\sitemap\sitemap.exe -exit -scan -build -upload -save ":c:\micro-sys\sitemap\projects\my-project.ini" ].
- Tips:
- To prevent a parameter value that contains spaces (e.g. if you are passing a directory path) from being broken up, enclose it inside a couple of "".
- More:
Automate A1 Sitemap Generator with Windows command line and batch files
- Create a batch file, e.g. "batch-file.bat", using any standard text editor
- Example of what to write underlined: [ "c:\micro-sys\sitemap\sitemap.exe" -exit -scan -build -upload -save ":c:\micro-sys\sitemap\projects\my-project.ini" ].
- Save your batch file. You can now call it yourself or from other programs and scripts.
- Download this ZIP file containing a demo project including ".bat" file to get you started.
Schedule and automate A1 Sitemap Generator with Windows Task Scheduler
- Open "Control Panel" >> "Scheduled Tasks" >> "Add Scheduled Task". Follow the guide.
- Open the generated website download time scheduled item to edit details, e.g. command line paramaters.