1: Updating Your Site Automatically
Introduction
As of version 2.0.1.179, Iosphere 2 supports a number of command line parameters which allow you to open a project, generate HTML for a project and upload a project - the install program also sets up the context menu of Windows™ Explorer.
Command Line Parameters
The command line switches are as follows:
Iosphere2 [/s] [/o "FileName"] [/g] [/u] [/n] [/x] [/e]
| Switch | Meaning |
|
|---|
| /s | Causes Iosphere to perform commands silently (the FTP upload box will still be shown).
| | /o "FileName" | Causes Iosphere to open the file FileName.
| | /g | Generates HTML for the current project - must be preceded by the /o switch to open a project.
| | /u | Uploads files for the current project - must be preceded by the /o switch to open a project, and FTP configuration must be set up.
| | /n | Brings up the 'New Site Wizard' on start up, without prompting for options.
| | /x | Exits Iosphere without asking if you want to save - useful for uploading a project and then shutting the program straight down again.
| | /e | Exits Iosphere like selecting File|Exit on the menu.
|
These commands are executed in order and may occur several times - it is therefore possible to open and upload several projects, before exiting. For example:
Iosphere2 /o "Project1.i2p" /u /o "Project2.i2p" /u /x
The above command line would open Project1 and upload it, then open Project2 and upload it, before exiting. You should set the 'Silent Upload' option in those projects to prevent user interaction being required.
You may set up shortcuts with command lines to do this, as well as set up the Windows 98 task scheduler.
Windows™ 98 Task Scheduler
Windows 98 is supplied with a task scheduler. By configuring a schedule for Iosphere you can automatically update your site. See Windows 98 help for information.
|