OJD: Add recent changes list
[eidogo-ojd.git] / source.phtml
blob95e363ef7e3d7043508a9a26b066fc966a09b495
1 <?php include("header.phtml"); ?>
3 <div id="text-content">
5 <h2>Player Source Code</h2>
7 <p>The EidoGo Player (SGF viewer and editor) is an independent piece and can be
8     plugged into any webpage. The basic Player is entirely client-side (browser-based)
9     and does not include the joseki tutor, pattern searching, GNU Go, or saving features.
10     To use these features, you must set up code server-side (see site source code below).</p>
12 <p>All source code is licensed under the <a href="http://www.fsf.org/licensing/licenses/agpl-3.0.html">AGPLv3</a>.
13     In short, this means if you modify the source code, you must allow everyone to see and use those changes
14     &mdash; share and share alike!</p>
16 <h3>Quick Start</h3>
18 <p>Download the Player from <a href="http://code.google.com/p/eidogo/downloads/list">Google Code
19 download page</a> and put the following into your webpage:</p>
21 <pre><code>&lt;script type=&quot;text/javascript&quot; src=&quot;player/js/all.compressed.js&quot;&gt;&lt;/script&gt;
22 &lt;div class=&quot;eidogo-player-auto&quot; sgf=&quot;path/to/sgf/file.sgf&quot;&gt;&lt;/div&gt;
23 </code></pre>
25 <p><a href="/example.html">Here is an example of this in action.</a></p>
27 <div style="float: right; margin-left: 20px" class="eidogo-player-problem" sgf="sgf/problem.sgf"></div>
29 <p>You can also use the problem-solving mode (example on right):</p>
31 <pre style='width: 75%'><code>&lt;div class=&quot;eidogo-player-problem&quot; sgf=&quot;path/to/sgf/file.sgf&quot;&gt;&lt;/div&gt;
32 </code></pre>
34 <p>You can include multiple Players on a page. See the example HTML files in the Player download for more options.</p>
36 <p>If you use the EidoGo Player on your site, <script type="text/javascript">document.write(
37 "<n uers=\"znvygb:wx\100gva\056ah\">yrg zr xabj<\057n>".replace(/[a-zA-Z]/g, function(c){return String.fromCharCode((c<="Z"?90:122)>=(c=c.charCodeAt(0)+13)?c:c-26);}));
38 </script>!</p>
40 <h2>Site Source Code</h2>
42 <p>The latest, cutting-edge source code for the entire EidoGo site, both client-side and server-side,
43     is available in a Subversion repository. You can get at it in two ways:</p>
45 <ol>
46         <li><p><a href="http://eidogo.googlecode.com/svn/">Browse it on the web</a></p></li>
47         <li><p>Perform a checkout from the Subversion repository with the command:</p>
48                 <pre><code>svn co http://eidogo.googlecode.com/svn/trunk/ eidogo</pre></code>
49 </ol>
51 <p>Code contributions welcome!</p>
54 </div>
56 <?php include("footer.phtml"); ?>