-
Notifications
You must be signed in to change notification settings - Fork 61
Spuds edited this page Jun 25, 2022
·
2 revisions
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
Examples:
- https://www.elkarte.net/community/index.php?action=.xml;limit=5
- https://www.elkarte.net/community/index.php?action=.xml;limit=5;type=atom
There are several other feeds available to you by specifying what you want:
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:
Optional Parameters:
- limit=x - display only x items
Example: https://www.elkarte.net/community/index.php?action=.xml;sa=members;limit=15
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
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.