Skip to content
Switch branches/tags

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time

Display RSS Component

This is a Web Component that uses Polymer to create it and to provide a fallback in case the browser don't support web components.

It provides a component that fetches any RSS feed and displays it (with no style, you can customize that part).

Has a dependency on polymer-jsonp.html but that's installed with bower.

The component uses the Google Feed JSON Url to jsonp any feed.

You can find a working demo here:

To know more about web components there are tons of resources available.


Via Bower

bower install --save display-rss



You have to have installed bower, and compass. To install the first two you'll need node too.


Once you have all those and cloned the repo, go to the root of the project and run:

bower install

That will download all the js and css dependencies of the project.

Then run:

npm install

This will download all the node dependencies (including grunt)

Finally you can launch the demo running:

grunt serve

You can build the project ready for production like this:

grunt build

That will leave everything ready on the /dist folder

How to use

There's an example/demo on the index.html of this project, but basically, you first need to include the platform.js:

<script src="bower_components/platform/platform.js"></script>

Then, just below import the html of the element:

<link rel="import" href="elements/display-rss.html">

And finally place the element where you want it using the attributes that you need:


You can also define a url, number of entries or refresh time:

<display-rss url="" entries="20" refresh="10000"></display-rss>

Attributes summary

Attribute Functionality Default
url Defines the url of the feed you want BBC News feed
entries Defines how many entries you want displayed 10
refresh If different than 0 refreshes the feed every X milliseconds 0


Polymer Web Component that fetches any RSS url and displays any number of entries, can also refresh itself.



No releases published


No packages published