Index of /ports/www/lifetype/work/rsd

      Name                    Last modified       Size  Description

[DIR] Parent Directory 17-Jan-2008 11:44 - [DIR] class/ 02-Aug-2007 12:48 - [DIR] locale/ 02-Aug-2007 12:48 - [   ] pluginrsd.class.php 20-Mar-2007 09:58 6k [DIR] templates/ 02-Aug-2007 12:48 -

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}