jfhovinne / jfeed Goto Github PK
View Code? Open in Web Editor NEWjQuery 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
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
this my sample data in rss
http://amin007.github.io/phparastinggi/rangka-dawai/contoh/5/rss-ke-json/api_jakim.xml
how i can access elemen dc:date05-07-2017 11:12:14</dc:date>
i get data from http://www2.e-solat.gov.my/xml/today/index.php?zon=JHR04
How do I circumvent the same issue policy? It would be wonderful if it was documented in the Read Me.
When using this library, I get an error that $ is undefined in jquery.jfeed.js on line 21. Changing $ to jQuery fixes it.
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.
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
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>
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/
I use jQuery v1.11.3 | (c)
Version of feed on http://hovinne.com/articles/jfeed-jquery-rss-atom-feed-parser-plugin is out of date, and did not contain e.g. the failure
option. (I did not see the GitHub page at first.)
Due to a namespaced content tag content:encoded for which I can't find a workaround...
Calls to eval() are blocked by my CSP as such this code will not run
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!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.