I am trying to read yahoo news feed from SharePoint site and its a cross domain access. I am using mentioned code to access but getting below error, I have gone thru lots of sites and blogs but still no luck. (I am running this code in Chrome console)
Uncaught SyntaxError: Unexpected token <
$.ajax({
type:"GET",
url:"https://www.yahoo.com/news/rss/world",
dataType: "jsonp",
success: function(data){
console.log(data);
}
});
Please suggest!