Lightweight jQuery RSS Reader Using Yahoo API - htmlfromrss.js

File Size: 5.26 KB
Views Total: 2593
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
   
Lightweight jQuery RSS Reader Using Yahoo API - htmlfromrss.js

htmlfromrss.js is a lightweight jQuery RSS Aggregator / Reader that parses and displays multiple RSS / ATOM feeds using the Yahoo's YQL library.

How to use it:

1. Include the style sheet htmlfromrss.css in the head, and the JavaScript htmlfromrss.js at the bottom of the webpage.

<link rel="stylesheet" href="src/htmlfromrss.css">
<script src="//code.jquery.com/jquery.min.js"></script>
<script src="src/htmlfromrss.js"></script>

2. Create an empty element and use data-htmlfromrss to specify the RSS url you want to fetch.

<div class="demo" data-htmlfromrss="http://feeds.feedburner.com/jquery-script"></div>

3. Initialize the RSS reader and specify how many entries allowed to be displayed in the webpage.

$(".demo").htmlfromrss(
  limit = 10
);

This awesome jQuery plugin is developed by bachors. For more Advanced Usages, please check the demo page or visit the official website.