XML Block Synchronizer

NEWS & TIPS

  • Site Access Keys
  • Top: Alt+t
    Previous: Alt+,
    Next: Alt+.
    Up: Alt+;
    (Note: use Ctrl on the Mac)

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.

  1. block-synchronizer-PHP.zip
    A zip containing all of the block synchronizer files.
  2. wsdl.php
    A PHP file containing wrapper classes for the WSDL.
  3. block-synchronizer-config-data-definition.xml
    The data definition for the configuration file.
  4. block-synchronizer-config-xml.php
    A sample configuration file.
  5. block-synchronizer.php
    The script that performs the synchronization.
Last modified on Tue, 11 Sep 2007 14:52:46 -0400

Top / Up / Table of Contents