@@ -88,20 +88,20 @@ class WikipediaNode extends Node {
8888 // load html
8989 htmlLoaded = false ;
9090 htmlString = " " ;
91- String url = encodeURL(" http ://en.wikipedia.org/wiki/" + id);
91+ String url = encodeURL(" https ://en.wikipedia.org/wiki/" + id);
9292 htmlList = GenerativeDesign . loadHTMLAsync(thisPApplet, url, GenerativeDesign . HTML_CONTENT );
9393
9494 // load available links
9595 availableLinksLoaded = false ;
9696 availableLinks = new ArrayList ();
9797 url = encodeURL(" http://en.wikipedia.org/w/api.php?format=xml&action=query&prop=links&titles=" + id+ " &pllimit=500&plnamespace=0&redirects" );
98- linksXML = GenerativeDesign . loadXMLAsync2 (thisPApplet, url);
98+ linksXML = GenerativeDesign . loadXMLAsync (thisPApplet, url);
9999
100100 // load available backlinks
101101 availableBacklinksLoaded = false ;
102102 availableBacklinks = new ArrayList ();
103103 url = encodeURL(" http://en.wikipedia.org/w/api.php?format=xml&action=query&list=backlinks&bltitle=" + id+ " &bllimit=500&blnamespace=0&blredirect" );
104- backlinksXML = GenerativeDesign . loadXMLAsync2 (thisPApplet, url);
104+ backlinksXML = GenerativeDesign . loadXMLAsync (thisPApplet, url);
105105 }
106106 // }
107107 }
@@ -151,7 +151,7 @@ class WikipediaNode extends Node {
151151 else {
152152 String plcontinue = querycontinue. getString(" plcontinue" );
153153 String url = encodeURL(" http://en.wikipedia.org/w/api.php?format=xml&action=query&prop=links&titles=" + id+ " &pllimit=500&plnamespace=0&plcontinue=" + plcontinue);
154- linksXML = GenerativeDesign . loadXMLAsync2 (thisPApplet, url);
154+ linksXML = GenerativeDesign . loadXMLAsync (thisPApplet, url);
155155 }
156156 }
157157 }
@@ -175,7 +175,7 @@ class WikipediaNode extends Node {
175175 else {
176176 String blcontinue = querycontinue. getString(" blcontinue" );
177177 String url = encodeURL(" http://en.wikipedia.org/w/api.php?format=xml&action=query&list=backlinks&bltitle=" + id+ " &bllimit=500&blnamespace=0&blcontinue=" + blcontinue);
178- backlinksXML = GenerativeDesign . loadXMLAsync2 (thisPApplet, url);
178+ backlinksXML = GenerativeDesign . loadXMLAsync (thisPApplet, url);
179179 }
180180 }
181181 }
@@ -335,28 +335,4 @@ class WikipediaNode extends Node {
335335 }
336336
337337
338- }
339-
340-
341-
342-
343-
344-
345-
346-
347-
348-
349-
350-
351-
352-
353-
354-
355-
356-
357-
358-
359-
360-
361-
362-
338+ }
0 commit comments