- This extension is enabled by default on FANDOM.
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:
<rss>URL goes here</rss>
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 ("|") (as in links and templates). The available parameters are:
|Shows only the headline for each news item, not the description text.|
|Shows the date/time stamp for each news item|
|Allows you to choose the maximum number of items to show.|
|The terms added here (separated by a space) are highlighted.|
|Only RSS items containing at least one of the listed terms are shown.|
|No RSS items containing the listed terms are shown.|
|The RSS items are displayed in reverse order|
|The charset used by the feed. For example, you may need to use UTF-8 to view some characters.|
See below for an example of how the URL should look with parameters added.
Note: If your feed is not appearing on the page after adding the <rss> tags and the feed URL, your next step should be adding the charset=UTF-8 parameter. Sometimes this may be required for the feed to work.
To add some headlines from Google News inside a box, you might use:
<div class="toc" style="width:80%; margin:auto;"> '''Today's Headlines:''' <rss>https://news.google.com/news/rss/sfy/section/q/News/News?hl=en&gl=US&ned=us|charset=UTF-8|short|date|max=4</rss> </div>
This would give you:
November 2017 Google changes
In early November 2017, Google made some changes to the format of their URLs that caused errors to show in their feeds. In particular, feeds of the following format—which used to work—began returning the error, "This feed is deprecated."
If you have a news feed at your wiki, and it was created prior to November 2017, chances are you'll need to make the following changes to keep your feed working:
- Go to https://news.google.com/news/settings/interests?hl=en&gl=US&ned=us
- Enter keywords you wish to follow
- Select something from the resulting dropdown
- Click on the interest that now appears under the "Add new interests" input box
- The formatted feed will appear
- Go all the way to the bottom of the page and click on "RSS"
- This will display the raw RSS Feed
- Copy and paste the URL from your address bar in between <rss> tags and modify with the parameters described above.
Can I embed feeds from my own wiki?
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
- Browse and search other help pages at Help:Contents
- Check FANDOM Community Central for sources of further help and support
- Check Contacting FANDOM for how to report any errors or unclear steps in this article
- Learn how to use FANDOM in FANDOM University: short how-to videos for all levels of experience