Page tree

GET /rss/feeds

Description: Get a list of all RSS Feeds.

ParameterExampleNotes
NANANA

Request/SoutronAPI/rss/feeds

Response
<RssFeedsListResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Soutron.API.ServiceModel.RssFeeds">
	<RssFeeds>
		<RssFeedListItem>
			<AuthorFullName>Soutron Administrator</AuthorFullName>
			<Caption>BBC</Caption>
			<Description>BBC</Description>
			<IsCollectionTemplate>false</IsCollectionTemplate>
			<RssFeedId>1</RssFeedId>
		</RssFeedListItem>
	</RssFeeds>
</RssFeedResponse>

GET /rss/feeds/{RssFeed}

Description: Get RSS details for specified feed.

ParameterExampleNotes

RSSFeed

REQUIRED

/SoutronAPI/rss/feeds/data/1Any valid RSS Feed ID can be passed as part of URL

Example: /SoutronAPI/rss/feeds/1 

Response
<RssFeedResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Soutron.API.ServiceModel.RssFeeds">
	<RssFeed>
		<AuthorFullName>Soutron Administrator</AuthorFullName>
		<Caption>BBC</Caption>
		<Description>BBC</Description>
		<IsCollectionTemplate>false</IsCollectionTemplate>
		<RssFeedId>1</RssFeedId>
		<AutoScrollWidget>true</AutoScrollWidget>
		<FieldsMapping>
			<RssFieldsMappingItem>
				<RssField>Title</RssField>
				<SoutronFieldId>9</SoutronFieldId>
			</RssFieldsMappingItem>
			<RssFieldsMappingItem>
				<RssField>PublicationDate</RssField>
				<SoutronFieldId>4</SoutronFieldId>
			</RssFieldsMappingItem>
		</FieldsMapping>
		<GroupContentBySource>false</GroupContentBySource>
		<RssFeedXSL>{Stylesheet omitted from Example}</RssFeedXSL>
		<ShowImages>true</ShowImages>
		<SortingRule>Descending</SortingRule>
		<Sources>
			<RssFeedSourceItem>
			<Description>BBC News - Technology</Description>
			<Name>BBC News - Technology</Name>
			<SourceURL>http://feeds.bbci.co.uk/news/technology/rss.xml</SourceURL>
			</RssFeedSourceItem>
			<RssFeedSourceItem>
			<Description>BBC News - Business</Description>
			<Name>BBC News - Business</Name>
			<SourceURL>http://feeds.bbci.co.uk/news/business/rss.xml</SourceURL>
			</RssFeedSourceItem>
		</Sources>
	</RssFeed>
</RssFeedResponse>

GET /rss/feeds/data/{RssFeed}

Description: Get RSS content for specified feed.

ParameterExampleNotes
OfficeOffice=1Any valid Office ID
LangLang=2057Any valid Language LCID
PortalPortal=1 Any valid Portal ID

RSSFeed

REQUIRED

/SoutronAPI/rss/feeds/data/1

Or

RSSFeed=1

Any valid RSS Feed ID can be passed as part of URL or as additional parameter 'RSSFeed'

Example: /SoutronAPI/rss/feeds/data/1?Office=1&Lang=2057&Portal=1 

Response
<div class="rssItemS" id="i-1-1">
	<div>
		<a class="rssTitle" target="_blank" href="https://www.bbc.co.uk/news/business-51906744"><strong>Coronavirus: Iceland stores to open early for older shoppers</strong></a>
		<br>
		<span class="rssDescr">The move comes as supermarkets continue to limit the sales of certain products to avoid them selling out.</span>
	</div>
</div>


GET /rss/feeds/collections/{CollectionId}

Description: Get Collection records as an RSS feed.

ParameterExampleNotes
OfficeOffice=1Any valid Office ID
LangLang=2057Any valid Language LCID
PortalPortal=1 Any valid Portal ID

CollectionId

REQUIRED

/SoutronAPI/rss/feeds/collections/1

Or

CollectionId=1

Any valid Collection ID can be passed as part of URL or as additional parameter 'CollectionId'

Example: /SoutronAPI/rss/feeds/collections/26?Office=1&Lang=2057&Portal=1 

Response
<rss xmlns:a10="http://www.w3.org/2005/Atom" version="2.0">
	<channel xmlns:p3="http://soutron.com/services/rss/" p3:autoScroll="False" p3:showImage="False">
		<title>Craig admin collection</title>
		<description>Craig admin collection desctiption</description>
		<language>en-GB</language>
		<a10:id>26</a10:id>
		<item>
			<guid isPermaLink="true">https://{clienturl}/Portal/Default/en-GB/RecordView/Index/374085</guid>
			<link>https://{clienturl}/Portal/Default/en-GB/RecordView/Index/374085</link>
			<a10:author>
				<a10:name>Emery, Rosamund</a10:name>
			</a10:author>
			<title>Underwriting practice</title>
			<description/>
			<pubDate>Tue, 01 Jan 2008 00:00:00 Z</pubDate>
			<a10:link type="thumbnail" title="Book Cover" href="https://{clienturl}/SoutronApi/catalogue/bookCover?FieldName=ISBN&FieldValue=9781853698231"/>
		</item>
	</channel>
</rss>
  • No labels