Socket
Socket
Sign inDemoInstall

feedek

Package Overview
Dependencies
0
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    feedek

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.


Version published
Weekly downloads
13
decreased by-13.33%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

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="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

  • 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
  • Offset Offset option for pagination. Default is 0
  • ShowAuthor Option to show Author of Feed Item. Default is false
  • AuthorLabel Option to set title of author label. Default is Author:. ShowAuthor option must be true to set AuthorLabel.
  • Success Callback to manipulate the DOM element wich contains the Feed Items after the load.
  • Error Callback when error occurs during fetching feeds.

Demo

Plugin Homepage

Demo

Keywords

FAQs

Last updated on 04 Feb 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc