Integrating Prezly into your website
Learn how you can integrate your Prezly site and display your news feeds on your website
How can I integrate my Prezly site into my website?
Integrating your Prezly sites and stories with your own external website makes the transition between your pressroom and your company site seamless.
You can create a Prezly integration with your company's website in three ways:
- Feature your news feeds on your website using RSS or JSON feeds
- Use a custom domain
💡 You will need some IT technical experience or help from your IT department to implement this.
Display your news feeds on your website using RSS or JSON feeds
It is a standard RSS feed that contains the title, link, and description of a story. You can access it by adding /feed.rss to your site URL. e.g. https://press.prezly.com/feed.rss
If you have a multilingual site, you can filter by language by adding the two-letter language code to the URL, e.g. https://press.prezly.com/feed.rss/en will retrieve the English story feed.
2. JSON (Recommended)
A JSON feed is similar to an RSS feed with the addition of a lot more details, such as the title, subtitle, preview image URL, intro, link, contact details, and so on. For a better, more solid integration, we definitely recommend using the JSON feed.
You can access it simply by adding /feed.json to your site URL. e.g. https://press.prezly.com/feed.json.
If you have a multilingual site, you can filter by language by adding the two-letter language code to the URL, e.g. https://press.prezly.com/feed.json/en will retrieve the English story feed.
Here's an example of how a Prezly client, dnata, uses JSON feeds to feature their Prezly stories at the bottom of their homepage.
Optional parameters for the feeds
See the list of language codes and the PHP documentation.
Example 1: Returns a JSON with 5 English stories from 2015: https://press.prezly.com/feed.json?lang=EN&year=2015&limit=5
Example 2: Returns a JSON with the most recent Dutch story on 'Duurzaamheid': https://ikea.prezly.com/feed.json?lang=NL&category=Duurzaamheid&limit=1
You can get the full details of a story in JSON as well. Just add .json to the permalink of your story. E.g. https://press.prezly.com/30-pr-pros-combine-forces-for-how-to-guide-on-tools.json
Use a custom domain
By default, your sites are on the prezly.com domain. e.g. yourbrand.prezly.com. You can easily replace this with a custom link on a domain that you own. e.g. press.yourbrand.com . For example, Toyota can set their site URL to press.toyota.com.
Having your site on your own domain looks more professional and passes on SEO value to your website. See how to set up a custom domain.