Plugin: Really Simple Discovery 
Author: paul@westbrooks.org
Release Date: 2007/03/11
Version: 20070311

Generates an RSD file for a lifetype blog.  This allows xmlrpc clients to automatically 
discover the xml rpc endpoint.

http://cyber.law.harvard.edu/blogs/gems/tech/rsd.html


In order for the rsd file to be accessible, 
change lifetype/tmp/.htacess to allow the rsd file to be read by a web browser

<Files "*">
 Order deny,allow
 Deny from all
</Files>

<Files "rsd.xml">
 Allow from all
</files>

Add the following lines to the lifetype/.htaccess

<IfModule mod_rewrite.c>
  RewriteEngine On
  RewriteBase /
  # Point to the rsd file that is local to the blog
  RewriteRule ^rsd([0-9]+)\.xml$ tmp/rsd/$1/rsd.xml [L,NC]
</IfModule>


Add the following code in header.template before the </head> tag: 

Code: 
{if $rsd}
{$rsd->show()} 
{/if}

