Integrate your Newsroom articles into your website via RSS feeds
This article will explain how to take your Newsroom articles and display them onto your website. For this we'll need the RSS feeds that are generated for every headline section of your Newsroom.
You can find your RSS feeds by clicking on the orange RSS feed icon next to any of your Headline modules in your Newsroom.
The URL in the address bar is the direct link to your feed. A typical RSS feed looks like this:
There are two types of feeds;
- Full archive feed
This feed contains all articles that were published in the Newsroom. e.g. https://domain.com/feed/
- Tagged feed: contains only articles that matches the specified tag. e.g. https://domain.com/tagfeed/language/tags/press-release
- Number of items:
All feeds show 25 items by default but this amount can be changed by adding a number parameter to your feed URL. e.g. https://domain.com/feed/10
By default, the data output is XML but can be changed to JSON or JSONP by adding the datatype parameter. eg. https://domain.com/feed?datatype=jsonp
For tagfeed URLs this can be done by adding
/jsonto the URL, like so:
Most content management systems offer the option to embed a RSS feed but if that is not available to you, you can use the feed to extract the data and parse and loop over all the available content.
If you need help with that, PressPage offers a basic widget as a free service to get you started:
Disclaimer: PressPage does not offer further support on this widget. Styling and feature requests or potential bug fixes need to be developed by yourself.
Include newsroom content in your website's search engine
Usually, the search engine widget you have included in your website will crawl the Newsroom pages automatically. If you want to add the content manually, this is possible as well.
This can be done via both Google Custom Search Engine (CSE) and AddSearch.