Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

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:

    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.


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:

    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.


Info

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.

Filter by label (Content by label)
showLabelsfalse
max5
spacesHKB
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel in ( "rss" , "feed" , "embed" , "portlet" , "tile" ) and type = "page" and space = "HKB"
labelsRSS feed embed tile portlet

...