Issue loading xml-feed in p5js

Hey

I am having issues loading simple xml-feeds in p5.js. It seems like the feed never loads?

The link for the (example) xml feed is ekstrabladet.dk/rss2/?mode=normal&submode=sport. I am using the p5.js editor.

var xml;

function preload() {
  var url = 'http://ekstrabladet.dk/rss2/?mode=normal&submode=sport';
  xml = loadXML(url);
}

function setup() {
  print(xml);
}

Answers

Sign In or Register to comment.