Jul 17 2008
Moodle 1.9: Use simplepie instead of magpie for rss parsing
Moodle uses Magpie RSS to its feeds, but more and more feeds are failing in Magpie because it can’t parse their XML (largely because Magpie RSS hasn’t been updated in two years). The solution is to use SimplePie instead.
At the Moodle Hack/Doc Fest at Kenyon, the hackers swapped out Magpie for SimplePie. The patch is available through this tracker report; please vote for the change so that we can get SimplePie integrated into Moodle 2.0.
http://tracker.moodle.org/browse/MDL-7946
To use this, you need to do the following:
- Download the patch and rsslib_ext.php from the Tracker entry. Download SimplePie from the SimplePie web site.
- Patch [your moodle directory]/blocks/libblock_rss_client_action.php using block_rss_client_action_simplepie.diff
- Install simplepie by copying the ’simplepie’ folder to [your moodle directory]/lib
Create a free edublog to get your own comment avatar (and more!)