NewsFeaturesDownloadsDevelopmentSupportAbout Us

Plugin rsd

From LifeType Wiki


Name: rsd

Download link: http://sourceforge.net/projects/lifetype/files/

License: GPL

Author: Paul Westbrook

Description

Really Simple Discovery is a way that xml rpc clients can discover the xmlrpc endpoint and the APIs that are supported.

This plugin implements this protocol.

Configuration

The plugin configuration page can be found under Control Center->Settings.

Enable the Really Simple Discovery plugin in your LieType control center.

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}