Maintained by Shaun Daubney
A slightly more visually appealing RSS News Feed block for Moodle 2.0+
248
167
7
Moodle 2.1, 2.2, 2.3, 2.4, 2.5, 2.6, 2.7, 2.8

More visually appealing RSS News Feed block for Moodle. Currently works best with BBC News feeds as it displays the pictures, but will work with any RSS.

Need help to get it to pull through other media content and images from other feed providers. If interested in helping me with this project, please get in touch.

Looks best when used with Aardvark theme.

### Contributors

• Wed, Jan 8, 2014, 1:46 AM
Hi Mark, I've just replied by email but here's a summary for everyone else too.

Hi Mark,

It doesn't work with it (with images) straight off the shelf, although it works without the images. It WILL work with changing just 1 line in the code though.

CHANGE
foreach ((array) $enclosure->get_thumbnail(1) as$thumbnail)

TO
foreach ((array) $enclosure->get_link() as$thumbnail)

Then it works.
• Fri, May 29, 2015, 5:18 AM
Sean,

@set_time_limit(60);

To this:

php_time_limit::raise(60);

php_time_limit::raise will not alter the time limit or max execution time if in CLI mode (which cron always is). As it is now, RSS Plus' cron method leaves my php_max_execution time at 60 for all other jobs.

Thanks,
Brendan

• Mon, Jun 1, 2015, 4:58 PM
Hi Brendan,

Shaun
• Mon, Jun 1, 2015, 8:51 PM
Thanks Shaun. But I made a typo. The class name is core_php_time_limit not php_time_limit. By bad.
• Mon, Jun 1, 2015, 8:56 PM
Fixed
• Tue, Jun 2, 2015, 12:40 AM
Shaun,

Works great, thanks a lot.

I have a hack to this plugin that I would be happy to convert into a feature if you are interested. It adds a "Read more" link to the bottom of each entry in the feed. I guess the way to go would be to add a configuration option for people to show the link or not.

Is that something you would consider committing if I submitted a patch?

Thanks,
Brendan
• Wed, Jun 3, 2015, 8:08 PM
I'd also like to add a feature to make the use of break_up_long_words() on line 225 of block_rss_plus.php optional or configurable.
• Wed, Jun 3, 2015, 8:52 PM
Or maybe implementing a renderer is the way to go. That way you don't introduce any new (maybe complicated) configuration options to administrators while allowing themers the flexibility to control the markup. Again, I am happy to contribute this. Let me know.
• Thu, Aug 13, 2015, 2:32 PM
Thanx for the nice plugin. Is there a way to make it show rss-feeds from Vimeo? I tried adding a url for a rss-feed consisting of video, but it shows nothing.
• Thu, Sep 24, 2015, 2:25 AM
Hi Brendan. Anything you have would be really appreciated. This has gone off the boil recently but it's a real key part of our Moodle. I had some trouble with it on 2.9 which I need to address. Have you tried it on there yet?
• Thu, Sep 24, 2015, 2:26 AM
Flemming sorry I don't know about Vimeo. It's made to work with just straight news RSS. Principally BBC News.
• Thu, Sep 24, 2015, 5:29 PM
I've updated this now to work with Moodle 2.9 - sorry for the delay.
• Thu, Oct 1, 2015, 8:36 PM
Shaun, is there a git repo I can fork? I found one on github, but it looks out of date.
• Wed, Oct 7, 2015, 4:57 AM
Shaun, I've added the renderer support. I noticed that your version 2.2 targets moodle 2.9, so I went with mustache support. Right now it's in my private repo (https://github.com/hcpss-banderson/moodle-block_rss_plus). If you update your git repo, I will submit a pull request.
• Wed, Oct 7, 2015, 4:58 AM
Meant to specify that it is in the "renderer" branch.