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>