index.html 6.13 KB
Newer Older
1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Martijn van Beurden's avatar
Martijn van Beurden committed
2
<!--  Copyright (c) 2000-2009  Josh Coalson, 2011-2013 Xiph.Org Foundation -->
3 4 5 6 7 8 9 10 11 12 13 14 15
<!-- 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" />
16
	<link rel="alternate" type="application/rss+xml" title="FLAC News" href="feeds/feed.xml"/>
17
	<title>FLAC - Free Lossless Audio Codec</title>
18 19 20
	<script>
	function loadXMLDoc(dname) {
	  var xhttp;
21 22
	  if (window.ActiveXObject) {
	    xhttp=new ActiveXObject("Msxml2.XMLHTTP.3.0");
23
	  } else {
24
	    xhttp=new XMLHttpRequest();
25 26 27 28 29 30 31 32 33 34 35 36
	  }
	  xhttp.open("GET",dname,false);
	  xhttp.send("");
	  return xhttp.responseXML;
	}

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

37
	  xml=loadXMLDoc("feeds/feed.xml");
38 39 40 41 42 43
	  xsl=loadXMLDoc("feeds/rss_transform_home.xsl");
	  xsl_sidebar=loadXMLDoc("feeds/rss_transform_sidebar.xsl");
  
	  // Proces newssection
	  if (window.ActiveXObject) {
	    // code for IE
Martijn van Beurden's avatar
Martijn van Beurden committed
44
	    ex=xml.transformNode(xsl);
45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67
	    document.getElementById("newsbox").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("newsbox").appendChild(resultDocument);
	  }
	  
	  // Proces sidebar
	  if (window.ActiveXObject) {
	    // code for IE
	    ex=xml.transformNode(xsl_sidebar);
	    document.getElementById("newssmallbox").innerHTML=ex;
	  } else if (document.implementation && document.implementation.createDocument) {
	    // code for Mozilla, Firefox, Opera, etc.
	    xsltProcessor=new XSLTProcessor();
	    xsltProcessor.importStylesheet(xsl_sidebar);
	    resultDocument = xsltProcessor.transformToFragment(xml,document);
	    document.getElementById("newssmallbox").appendChild(resultDocument);
	  }
	}
	</script>
68 69
</head>

70
<body onload="displayResult()">
71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93

<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;home&nbsp;&nbsp;|
	&nbsp;<a href="faq.html">faq</a>&nbsp;&nbsp;|
	&nbsp;<a href="news.html">news</a>&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>

<table border="0" cellpadding="0" cellspacing="0">
	<tr>
94
		<td width="65%" align="center" valign="top">
95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111

			<div class="box">
				<div class="box_title">
					<a name="what_is_flac">what is FLAC?</a>
				</div>
				<div class="box_header"></div>
				<div class="box_body">
					FLAC stands for Free Lossless Audio Codec, an audio format similar to MP3, but lossless, meaning that audio is compressed in FLAC without any loss in quality.  This is similar to how Zip works, except with FLAC you will get much better compression because it is designed specifically for audio, and you can play back compressed FLAC files in your favorite player (or your car or home stereo, see <a href="links.html#hardware">supported devices</a>) just like you would an MP3 file.<br />
					<br />
					FLAC stands out as the <a href="comparison.html">fastest and most widely supported lossless audio codec</a>, and the only one that at once is non-proprietary, is unencumbered by patents, has an open-source reference implementation, has a well documented format and API, and has several other independent implementations.<br />
					<br />
					See <a href="features.html">About FLAC</a> for more, or <a href="documentation_tasks.html">Using FLAC</a> for how to play FLAC files, rip CDs to FLAC, etc.
				</div>
				<div class="box_footer"></div>
			</div>

			<br />
112

113 114
			<div class="box">
				<div class="box_title">
115
					<a name="latest">latest news&nbsp;&nbsp;<a href="feeds/feed.xml"><img src="images/feed-icon-16x16.png" border="0" hspace="0" style="text-align: center" /></a>
116 117
				</div>
				<div class="box_header"></div>
118 119
				<div class="box_body" id="newsbox">
					It seems you've disables Javascript. This news feed requires it. Sorry
120 121 122 123 124 125 126
				</div>
				<div class="box_footer"></div>
			</div>

		</td>


127
		<td width="35%" align="center" valign="top">
128 129 130

			<div class="smallbox">
				<div class="smallbox_title">
131
					news</a>
132 133
				</div>
				<div class="smallbox_header"></div>
134 135
				<div class="smallbox_body" id="newssmallbox">
					It seems you've disables Javascript. This news feed requires it. Sorry
136 137 138 139 140 141 142 143 144 145 146 147 148 149
				</div>
				<div class="smallbox_footer"></div>
			</div>

		</td>
	</tr>
</table>


<div class="copyright">
	<!-- @@@ oh so hacky -->
	<table>
		<tr>
			<td align="left">
Martijn van Beurden's avatar
Martijn van Beurden committed
150
				 Copyright (c) 2000-2009  Josh Coalson, 2011-2013 Xiph.Org Foundation
151 152 153 154 155 156 157 158 159 160
			</td>
			<td width="1%" align="right">
				<a href="http://validator.w3.org/check?uri=referer"><img src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0!" height="31" width="88" border="0" hspace="0" /></a>
			</td>
		</tr>
	</table>
</div>

</body>
</html>