Forums | Mahara Community
Support
/
Bug with RSS feeds and Twitter
27 September 2013, 3:11
Hi there,
We are using Mahara 1.7.1 and if our staff and/or students go to add RSS feeds to their pages they receive this error "A nonrecoverable error occurred. This probably means that you have encountered a bug in the system." and it doesn't let them go any further.
Also when they embed a Twitter widget to display the live feed on the page, rather than showing the feed it removes all the html code and displays only a link to it.
Any ideas how to sort this out please?
Thanks,
Marius
27 September 2013, 13:39
Hi Marius,
There was a bug in Mahara 1.7.1 that caused an error when trying to create a new RSS feed: https://bugs.launchpad.net/mahara/+bug/1177187
It was fixed in Mahara 1.7.2. So, I'd recommend upgrading.
Regarding Twitter, I can see that Twitter's timeline widget is an <a> tag with some Javascript. Mahara will indeed strip out the Javascript, for security purposes. The only embed codes that work in Mahara are iframe-based, and the iframe URL needs to be entered onto the "Allowed iframe sources" administration page.
I believe the workarounds are to use the RSS (which, as you've noticed, is broken in 1.7.1) or try the Twitter Feed Mahara plugin: https://mahara.org/view/view.php?id=44478
Cheers,
Aaron
27 September 2013, 21:17
Many thanks for your reply Aaron. I'll upgrade to 1.7.2 and add the Twitter plugin and will let you know if I encounter any problems.