From 16da0ce0f606397012c65950b07262fbecb2fc84 Mon Sep 17 00:00:00 2001 From: cash Date: Sun, 4 Jul 2010 19:39:29 +0000 Subject: brought the simplepie plugin up to Elgg coding standards --- start.php | 29 ++++++++++++++--------------- 1 file changed, 14 insertions(+), 15 deletions(-) (limited to 'start.php') diff --git a/start.php b/start.php index 5f138ff4d..538c5625c 100644 --- a/start.php +++ b/start.php @@ -1,17 +1,16 @@ +/** +* Simplepie Plugin +* +* Loads the simplepie feed parser library and provides a widget +**/ + +function simplepie_init() { + add_widget_type('feed_reader', elgg_echo('simplepie:widget'), elgg_echo('simplepie:description')); + + extend_view('css','feed_reader/css'); +} + +register_elgg_event_handler('plugins_boot', 'system', 'simplepie_init'); + -- cgit v1.2.3