RSS tile/portlet

RSS tile/portlet

This article describes how to embed RSS feeds into the page and how to provide own RSS stream from the listing.

Various listings e.g., news, events, publications provide RSS feed (see RSS icon next to the page title) automatically. There is no way, at the moment, to control this feature.

To embed RSS feed from other site you can add either portlet or the tile. Please follow instructions given below to do so. 

What is the RSS feed tile/portlet?

RSS is a web feed that allows users and applications to access updates to websites in a standardised, computer-readable format. The RSS feed tile/portlet hosts this information on Haiku websites. 

RSS Portlet

  1. Navigate to the page that you would like to add the 'RSS portlet' to (you need to be logged in).

  2. Once on the page, use the drop down menu on the right side of the edit bar that will be 'Your name'.

  3. Select 'Manage portlets'.

  4. You will now be taken to a page that allows you to select 'Primary portlets' and 'Secondary portlets'. RSS portlet is available only for 'Primary portlets'. 

  5. Using the 'Add portlet' drop down menu under the portlet location that you require, select 'RSS portlet'. You will then be taken to a page where you can configure this portlet.

  6. There are four fields on this page:

RSS Tile

  1. Navigate to the cover page that you would like to add the 'RSS tile' to (you need to be logged in).

  2. Once on the page, select 'Layout' mode and drag&drop RSS tile from available tiles. Save the layout afterwards.

  3. Go to 'Compose' mode and edit your RSS tile. 

  4. There are four fields on this modal:

To retrieve feeds we use https://pypi.python.org/pypi/feedparser - universal feed parser, handles RSS 0.9x, RSS 1.0, RSS 2.0, CDF, Atom 0.3, and Atom 1.0 feeds.

Related articles