How do I create an RSS feed with full bodies for the articles included?
There are several reasons you may need an RSS Feed that shows the reader more than just a list of article headlines, teasers, and images.
The most common reason is an app in which you want the full body of articles to show.
ePublishing RSS Feeds feature a list of article headlines, teasers, and a featured image, as shown below:
View your RSS feeds on your site at this URL (replacing "mydomain" with your domain name): https://www.mydomain.com/rss
1. Combine multiple taxonomies into a single feed. The resulting RSS Feed link is as follows:
2. ePublishing creates RSS feeds automatically for all taxonomies in your system. Learn how to add taxonomies here.
The resulting RSS Feed link is as follows for topic-based taxonomy pages:
NOTE: It is possible that you will not see the automatically created taxonomy RSS feeds on the above URLs for your website. Some sites have turned this off. However, you can find the RSS Feed subscribe link for a topic on its respective Topic Landing page. For example:
The Subscribe button with the RSS Feed icon allows a website visitor to open the RSS Feed and copy the URL to their preferred RSS readers.
Any ePublishing RSS Feed can be updated to allow it to show the body of the articles included in the feed. Appending ?full_text=1&api_key=[API Key] to the end of any RSS feed will result in the body of the article being returned.
Using the Editorial Content Manager to find (or create) an editorial content area called rss.api.keys
- Internal name = rss.api.keys
- The body holds all API keys for RSS feeds. You can have multiple RSS API keys, one for each app vendor or specific use.
You can make the API keys be as long or short as you wish. A few tips though:
- The API key string must be at least 16 characters long.
- Only use letters and numbers. Letters should be a mix of upper and lower case.
- DO NOT use special characters.
- If you have more than 1 RSS Feed api key, separate the keys via a comma (,). See below.
- API key 1
- API key 2
With this information, you can now construct the RSS feed with the article body included: