Help:RSS

The RSS extension allows you to embed RSS feeds from any site onto a page. This could be used to display news feeds with timely information on your subject, to show entries from a related blog, or to show recent changes from another wiki.

How do I add the RSS feed to a wiki page?
Locate the URL for a feed you would like to include, usually by clicking an "RSS" button or link on the page providing the feed. Copy the URL from the address bar.

The basic code to add an RSS feed to a page is:

URL goes here

How can I customize the feed?
There are a number of parameters you can add after the URL for the RSS feed to customize the display output. Each is separated by a pipe (" "), like this:



Though no parameters are usually required, you can mix and match from the following list as you wish. That said, some feeds do need the   parameter. Try adding it if your feed displays oddly — or not at all.

Example
To add some World Cup headlines directly from FIFA, you might use:

Keep up with the Cup:

https://www.fifa.com/worldcup/news/rss.xml|output=rss|charset=UTF-8|short|date|max=3

This would give you: Keep up with the Cup:

https://www.fifa.com/worldcup/news/rss.xml|output=rss|charset=UTF-8|short|date|max=3

Google feeds
Clearly, one of the biggest news aggregators on the web is Google. Many wikis use Google feeds of one kind or another. Unfortunately, Google has made several changes to their news services over the years, and some wikis may be displaying broken feeds as a result.

If your wiki's Google feed begins with "This RSS feed URL is deprecated", you'll need to make a change.

The easiest thing to do is to copy and paste the following to your wiki, and change   — both times — to whatever you need it to be:

For instance, let's say I wanted to get a newsfeed about Star Wars at Disneyland. I'd use this:

The result would be:

https://news.google.com/news/rss/sfy/section/q/Disneyland+Star+Wars/Disneyland+Star+Wars?hl=en|charset=UTF-8|short|date|max=3

Google feeds in other languages
This same base code is adaptable to other languages, using Google's language codes. Often, but not always, those language codes are the same as FANDOM's language codes.

For instance, we'd make the feed French by altering the last bit of the URL to be.

https://news.google.com/news/rss/sfy/section/q/Disneyland+Star+Wars/Disneyland+Star+Wars?hl=fr|charset=UTF-8|short|date|max=3

But there are some important caveats to working with other languages.


 * Language determines context. Choosing French in our example emphasizes Disneyland Paris over the original Disneyland in California.
 * Topics aren't universal. Feed topics don't produce results in all languages. You may have to massage the RSS statement a bit to get a feed in the language of your choice. If one set of keywords isn't producing results, think of other, similar words and try them. But remember: your feed topic simply might not be popular in a given language. You may never be able to get an iCarly feed in Sudanese!
 * Mixed language content possible. Feeds might produce results that are a mix of different languages, particularly if your topic is in a language different than the  variable.
 * Different users may see different things. What you see on a Google newsfeed can be shaped by your browser, the country you're in, and the language settings on your own Google account. So it's possible that two people looking at the same Google newsfeed will see different results.

Can I embed feeds from my own wiki?
Yes, MediaWiki provides feeds in both RSS and Atom formats for all history pages and many special pages, including Special:RecentChanges, Special:NewPages, and Special:WantedPages.

You can use the RSS URL, in combination with this extension, to display portions of these lists on other pages on your community. See Help:Feeds for more information.

Further help and feedback
de:Hilfe:RSS-Feeds einbinden es:Ayuda:RSS2Wiki fi:Ohje:RSS fr:Aide:RSS it:Aiuto:RSS ja:ヘルプ:RSS nl:Help:RSS2Wiki pl:Pomoc:RSS pt:Ajuda:RSS ru:Справка:RSS uk:Довідка:RSS vi:Trợ giúp:RSS zh:Help:RSS