To easily embed a news channel into other applications, use the standard RSS (spec). Staffbase supports generating an RSS feed for specific news channels. You can obtain a news channel’s RSS feed by building a URL for it.
This article provides you with the required information on how to generate the correct URL to receive the RSS feed for a news channel.
In case the channel you like to use for RSS is not visible for all people in the organisation, ensure that the token has permissions to view this channel.
- You have created an API token with read-only access level.
Note: Ensure that the API token does not contain the ‘+’ symbol. Tokens with a + symbol will cause problems when present in a URL. If the token you created contains + delete the one you created and create a token without +.
- In the Experience Studio, navigate to News > Channel.
- Open the channel settings.
- From the Visibility in the app dropdown menu, select the setting For selected users, groups or API tokens. If you need a token that allows visibility For all users, contact firstname.lastname@example.org.
- Select the API token you created.
- Save the channel settings.
The complete URL that you need to build for the news channel consists of several parts. You need to focus on the following parts:
Based on the hosting infrastruture your app is hosted on, use one of the following:
- US American hosting infrastructure use
- German hosting infrastructure use
Get the correct channelID for the channel that you want to export as an RSS feed. The channelID for the channel can be found at the end of the URL.
Use the API token you created at the end of the URL as a query parameter.