Commit 7312b301 authored by Martijn van Beurden's avatar Martijn van Beurden Committed by Erik de Castro Lopo

Fixing news page as well

Signed-off-by: Erik de Castro Lopo's avatarErik de Castro Lopo <erikd@mega-nerd.com>
parent a9aaab4f
......@@ -20,10 +20,10 @@
<script>
function loadXMLDoc(dname) {
var xhttp;
if (window.XMLHttpRequest) {
xhttp=new XMLHttpRequest();
if (window.ActiveXObject) {
xhttp=new ActiveXObject("Msxml2.XMLHTTP.3.0");
} else {
xhttp=new ActiveXObject("Microsoft.XMLHTTP");
xhttp=new XMLHttpRequest();
}
xhttp.open("GET",dname,false);
xhttp.send("");
......@@ -34,7 +34,7 @@
var xml, xsl, xsltProcessor, resultDocument;
document.getElementById("newspagebox").innerHTML='';
xml=loadXMLDoc("feeds/feed.rss");
xml=loadXMLDoc("feeds/feed.xml");
xsl=loadXMLDoc("feeds/rss_transform_news.xsl");
// Proces main newsbox
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment