Skip to main content
Donate to the Python Software Foundation or Purchase a PyCharm License to Benefit the PSF! Donate Now

Rss Portlet using javascript to get, parse and render an RSS feed on the client

Project description

Introduction

Motivation

Using the standard RSS Feed Portlet of Plone, you may end up in blocked Zope threads when the requested URLs are not responding in a sensible time. This alternative prohibits this by doing the work on the client.

Abstract

collective.portlet.rssjs adds a new Portlet RSS Feed (JS) to the Plone Site.

This portlet uses the GOOGLE FEEDS API via ajax to get and parse rss feeds.

As a boilerplate

http://plugins.jquery.com/project/jgfeed

was used.

The dom is manipulated on the client to add the Feed Items.

The portlet has the same markup as the std Plone RSS Feed portlet.

Changelog

0.2 (2010-07-19)

  • add pubdate for feed entries, showing the date using toLocaleDateString [hplocher]
  • add even/odd classes [hplocher]
  • add compatibility with Plone 3 (use jQuery instead of $, as $ is undefined in Plone 3) [hplocher]

0.1 (2010-07-16)

  • Initial release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
collective.portlet.rssjs-0.2.zip (24.5 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page