aboutsummaryrefslogtreecommitdiff
path: root/start.php
blob: 12acb74f9a1c07d30e2527ab88974919b72082b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?php

/**
* 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'));
	elgg_extend_view('css', 'feed_reader/css');
}

register_elgg_event_handler('plugins_boot', 'system', 'simplepie_init');