djplaner / moodle-mod_bim

A Moodle activity module the provides support for managing/marking individual student blogs hosted on external services.
http://davidtjones.wordpress.com/research/bam-blog-aggregation-management/
7 stars 2 forks source link

SimplePie, performance and alternatives? #29

Closed djplaner closed 14 years ago

djplaner commented 14 years ago

Appears SimplePie and how it is used in BIM can cause some performance issues on large installations. There appears to be some value to explore how this can be addressed through either a) re-working of how SimplePie is used b) a replacement for SimplePie

tlock commented 14 years ago

Using Magpie is easy, but retrieving only the content within the divs is the tricky part.

$rss = fetch_rss( $url );

echo "Channel Title: " . $rss->channel['title'] . "\n"; foreach ($rss->items as $item) { $href = $item['link']; $title = $item['title']; echo "$href [$title]\n"; }

djplaner commented 14 years ago

Seems that Moodle 2.0 is also using SimplePie. Since this seems to be the trend, will avoid looking for alternatives.