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.
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.
There are four fields on this page:
Title This is the title that will appear at the top of the portlet. If it is missing Haiku tries to get this title from the RSS feed itself. Number of items to display Enter some value if you want to limit number of items to display. This is not mandatory and default value is 5. URL of RSS feed URL of RSS feed. This is not mandatory. Feed reload timeout Time in minutes after which feed should be reloaded. Please give high number if RSS channel is not frequently updated. It will save Haiku resources and speed up serving the page. |
There are four fields on this modal:
Title This is the title that will appear at the top of the tile. If it is missing Haiku tries to get this title from the RSS feed itself. Number of items to display Enter some value if you want to limit number of items to display. This is not mandatory and default value is 5. URL of RSS feed URL of RSS feed. This is not mandatory. Feed reload timeout Time in minutes after which feed should be reloaded. Please give high number if RSS channel is not frequently updated. It will save Haiku resources and speed up serving the page. |
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 appear here based on the labels you select. Click to edit the macro and add or change labels.
|