0

I am getting the error:

XMLHttpRequest cannot load http://backend.deviantart.com/rss.xml?q=favby%3Aseventhfairy%2F52610498&type=deviation. Origin null is not allowed by Access-Control-Allow-Origin

I have searched a lot, all the answers suggest trying to use a remote server, the file i'm trying to access is already online not on my machine

Here is my piece of ajax code

$(document).ready(function(){
    $.ajax({
        type: "GET",
        url: "http://backend.deviantart.com/rss.xml?q=favby%3Aseventhfairy%2F52610498&type=deviation",
        //url: "rss.xml",
        async: false,
        dataType: "xml",
        success: xmlParser
    });
});

Thanks in advance,

Antony
  • 14,900
  • 10
  • 46
  • 74
  • 1
    You can't access file from different domain, you need to access that file from your own domain, where you are running this script – Adil Shaikh Apr 28 '13 at 10:03
  • I am running the script on my PC, and I need to get the feed from another website, in this case DeviantArt. I don't know what to do – SHouSHa Apr 28 '13 at 10:11
  • and actually the links you guys posted do not solve my problem at all – SHouSHa Apr 28 '13 at 10:34

0 Answers0