enginkizil / FeedEk

FeedEk jQuery RSS/ATOM Feed Plugin
https://jquery-plugins.net/FeedEk/FeedEk.html
MIT License
207 stars 107 forks source link
atom feed feed-reader javascript jquery jquery-plugin rss rss-reader

FeedEk jQuery RSS/ATOM Feed Plugin

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.

Plugin Homepage

Demo

Feed API Docs

Usage

1- Include jQuery and FeedEk plugin scripts into your page.

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<script type="text/javascript" src="https://github.com/enginkizil/FeedEk/raw/master/FeedEk.min.js"></script>

2- Add a placeholder for the plugin to your page.

<div id="divFeed"></div>

3- Call the plugin.

- Basic

$('#divFeed').FeedEk({
    FeedUrl : 'https://jquery-plugins.net/rss',
});

- Multiple Feed Url

$('#divFeed').FeedEk({
    FeedUrl : ['https://jquery-plugins.net/rss','http://rss.cnn.com/rss/cnn_topstories.rss']
});

- With Options

$('#divFeed').FeedEk({
    FeedUrl : 'https://jquery-plugins.net/rss',
    MaxCount : 5,
    ShowDesc : true,
    ShowPubDate:true,
    DescCharacterLimit:100,
    TitleLinkTarget:'_blank',
    DateFormat : 'MM/dd/yyyy',
    DateFormatLang : 'en',
    Offset: 5,
    ShowAuthor: true,
    AuthorLabel:"Author:",
    Success: function (feedItems) { },
    Error: function (error) { }
});

Options

Demo

Plugin Homepage

Demo