From 20af83d316d8a89c3c9a34d17c252425433fc54f Mon Sep 17 00:00:00 2001 From: Zach Copley Date: Fri, 8 Jan 2010 00:09:23 -0800 Subject: Add version info for Facebook, TwitterBridge and RSSCloud plugins --- plugins/RSSCloud/RSSCloudPlugin.php | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'plugins/RSSCloud') diff --git a/plugins/RSSCloud/RSSCloudPlugin.php b/plugins/RSSCloud/RSSCloudPlugin.php index 4b9812a47..2de162628 100644 --- a/plugins/RSSCloud/RSSCloudPlugin.php +++ b/plugins/RSSCloud/RSSCloudPlugin.php @@ -31,6 +31,8 @@ if (!defined('STATUSNET')) { exit(1); } +define('RSSCLOUDPLUGIN_VERSION', '0.1'); + /** * Plugin class for adding RSSCloud capabilities to StatusNet * @@ -275,5 +277,19 @@ class RSSCloudPlugin extends Plugin return true; } + function onPluginVersion(&$versions) + { + $versions[] = array('name' => 'RSSCloud', + 'version' => RSSCLOUDPLUGIN_VERSION, + 'author' => 'Zach Copley', + 'homepage' => 'http://status.net/wiki/Plugin:RSSCloud', + 'rawdescription' => + _m('The RSSCloud plugin enables your StatusNet instance to publish ' . + 'real-time updates for profile RSS feeds using the ' . + 'RSSCloud protocol".')); + + return true; + } + } -- cgit v1.2.3-54-g00ecf