Comments (3)
@makc Yes, that's one way, but an even easier way is CrossOrgin.Me, so all you have to do is this:
<!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: 'http://crossorigin.me/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>
Just add http://crossorigin.me/ before the URL, and you're good to go!
from jfeed.
maybe use something like https://github.com/softius/php-cross-domain-proxy
from jfeed.
Any Help?
from jfeed.
Related Issues (12)
- Does Not return item.description from XML (RSS) documents HOT 1
- Is not compatible with CSP
- Link to blog post as opposed to blog posting atom feed..? HOT 1
- Namespace Support and new Itunes fields (if any)
- Unable to handle more than one feed at a time.
- [enhancement] Add missing bower.json.
- Uncaught TypeError: Cannot read property 'msie' of undefined HOT 7
- read element <dc:date> in xml
- $ is undefined in jquery.jfeed.js line 21 HOT 1
- Update download on home page HOT 1
- Same origin policy HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jfeed.