\input texinfo @c -*- coding: utf-8; mode: texinfo; documentlanguage: es -*-
@ignore
- Translation of GIT committish: 18e1018ce7446f2cb86990c31f112f6cf05ca371
+ Translation of GIT committish: a8841c7b9212700f2ebac56e0713afa78a8f0ca0
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--2011 by the authors.
+@c Copyright @copyright{} 2009--2012 by the authors.
@c @end macro
@set FDL
@c Translators: Francisco Vila
@copying
-Copyright @copyright{} 2009--2011 por los autores.
+Copyright @copyright{} 2009--2012 por los autores.
@c next line is necessary for broken pre-4.13 texinfo's
@c install-info, so leave it there until we officially
@c TITLE PAGE
@ifnottex
-@node Arriba
+@node Top
@top LilyPond... notación musical para todos
@translationof Top
@end ifnottex
@end ifclear
@ifset web_version
@c make the box:
-@divId{latestVersion}
+@divId{wildCardBox}
+@subheading Novedades
+@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-es.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}
@subheading Enlaces rápidos
@c TODO: javascript to detect OS and suggest download?
@macro docLinkSplit{name,base,webLink}
-@ifclear web_version
- @uref{../\base\/index.html, \name\ (HTML seccionado)}
-@end ifclear
-@ifset web_version
- \webLink\
-@end ifset
+ @docLink{\name\ (HTML seccionado),\base\/index.html,\webLink\}
@end macro
@macro docLinkBig{name,base,webLink}
-@ifclear web_version
- @uref{../\base\-big-page.html, \name\ (HTML monolítico)}
-@end ifclear
-@ifset web_version
- \webLink\
-@end ifset
+ @docLink{\name\ (HTML monolítico),\base\-big-page.html,\webLink\}
@end macro
@macro docLinkPdf{name,base,webLink}
-@ifclear web_version
- @uref{../\base\.es.pdf, \base\.es.pdf}
-@end ifclear
-@ifset web_version
- \webLink\
-@end ifset
+ @docLink{\base\.es.pdf,\base\.es.pdf,\webLink\}
@end macro