GithubHelp home page GithubHelp logo

jfhovinne / jfeed Goto Github PK

View Code? Open in Web Editor NEW
450.0 450.0 168.0 378 KB

jQuery RSS/ATOM feed parser plugin

Home Page: http://www.hovinne.com/blog/index.php/2007/07/15/132-jfeed-jquery-rss-atom-feed-parser-plugin

License: GNU General Public License v2.0

JavaScript 23.03% Perl 76.41% PHP 0.55%

jfeed's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

jfeed's Issues

Same origin policy

How do I circumvent the same issue policy? It would be wonderful if it was documented in the Read Me.

Namespace Support and new Itunes fields (if any)

Just forked your project because I have been updating it myself to work with the most recent iTunes Podcast RSS XML. Long story short.. if you want to reconfigure this source to work with namespaces, edit up your own: jfeed.js file.. and follow this pattern..

item.description = jQuery(this).find("[nodeName=itunes:summary]").eq(0).text();

Instead of what is currently under the "Item" parsing area. It's important that you double excape the ":" within the namespace.

Enjoy

Unable to handle more than one feed at a time.

Can not call getFeed(..) on several feeds in parallel.

Possible cause:
"var feed" scope issue on success (maybe? did not dig too deep)

Easy Synchronous Fix:
Set "async: false" in JQuery ajax(..) call.

An asynchronous fix would be preferred.

Unable to fetch feed , Error Cross-Origin Request Blocked

Hi
i recently try to use jfeed to get feed and show feed content , but i can't see anythings ... then i use firefox console and see this below error:

" Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://news.google.com/news?pz=1&cf=all&ned=us&hl=en&output=rss. This can be fixed by moving the resource to the same domain or enabling CORS. "

My HTML File--->

<!DOCTYPE HTML>
<html>
<head><title></title>
<meta charset="UTF-8"/>
<script type="text/javascript" src="./jquery.js"></script>
<script type="text/javascript" src="build/dist/jquery.jfeed.pack.js"></script>


</head>
<body>
<div class="panel">
<script type="text/javascript">
jQuery.getFeed({
    //google new rss link
   url     : 'https://news.google.com/news?pz=1&cf=all&ned=us&hl=en&output=rss',
   success : function (feed) {
      console.log(feed.title);
      // do more stuff here
   }
});
</script>
</div>

</body>
</html>

Link to blog post as opposed to blog posting atom feed..?

I'm attempting to use jfeed along with jquery.flips to cycle through blog postings on a site and I'd like to have the title, when clicked, to take the user to the blog page, as opposed to the atom feed.

So when the user clicks the title I want to go to:
http://tellingpictures.blogspot.com/2012/12/lovelace-is-going-to-berlin.html

Instead of:
http://tellingpictures.blogspot.com/feeds/890509426919274484/comments/default

I see that in the XML the link is there - appears to be three links in the structure: the feed, self and alternate and I want the alternate. Looking at the source I think I could do this by modifying jquery.jfeed.js but I'd rather avoid that if possible.

Seems like this would be a relatively commonly desired feature - am I missing something?

The site I'm working on - the jfeed is in the center column just below the main feature element:
http://dev.tellingpictures.com/

[enhancement] Add missing bower.json.

Hey, maintainer(s) of jfhovinne/jFeed!

We at VersionEye are working hard to keep up the quality of the bower's registry.

We just finished our initial analysis of the quality of the Bower.io registry:

7530 - registered packages, 224 of them doesnt exists anymore;

We analysed 7306 existing packages and 1070 of them don't have bower.json on the master branch ( that's where a Bower client pulls a data ).

Sadly, your library jfhovinne/jFeed is one of them.

Can you spare 15 minutes to help us to make Bower better?

Just add a new file bower.json and change attributes.

{
  "name": "jfhovinne/jFeed",
  "version": "1.0.0",
  "main": "path/to/main.css",
  "description": "please add it",
  "license": "Eclipse",
  "ignore": [
    ".jshintrc",
    "**/*.txt"
  ],
  "dependencies": {
    "<dependency_name>": "<semantic_version>",
    "<dependency_name>": "<Local_folder>",
    "<dependency_name>": "<package>"
  },
  "devDependencies": {
    "<test-framework-name>": "<version>"
  }
}

Read more about bower.json on the official spefication and nodejs semver library has great examples of proper versioning.

NB! Please validate your bower.json with jsonlint before commiting your updates.

Thank you!

Timo,
twitter: @versioneye
email: [email protected]
VersionEye - no more legacy software!

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.