news.html 3.42 KB
Newer Older
1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
<!--  Copyright (c) 2000-2009  Josh Coalson, 2011-2014 Xiph.Org Foundation -->
3 4 5 6 7 8 9 10 11 12 13 14 15 16
<!-- Permission is granted to copy, distribute and/or modify this document -->
<!-- under the terms of the GNU Free Documentation License, Version 1.1 -->
<!-- or any later version published by the Free Software Foundation; -->
<!-- with no invariant sections. -->
<!-- A copy of the license can be found at http://www.gnu.org/copyleft/fdl.html -->
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
	<meta name="author" content="Josh Coalson" />
	<meta name="description" content="A free, open source codec for lossless audio compression and decompression" />
	<meta name="keywords" content="free,lossless,audio,codec,encoder,decoder,compression,compressor,archival,archive,archiving,backup,music" />
	<link rel="shortcut icon" type="image/x-icon" href="favicon.ico" />
	<link rel="stylesheet" type="text/css" href="flac.css" />
	<title>FLAC - news</title>
17 18 19


	<script type="text/javascript">
20 21
	function loadXMLDoc(dname) {
	  var xhttp;
Martijn van Beurden's avatar
Martijn van Beurden committed
22 23
	  if (window.ActiveXObject) {
	    xhttp=new ActiveXObject("Msxml2.XMLHTTP.3.0");
24
	  } else {
Martijn van Beurden's avatar
Martijn van Beurden committed
25
	    xhttp=new XMLHttpRequest();
26
	  }
27
	  xhttp.open("GET",dname,false);
28 29 30 31 32 33 34 35
	  xhttp.send("");
	  return xhttp.responseXML;
	}

	function displayResult() {
	  var xml, xsl, xsltProcessor, resultDocument;
	  document.getElementById("newspagebox").innerHTML='';

Martijn van Beurden's avatar
Martijn van Beurden committed
36
	  xml=loadXMLDoc("feeds/feed.xml");
37
	  xsl=loadXMLDoc("feeds/rss_transform_news.xsl");
38

39 40 41 42 43 44 45 46 47 48 49 50 51 52
	  // Proces main newsbox
	  if (window.ActiveXObject) {
	    // code for IE
	    ex=xml.transformNode(xsl);
	    document.getElementById("newspagebox").innerHTML=ex;
	  } else if (document.implementation && document.implementation.createDocument) {
	    // code for Mozilla, Firefox, Opera, etc.
	    xsltProcessor=new XSLTProcessor();
	    xsltProcessor.importStylesheet(xsl);
	    resultDocument = xsltProcessor.transformToFragment(xml,document);
	    document.getElementById("newspagebox").appendChild(resultDocument);
	  }
	}
	</script>
53 54
</head>

55
<body onload="displayResult()">
56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81

<div class="logo">
	<a href="index.html"><img src="images/logo130.gif" alt="FLAC Logo" align="middle" border="0" hspace="0" /></a>
</div>

<div class="above_nav"></div>

<div class="navbar">
	&nbsp;<a href="index.html">home</a>&nbsp;&nbsp;|
	&nbsp;<a href="faq.html">faq</a>&nbsp;&nbsp;|
	&nbsp;news&nbsp;&nbsp;|
	&nbsp;<a href="download.html">download</a>&nbsp;&nbsp;|
	&nbsp;<a href="documentation.html">documentation</a>&nbsp;&nbsp;|
	&nbsp;<a href="comparison.html">comparison</a>&nbsp;&nbsp;|
	&nbsp;<a href="changelog.html">changelog</a>&nbsp;&nbsp;|
	&nbsp;<a href="links.html">links</a>&nbsp;&nbsp;|
	&nbsp;<a href="developers.html">developers</a>&nbsp;
</div>

<div class="below_nav"></div>

<div class="box">
	<div class="box_title">
		news
	</div>
	<div class="box_header"></div>
82
	<div class="box_body" id="newspagebox">
83 84 85 86 87 88 89 90 91 92 93

	</div>
	<div class="box_footer"></div>
</div>


<div class="copyright">
	<!-- @@@ oh so hacky -->
	<table>
		<tr>
			<td align="left">
94
				 Copyright (c) 2000-2009  Josh Coalson, 2011-2014 Xiph.Org Foundation
95 96
			</td>
			<td width="1%" align="right">
97
				<a href="http://validator.w3.org/check?uri=referer"><img src="images/valid-xhtml10.png" alt="Valid XHTML 1.0!" height="31" width="88" border="0" hspace="0" /></a>
98 99 100 101 102 103 104
			</td>
		</tr>
	</table>
</div>

</body>
</html>