.

L

.

Global Peace Index - TEST PAGE

function getCountryConflictInfo() { function parseXMLDoc() { var xhttp = new XMLHttpRequest(); xhttp.onreadystatechange = function() { if (this.readyState == 4 && this.status == 200) { showResult(xhttp.responseXML); } }; xhttp.open("GET", "https://downmystreetandupyours.org/public/rsspdl/p/i/?a=rss&user=pdlussie&token=&hours=168", true); xhttp.send(); function showResult(xml) { var txt = ""; path = "item/title"; if (xml.evaluate) { var nodes = xml.evaluate(path, xml, null, XPathResult.ANY_TYPE, null); var result = nodes.iterateNext(); while (result) { txt += result.childNodes[0].nodeValue + "
"; result = nodes.iterateNext(); } // Code For Internet Explorer } else if (window.ActiveXObject || xhttp.responseType == "msxml-document") { xml.setProperty("SelectionLanguage", "XPath"); nodes = xml.selectNodes(path); for (i = 0; i < nodes.length; i++) { txt += nodes[i].childNodes[0].nodeValue + "
"; } } document.getElementById("mapmodalFeed").innerHTML = txt; } }