The Well-Formed Web

Exploring the limits of XML and HTTP

RESTLog Client Verion 0.1

The RESTLog Client Version 0.1 is now available for download. It is a C# application for maintaining a site that supports the RESTLog interface. A very tiny download at only 13K it includes all the sources and a pre-built executable.

RESTLog Client in action.

This initial release supports creating a new item, editing an old item, and deleting items. It also allows you to work with multiple sites by listing multiple entries in the configuration file RESTLog.xfg. The supplied sample configuration file shows two sites that can be pubished to:

<RESTLog>
  <site>
    <name>Localhost</name>
    <uploadDir>http://127.0.0.1/cgi-bin/RESTLog.py</uploadDir>
    <user>joe</user>
    <password>password</password>
  </site>
  <site>
    <name>WellFormedWeb</name>
    <uploadDir>http://WellFormedWeb.org/RESTLog.cgi</uploadDir>
    <user>joe</user>
    <password>password</password>
  </site>
</RESTLog>

Note that in the above screenshot the Site combobox gets populated with the choices in RESTLog.xfg.

In order to edit or delete an entry you must first drag-and-drop the URL of the entry onto the application. At that point the items contents will be displayed in the Title and Content controls. When that happens the Post button gets replaced with an Update button and a Delete button appears.

RESTLog Client in action.

At this point the Title and Content can be edited and updated or the item can be deleted from the server. N.B. The drag-and-drop feature has only been tested out using Mozilla and I have good reason to believe that it will not work with IE.

Tomorrow I'll cover the code in RESTLog Client that interacts with the RESTLog interface.

2002-11-20 00:11 Comments (0)