Widget:Feed

From Hive13 Wiki
Jump to navigation Jump to search

This widget allows you to add any RSS feed to your wiki page. It was originally created by Sergey Chernyshev for Ardorado.com and sponsored by Semantic Communities, LLC..

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.

This widget uses code and service from Feed2JS.

To insert this widget, use the following code:

{{#widget:Feed
|feedurl=http://www.hive13.org/?feed=rss2
|chan=y
|num=5
|desc=50
|date=n
|targ=n
}}

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

<script language="JavaScript" src="http://feed2js.org//feed2js.php?src=&chan=&num=&desc=&date=&targ=&utf=y" type="text/javascript"></script>

Copy to your site

To use this widget on your site, just install MediaWiki Widgets extension and copy full source code of this page to your wiki as Widget:Feed article.