
 XML-RPC v0.1 add-on for eggblog v3 - (c) www.eggblog.net 2006
 Downloaded from http://www.eggblog.net/addons/
 Additional code taken from the IXR Library at:
 http://scripts.incutio.com/xmlrpc/


 Installation
 ------------
 1. Un-zip the files to:
      /addons/xmlrpc/_README.txt
      /addons/xmlrpc/config.php
      /addons/xmlrpc/index.php

 2. Ammend config.php to ping the servers you request. Each
    entry takes the format:

      array(
        'SERVER-NAME',
        'SERVER-DOMAIN',
        'SERVER-FOLDER'
      ),

 3. Ammend /admin/articles.php to ping the servers set in
    the config.php file as a new article is posted. Edit the
    file and insert the lines ...

      // addon-xmlrpc-v0.1
      require_once "../addons/xmlrpc/code.php";

    ... under the lines (approximately line 82) ...

      if (mysql_query($sql)) {
        $id=mysql_insert_id();
        echo "		<p>The article has been successfully posted:<br /><a href=\"../home/blog.php?id=$id\">$_POST[title]</a></p>\n";

    ... to create ...

      if (mysql_query($sql)) {
        $id=mysql_insert_id();
        echo "		<p>The article has been successfully posted:<br /><a href=\"../home/blog.php?id=$id\">$_POST[title]</a></p>\n";
        // addon-xmlrpc-v0.1
        require_once "../addons/xmlrpc/code.php";

 4. Each time you post a new article, you will automatically
    ping the servers. Each server iwll report back with a 
    success or fail message.



