Difference between revisions of "Widget:Feed"
Jump to navigation
Jump to search
(taken from http://www.mediawikiwidgets.org/Feed) |
Rand Linden (talk | contribs) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | |||
This widget allows you to add any RSS feed to your wiki page. | This widget allows you to add any RSS feed to your wiki page. | ||
This widget uses code and service from [http://www.feed2js.org Feed2JS]. | This widget uses code and service from [http://www.feed2js.org Feed2JS]. | ||
== Using this widget == | |||
For information on how to use this widget, see [http://www.mediawikiwidgets.org/Feed widget description page on MediaWikiWidgets.org]. | |||
== Parameters == | == Parameters == | ||
* '''feedurl''' - URL of the feed to show | * '''feedurl''' - URL of the feed to show | ||
Line 24: | Line 16: | ||
== Sample result == | == Sample result == | ||
{{#widget:Feed | {{#widget:Feed | ||
|feedurl=http:// | |feedurl=http://feeds.sergeychernyshev.com/SergeyChernyshevsBlog | ||
|chan=y | |chan=y | ||
|num=10 | |num=10 | ||
Line 31: | Line 23: | ||
|targ=y | |targ=y | ||
}} | }} | ||
</noinclude><includeonly><script language="JavaScript" src="http://feed2js.org//feed2js.php?src=<!--{$feedurl|escape:'urlpathinfo'}-->&chan=<!--{$chan|escape:'urlpathinfo'}-->&num=<!--{$num|escape:'urlpathinfo'}-->&desc=<!--{$desc|escape:'urlpathinfo'}-->&date=<!--{$date|escape:'urlpathinfo'}-->&targ=<!--{$targ|escape:'urlpathinfo'}-->&utf=y" type="text/javascript"></script></includeonly> |
Latest revision as of 15:35, 18 May 2011
This widget allows you to add any RSS feed to your wiki page.
This widget uses code and service from Feed2JS.
Using this widget
For information on how to use this widget, see widget description page on MediaWikiWidgets.org.
Parameters
- feedurl - URL of the feed to show
- chan - show channel info or not (y/title/n)
- num - number of items to show (0 means all available)
- desc - number of characters to show from description (0 means show full description)
- date - show date (y/n)
- targ - open links in new window (y/n)
Sample result