\input texinfo @c -*- coding: utf-8; mode: texinfo; documentlanguage: fr -*-
@ignore
- Translation of GIT committish: d9797f5c810532eca033668789a46e1e06dd0ae2
+ Translation of GIT committish: 2f50167dc8769e690b985c3b92cabdc35a725344
When revising a translation, copy the HEAD committish of the
version that you are working on. For details, see the Contributors'
@c `Web' was imported 2009-08-05 with git commit b938d71...
@c @macro copyrightDeclare
-@c Copyright @copyright{} 2009--2010 par les auteurs.
+@c Copyright @copyright{} 2009--2014 par les auteurs.
@c @end macro
@set FDL
@include macros.itexi
@include weblinks.itexi
-@afourpaper
@c don't remove this comment.
@ignore
@c Translators checkers: Jean-Charles Malahieude
@copying
-Copyright @copyright{} 2009--2010 par les auteurs.
+Copyright @copyright{} 2009--2014 par les auteurs.
@c next line is necessary for broken pre-4.13 texinfo's
@c install-info, so leave it there until we officially
@divEnd
+@ifclear web_version
+ @c do nothing
+@end ifclear
+@ifset web_version
+ @c make the box:
+@divId{wildCardBox}
+@subheading DĂ©pĂȘches
+@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
+
+
@ifclear web_version
@c do nothing
@end ifclear
@macro docLinkSplit{name,base,webLink}
-@ifclear web_version
- @uref{../\base\/index.html, \name\ (HTML multipages)}
-@end ifclear
-@ifset web_version
- \webLink\
-@end ifset
+ @docLink{\name\ (HTML multipages),\base\/index.html,\webLink\}
@end macro
@macro docLinkBig{name,base,webLink}
-@ifclear web_version
- @uref{../\base\-big-page.html, \name\ (HTML page unique)}
-@end ifclear
-@ifset web_version
- \webLink\
-@end ifset
+ @docLink{\name\ (HTML page unique),\base\-big-page.html,\webLink\}
@end macro
@macro docLinkPdf{name,base,webLink}
-@ifclear web_version
- @uref{../\base\.pdf, \base\.fr.pdf}
-@end ifclear
-@ifset web_version
- \webLink\
-@end ifset
+ @docLink{\base\.fr.pdf,\base\.pdf,\webLink\}
@end macro