Skip to content
Spuds edited this page Jun 25, 2022 · 2 revisions

Home > Documentation

RSS Feeds

Formats

All feed content is accessed with ?action=.xml; The default format is RSS2 but other formats are available by requesting it in the URL:

  • ;type=atom - Atom
  • ;type=rss - RSS 0.92
  • ;type=rss2 - RSS 2.0

The default feed is the 5 most recent posts:

Examples:


What Other Feeds are Available?

There are several other feeds available to you by specifying what you want:

Recent Posts can be viewed using sa=recent which has the following options.

Optional Parameters:

  • limit=x - display only x items
  • board=y - display only the recent posts from only board y
  • boards=x,y,z - display only the recent posts only from the specified boards
  • c=a - display only from the boards in the specified category

Example: https://www.elkarte.net/community/index.php?action=.xml;sa=recent;board=2;limit=10

News, displays the first post from the most recent topics, using sa=news which has the following options.

Optional Parameters:

  • limit=x - display only x items
  • board=y - display only the recent posts from only board y
  • boards=x,y,z - display only the recent posts only from the specified boards
  • c=a - display only from the boards in the specified category

Example:

Members, most recent, using sa=members

Optional Parameters:

  • limit=x - display only x items

Example: https://www.elkarte.net/community/index.php?action=.xml;sa=members;limit=15

Profile, displays the summary for the specified user, using sa=profile

Required Parameter:

  • u=x - display the profile info for user ID x

Example: https://www.elkarte.net/community/index.php?action=.xml;sa=profile;u=2


Notes

Do take in consideration that unless the feed reader supports some of way to authenticate to your site, the posts shown in the feed will always be the ones visible to guests and no others.

Clone this wiki locally