Extension:RSS into Wiki

From MediaWiki.org
Jump to: navigation, search
MediaWiki extensions manual - list
Crystal Clear action run.png
RSS into Wiki

Release status: unknown

Implementation Tag
Description adds safely RSS Feeds into Wiki pages
License No license specified
Download No link

Check usage (experimental)

I'm currently working on an extension, that will allow people to include content feeds in their pages. My proof-of-concept worked very well and now I made a free open source extension based on it. (See downloads section)

Contents

[edit] Concept

Can we bring RSS Feeds safely into Wiki pages ? You betcha!

[edit] How does it work

Similar to the Inputbox extension in this extension you enter some input variables and get the RSS delivered to your page.

<Rss2html>
&FeedUrl=http://rss.news.yahoo.com/rss/mostemailed
&maxitems=15
&template=http://blogger-bee.com/yahoorssfeed.html
&allowedhtml=<b><i><p><br><li><ul><font><s><ol><pre>
</Rss2html>


[edit] Rendering RSS

A great idea by the feedforall people was their template for RSS rendering. Using it you can format the RSS that will fill your page. On the template below, all RSS items are within ~~~ and the rest is plain wiki markup

'''To refresh this page use edit and change the ''&maxitems'' number''' See [[RSS2html]] for details 
__NOTOC__ 
==~~~FeedTitle~~~ - {{CURRENTMONTHNAME}} {{CURRENTDAY}}, {{CURRENTYEAR}}==
 {{-}} 
~~~BeginItemsRecord~~~ 
* {{fixyahootitle|~~~ItemTitle~~~}} published on ~~~ItemPubDate~~~ link: [~~~ItemLink~~~] 
:~~~ItemDescription~~~ 
~~~EndItemsRecord~~~

Applying this template to Yahoo's Most e-mailed RSS output yields the rendering below:

RSS.jpg

[edit] safe html

The &allowedhtml tag allows the user to "clean" the RSS output of any unsafe or messy tags by using a white list of safe html. Anything not on this list coming from the RSS feed will be filtered out

[edit] Try it

See Yahoo news RSS brought into my wiki automatically

[edit] Download it

http://blogger-bee.com/index.php/RSSWiki_Install

WEB Site has exceeded the 'max_questions' resource

Renmiri 06:11, 9 April 2006 (UTC)

[edit] Errors

--206.225.85.132 01:13, 28 September 2006 (UTC)--206.225.85.132 01:13, 28 September 2006 (UTC)

website still broken ... :( --69.12.153.81 16:49, 7 February 2007 (UTC)

is the website broken, or is this extension not working? i tried to install it and am getting the same error. Kamde 16:12, 13 February 2007 (UTC)

  • Sorry, my host had the databases set up with a ridiculously low number of maximum queries. Should be fixed now Renmiri 02:22, 25 April 2007 (UTC)
Personal tools
Namespaces

Variants
Actions
Navigation
Support
Download
Development
Communication
Print/export
Toolbox