XML Block Synchronizer
Author: John Stokely
1. Introduction
This guide will show you how to use the xml block synchronizer script to import XML from a specified URL into Cascade.
*You must have PHP 5 or later.
2. Components
The synchronizer has very few components, making it fairly easy to use. A breakdown of the components follows.
3. Block Synchronizer Configuration file
This file is very straightforward -- it only requires your CMS address, username, and password, and the path of the XML you wish to import to the CMS.
4. Block Synchronizer Configuration Data Definition
This is the data definition used to generate the configuration page.
5. The script
The script is just as simple as the other components. It opens the configuration file, extracts the information, and then executes a web services request to create a new XML block in Cascade at the specified path, containing the data from the URL given to it.
- block-synchronizer-PHP.zip
A zip containing all of the block synchronizer files. - wsdl.php
A PHP file containing wrapper classes for the WSDL. - block-synchronizer-config-data-definition.xml
The data definition for the configuration file. - block-synchronizer-config-xml.php
A sample configuration file. - block-synchronizer.php
The script that performs the synchronization.