Skip to main content

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.

Source Distribution

collective.portlet.rssjs-0.2.zip (24.5 kB view details)

Uploaded Source

File details

Details for the file collective.portlet.rssjs-0.2.zip.

File metadata

File hashes

Hashes for collective.portlet.rssjs-0.2.zip
Algorithm Hash digest
SHA256 e25c4437ba274e57de4a1818fee1d1a4b29a5fb64724b643cacea4eecce5736b
MD5 4bb88fdb4b0e975be2b164c0e68112c3
BLAKE2b-256 732da353cf0262f6c6d0d4f45735c200b8867d718eda52fe4011593ce457ba8b

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page