Giter VIP home page Giter VIP logo

feedek's Introduction

FeedEk jQuery RSS/ATOM Feed Plugin

FeedEk is a jQuery plugin for parsing and displaying RSS and Atom feeds. FeedEk uses Google Feed API to retrieve feeds.

You can obtain feeds easily from any domain. No need for server-side scripts.

Plugin Homepage

Demo

Usage

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

 <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script>
 <script type="text/javascript" src="FeedEk.js"></script>

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

<div id="divRss"></div>

3- Call the plugin.

- Basic

$('#divRss').FeedEk({
    FeedUrl : 'http://rss.cnn.com/rss/edition.rss',
  });

- With Options

$('#divRss').FeedEk({
    FeedUrl : 'http://rss.cnn.com/rss/edition.rss',
    MaxCount : 5,
    ShowDesc : true,
    ShowPubDate:true,
    DescCharacterLimit:100,
    TitleLinkTarget:'_blank'
  });

- With Date Format Options

('#divRss').FeedEk({
    FeedUrl : 'http://rss.cnn.com/rss/edition.rss',
    MaxCount : 5,
    ShowDesc : true,
    ShowPubDate:true,
    DescCharacterLimit:100,
    TitleLinkTarget:'_blank',
	DateFormat:'MM/DD/YYYY',
	DateFormatLang:'en'
  });

IMPORTANT : Moment.js is used for DateFormat options. You must include Moment.js for date format. If you want to localize date format (day name, month name) you must include Moment.js with langs instead.

Please visit format examples and languages. for more information.

Check out FeedEk examples page for date format usage.

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

Demo

Plugin Homepage

Demo

feedek's People

Contributors

enginkizil avatar

Watchers

James Cloos avatar Manoj avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.