How can I get the json that this url generates?
It returns a json object as a file to download, I've tried getting the data as jsonp, but it needs a callback in the feed, but I can't generate it cause the server which generates the code is external.
Here is what I've tried:
- $.ajax({
- dataType: 'jsonp',
- url: 'http://nvmodules.netvibes.com/widget/json?uwaUrl=http://www.netvibes.com/api/uwa/examples/digg.xhtml',
- success: function () {
- // doesn't even reach this point, the error already goes off
- },
- });
But I get an error (firefox console says: invalid label).
Couldnt make it work using the get method. And using other data type just would make the incoming data as null (even including ?callback=? in the url).