Community Central
Community Central
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 ("|"), like this:

<rss>https://wherever.com|short|date|max=4</rss>

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 charset=UTF-8 parameter. Try adding it if your feed displays oddly — or not at all.

Parameter Result
short Shows only the headline for each news item, not the description text.
date Shows the date/time stamp for each news item
max=x Allows you to choose the maximum number of items to show.
highlight=term1 term2 The terms added here (separated by a space) are highlighted.
filter=term1 term2 Only RSS items containing at least one of the listed terms are shown.
filterout=term1 term2 No RSS items containing the listed terms are shown.
reverse The RSS items are displayed in reverse order
charset= The charset used by the feed. For example, you may need to use UTF-8 to view some characters.

Example

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:

Today's Headlines:

Iranian media says three drones downed after explosions heard in Isfahan - Al Jazeera English - - 2024/04/19 04:49

Iranian media says three drones downed after explosions heard in Isfahan  Al Jazeera EnglishIranian air base reportedly attacked in ‘limited’ Israeli reprisal strike  The Times of IsraelIsrael-Gaza li...

‘Suffs’ on Broadway review: Not a triumph but it’s gotten better - The Washington Post - - 2024/04/19 04:30

‘Suffs’ on Broadway review: Not a triumph but it’s gotten better  The Washington PostReview: In 'Suffs,' the Thrill of the Vote and How She Got It  The New York TimesTheater Review: 'Suffs' and 'Grenf...

House foreign aid bills for Ukraine and Israel move ahead with Democrats' help - NPR - - 2024/04/19 04:17

House foreign aid bills for Ukraine and Israel move ahead with Democrats' help  NPRIn Unusual Vote, Democrats Rescue Measure to Allow Vote on Ukraine Bill  The New York TimesHouse Democrats take "unpr...

Severe storms with damaging winds, hail and tornadoes impact nation's heartland - Fox Weather - - 2024/04/19 03:59

Severe storms with damaging winds, hail and tornadoes impact nation's heartland  Fox Weather Damaging winds, confirmed tornadoes in storm band  KTVI Fox 2 St. LouisThursday forecast: Vast storm could...

Trump criminal case: Full 12-person jury seated in Manhattan - BBC.com - - 2024/04/19 03:36

Trump criminal case: Full 12-person jury seated in Manhattan  BBC.comDismissed 'Juror Number 4' calls judge 'cowardly' over being dismissed  The Journal NewsJury selection could be nearing a close in...

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."

https://news.google.com/news/feeds?output=rss

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:

  1. Go to https://news.google.com/news/settings/interests?hl=en&gl=US&ned=us
  2. Enter keywords you wish to follow
  3. Select something from the resulting dropdown
  4. Click on the interest that now appears under the "Add new interests" input box
  5. The formatted feed will appear
  6. Go all the way to the bottom of the page and click on "RSS"
  7. This will display the raw RSS Feed
  8. 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?

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.

See also

Further help and feedback