@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--2015 by the authors.
@c @end macro
@set FDL
@end ignore
@copying
-Copyright @copyright{} 2009--2011 by the authors.
+Copyright @copyright{} 2009--2015 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
@c @im ageId{cmws,web-snippet-alpha.png,Catchy Musical Web Snippet}
@divId{quickSummary}
-@subheading Mi az a LilyPond?
A LilyPond egy nyílt forrású kottaszedő program,
mely a lehető legjobb minőségű kotta előállítására képes.
@divId{news}
@c TODO: generate this automatically, including RSS feed.
-@include web/news-front.itexi
+@include web/news-headlines.itexi
@divClass{float-right}
(@ref{Hírarchívum})
@c do nothing
@end ifclear
@ifset web_version
- @c make the box:
-@divId{latestVersion}
-@subheading Gyorslinkek
+ @c make the side bar:
+@divId{homePageSideBar}
+@subheading Stabil változat
@c TODO: javascript to detect OS and suggest download?
-@subsubheading Stabil
-
@ref{Letöltés, Letöltés @versionStable}
@ref{Dokumentáció, Dokumentáció @versionStable}
-@subsubheading Fejlesztői
+@subheading Fejlesztői változat
@ref{Fejlesztés, Letöltés @versionDevel}
@ref{Fejlesztés, Dokumentáció @versionDevel}
+@subheading Aktuális
+@divId{pondingsText}
+
+@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("pondingsText").innerHTML = text.nodeValue;
+</script>
+
+@end html
@ifnottex
@bye
+