Knowledgebase

Article number: 301451

News RSS syntax

The Sitekit RSS feed supports several arguments to allow filtering of content. They are explained below:

By default, every time you create a news module in Sitekit the news items you add to that module are available as an RSS feed. Access to this feed is via the following syntax:

http:<your domain>/rss.aspx?ID=<your news module ID>

The above URL will create an RSS feed showing all the non-archived news items from the specified news module order by most recent first. It's possible to add additional argument to the RSS URL above to enable more flexible filtering of news content. These additional arguments are defined below and each one should be separated with an &:

 

 

Examples:

  • /rss.aspx?id=234 - basic URL displaying all non archived news items

  • /rss.aspx?id=234&qty=4&random - 4 random non archived news items

  • rss.aspx?id=234&qty=4&archiveoption=archivepluslive&random - 4 random news items including archived ones

  • rss.aspx?id=234&qty=4&category=sheep&category=goats - 4 most recent non archived news items categorised as either 'sheep' or 'goats'

  • /rss.aspx?id=234&reflocid=0fi6gh&qty=6 - 6 most recent non archived news items. On click through the news details pages will adopt the styling of the 0fi6gh page.

Related questions