The Well-Formed Web

Exploring the limits of XML and HTTP

RESTLog Template Format

The RESTLog Template format is used to describe a list of template files that are available to be edited via the RESTLog interface. First a quick example:

<templates xmlns="http://www.purl.org/RESTLog/templates/1.0" >
   <res href="...template.html">HTML Template.</res>
   <res href="...index.rss">RSS Template.</res>
   <res href="...base.css">CSS Stylesheet.</res>
</templates>

The files listed are editable by doing a GET on the supplied URL, editing the content retured in the response, and then PUT back to the same URL.

N.B. The href elements must contain full URLs to the files to be edited.

Extending the format

All the elements sit in the namespace http://www.purl.org/RESTLog/templates/1.0. Feel free to extend the format by placing new elements and attributes in their own namespace. The 'templates' element must remain the root element.

2002-12-14 00:31 Comments (0)