\input texinfo @c -*- coding: utf-8; mode: texinfo; documentlanguage: nl -*-
@ignore
- Translation of GIT committish: 6908517be0826a3386264cd6d26d742b18e3a227
+ Translation of GIT committish: 12c6693055728e69dce5c4e5a4a2b5f71180a5e2
When revising a translation, copy the HEAD committish of the
version that you are working on. For details, see the Contributors'
@copying
-Copyright @copyright{} 2009--2011 by the authors.
+Copyright @copyright{} 2009--2014 by the authors.
@c next line is necessary for broken pre-4.13 texinfo's
@c install-info, so leave it there until we officially
@ifclear web_version
@c do nothing
@end ifclear
+@ifset web_version
+ @c make the box:
+@divId{wildCardBox}
+@subheading Twitter nieuws
+@divId{wildCardText}
+
+@divEnd
+@divEnd
+@end ifset
+
+@html
+
+<script language="JavaScript" type="text/javascript">
+ function loadXMLDoc(dname)
+ {
+ if (window.XMLHttpRequest)
+ {
+ xhttp=new XMLHttpRequest();
+ }
+ else
+ {
+ xhttp=new ActiveXObject("Microsoft.XMLHTTP");
+ }
+ xhttp.open("GET",dname,false);
+ xhttp.send();
+ return xhttp.responseXML;
+ }
+
+ var xmlDoc = loadXMLDoc("tweets.xml");
+ var tweets = xmlDoc.getElementsByTagName("tweet");
+ var index = Math.floor(Math.random() * tweets.length);
+ var tweet = tweets[index];
+ var text = tweet.childNodes[0];
+ document.getElementById("wildCardText").innerHTML = text.nodeValue;
+</script>
+
+@end html
+
@ifset web_version
@c make the box:
@divId{latestVersion}
@macro docLinkSplit{name,base,webLink}
-@ifclear web_version
- @uref{../\base\/index.html, \name\ (split HTML)}
-@end ifclear
-@ifset web_version
- \webLink\
-@end ifset
+ @docLink{\name\ (split HTML),\base\/index.html,\webLink\}
@end macro
@macro docLinkBig{name,base,webLink}
-@ifclear web_version
- @uref{../\base\-big-page.html, \name\ (big HTML)}
-@end ifclear
-@ifset web_version
- \webLink\
-@end ifset
+ @docLink{\name\ (big HTML),\base\-big-page.html,\webLink\}
@end macro
@macro docLinkPdf{name,base,webLink}
-@ifclear web_version
- @uref{../\base\.pdf, \base\.pdf}
-@end ifclear
-@ifset web_version
- \webLink\
-@end ifset
+ @docLink{\base\.pdf,\base\.pdf,\webLink\}
@end macro