Memory Alpha
Advertisement
Memory Alpha
Help Contents → RSS feed

RSS is a type of web feed that allows you to embed a list of content that is automatically updated when you refresh the page. RSS feeds can be used to track news articles, podcasts, blogs, or just about anything else published on the web.

You can embed RSS feeds on Memory Alpha using the RSSPie extension. This is useful to include news about a video game, episode announcements for a TV show, or even recent changes from Memory Alpha itself.

How do I add an RSS feed to a Memory Alpha page?[]

Locate the URL for the RSS feed you would like to include, usually by clicking an "RSS" button or link on the page providing the feed and copying the URL from the address bar.

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

<rss>URL goes here</rss>

How can I customize the feed?[]

There are a number of optional parameters you can add within the <rss> tag to customize the output:

Attribute and Default Description
itemTemplate="PageName"
Default: MediaWiki:Rss item template
Defines the display template for each item in the feed. PageName must be a complete page name including the namespace. See § Feed item template for more information.
max="X"
Default: 5
Shows only a certain number of items in the feed.
sort="X"
Default: newest
Sorts the feed items by "newest" or "oldest".
descriptionLength="X"
Default: 200
Truncates long descriptions to a certain number of characters.
dateFormat="X"
Default: Y/m/d H:i
Formats the date of each entry using PHP date formatting guidelines.
filterIn="example,words"
Default: empty
A list of words, separated by commas, to filter into the display. Feed items will only be shown if they contain any of these words.
filterOut="example,words"
Default: empty
A list of words, separated by commas, to filter out of the display. Feed items will be hidden if they contain any of these words. Feed items hidden by filterOut will stay hidden even if they match filterIn.

Feed item template[]

For advanced users, you can use the itemTemplate parameter to modify how each item is displayed in the feed. This is useful for situations where you may need to hide certain fields or rearrange them for an optimal display.

The itemTemplate parameter must point to a page that contains the template, which will substitute the following fields with the related data:

  • {{{link}}} - the URL to the feed item
  • {{{title}}} - the feed item's title
  • {{{author}}} - the author of the feed item
  • {{{date}}} - the feed item's date
  • {{{description}}} - the feed item's description

The default template, located at MediaWiki:Rss item template, is as follows:

<div class='rss_item'>
'''<span class='plainlinks'>[{{{link}}} {{{title}}}]</span> - {{{author}}} - <span class='date_epoch'>{{{date}}}</span>'''
: {{{description}}}
</div>

How can I embed a Google news feed?[]

Google Alerts RSS Feed

This is an example of setting up an English Google RSS feed for Star Trek news

Google provides an easy way to create an RSS feed on its Alerts page. Simply type in the search terms for your subject and, under "Deliver to", select "RSS feed". You may need to log into a Google account and change "How often" to "As-it-happens" to see the RSS feed option. Once you create the feed, right click the RSS icon and select "Copy Link" to copy the link to the feed to use it on Memory Alpha.

For example, creating an English Google RSS feed for Star Trek news and including it on Memory Alpha would result in the following:

<rss max="3">https://www.google.com/alerts/feeds/01312853113561017323/1145861385566133559</rss>

'Star Trek' to expand with new comedy series | Tv - Gulf News - - 2024/07/29 01:40

'Star Trek' to expand with new comedy series. The forthcoming series is being developed by Justin Simien. Published: July 28, 2024 22:11 ......

Every Star Trek: Lower Decks Season, Ranked - CBR - - 2024/07/29 01:36

Star Trek: Lower Decks was a shocking new series in the universe, but one that's become as beloved as any other iteration of the universe....

Star Trek x Doctor Who: Davies & Kurtzman's Geek Bromance on Display - Bleeding Cool - - 2024/07/29 01:33

During the Star Trek x Doctor Who panel, Russell T. Davies and Robert Kurtzman put their geek bromance on display to bring fandoms together....

Can I embed RSS feeds from Memory Alpha?[]

Yes, feeds are available in both RSS and Atom formats for all page histories and many special pages, including Special:RecentChanges, Special:NewPages, and Special:WantedPages. To access these feeds, see Feeds for more information.

For example, showing a feed of new and modified help pages on Memory Alpha would result in the following:

<rss max="3">https://memory-alpha.fandom.com/wiki/Special:NewPages?feed=rss&namespace=112</rss>

MA Help:Recent changes patrol - Mr. Starfleet Command - 2024/06/22 17:24

Mr. Starfleet Command: New page {{help nav|Recent changes}} The '''recent changes patrol''' is a feature that tracks which new page have and have not been checked for validity and conformity to Memor...

MA Help:Best practices for administrators - Mr. Starfleet Command - 2024/05/20 02:57

Mr. Starfleet Command: New page {{help nav}} {{ma|Administrators}}, also called admins or sysops (system operators), are users with additional tools to help with more advanced wiki maintenance (such...

MA Help:Administrators' how-to guide - Mr. Starfleet Command - 2024/05/18 19:55

Mr. Starfleet Command: linkfix {{help nav}} '''Administrators''' are editors who are trusted with access to certain restricted technical features on a wiki. == Deleting a page == [[File:Deleting a p...

See also[]

Advertisement