|
Automatically Update Multiple Sites with ArticleBot Below is a very simple ArticleBot project that demonstrates how you can use the $DB.csv file and a few <abot> tags to update multiple web pages on multiple sites. This can be done automatically if you like so that all of the pages are changed every day without you running the program.The HTML code and $$DB.csv files shown below are all we will need for the example.
The project will create a total of 4 web pages. Two will be uploaded to www.fords.com and two will be uploaded to www.honda.com. To do this, you will have to set up the <abot> tags as shown in the project above. Each <abot> tag is explained below. For the project as shown, when you click on Spin, ArticleBot will not stop until all files are created and published in their correct web folders. <abot> fileextension=.php</abot> This is the file extension to be used for the published web files. In this example we have chosen ".php". <abot> webfilename=$$DB-Color$$DB-CarName</abot> This is the web file name without the extension. In this example it is taken from two words in the $$DB.csv file. The first file will be named "RedFords". <abot> autoupload=yes</abot> Setting this to yes will cause ArticleBot to upload the file to it's folder on the web as soon as it is spun. Each file created is uploaded automatically before the next file is created. <abot> webfolder=$$DB-WebFolder</abot> This is the complete URL including the ending "/" of the folder on the web where the file is to published. <abot> webfolderusername=$$DB-UserName</abot> This is the FTP user name for the web site. In this case it is taken from the $$DB.csv file. <abot> webfolderpassword=$$DB-Password</abot> This is the FTP password for the web site. In this case it is taken from the $$DB.csv file. <abot> endprogramafterspin=y</abot> If this is set to "y" for yes, the ArticleBot program will close as soon as all files are created and uploaded. To have ArticleBot remain open you can set this to "n". <abot> incrementfilename=no</abot> This feature is not used in this example. In ArticleBot if you, as an example, set the file name to "index", and do not specify the file name in the $$DB.csv file, ArticleBot will name every file created "index" with a counter number appended to the end as index1, index2, index3 etc. If you are updating multiple sites and want every file to have the same name "index", then you can use this <abot> tag to stop ArticleBot from adding the counter to the file name. How do I Schedule Automatic New Files and Automatic Uploads Every Day? ArticleBot Command Line Arguments ArticleBot will accept command line arguments that will allow you to have ArticleBot automatically load and spin any project. Below is an example of a project named CarSites that has the command line arguments required. Example Command Line: ArticleBot.exe Argument1 Arument2 Argument1 is the project name. In this example the name of the project is "CarSites". Argument2 is an instruction to automatically spin the project as soon as it is loaded. Use a "y" to auto spin the project and a "n" for no auto spin. For this example you would use the command "ArticleBot.exe CarSites y" to have ArticleBot automatically load and spin the project "CarSites". This can easily be edited in the command line on a desktop shortcut that points to ArticleBot.exe or even in the system manager auto scheduler.
|