FeedEk is a jQuery plugin for parsing and displaying RSS and Atom feeds. You can obtain feeds easily from any domain. No need for server-side scripts. Feed API is used for fetching RSS/Atom feed data.
1- Include jQuery and FeedEk plugin scripts into your page.
<script type="text/javascript" src="https://code.jquery.com/jquery-1.9.1.min.js"></script>
<script type="text/javascript" src="FeedEk.min.js"></script>
2- Add a placeholder for the plugin to your page.
<div id="divRss"></div>
3- Call the plugin.
- Basic
$('#divRss').FeedEk({
FeedUrl : 'https://jquery-plugins.net/rss',
});
- With Options
$('#divRss').FeedEk({
FeedUrl : 'https://jquery-plugins.net/rss',
MaxCount : 5,
ShowDesc : true,
ShowPubDate:true,
DescCharacterLimit:100,
TitleLinkTarget:'_blank'
});
- With Date Format Options
$('#divRss').FeedEk({
FeedUrl : 'https://jquery-plugins.net/rss',
MaxCount : 5,
ShowDesc : true,
ShowPubDate:true,
DescCharacterLimit:100,
TitleLinkTarget:'_blank',
DateFormat : 'MM/dd/yyyy',
DateFormatLang : 'en'
});
- FeedUrl Your Feed Url and it's required
- MaxCount
Feed Item Count. Default is
5
- ShowDesc
Option to show Feed Item Description. Default is
true
- ShowPubDate
Option to show Feed Item Publish Date. Default is
true
- DescCharacterLimit Feed Description Characters Limit Count. Default is no limit
- TitleLinkTarget
Option for Feed Title Link Target. Default is
_blank
- DateFormat Option for Feed Publish Date Format. Default is none
- DateFormatLang
Option for Feed Publish Date Format Language for localization. Default is
en