<?php
/*
   The Index software may be freely distributed.
   See license.txt for details.
*/
define('ROOT', './');

include(ROOT . 'text.inc');
include(ROOT . 'counts/count.inc');
include(ROOT . 'layout.inc');
include(ROOT . 'list/list.inc');
include(ROOT . 'notes/notes.inc');

start_page();

?>
<h2>What is this?</h2>

<p>The NetHack Index was first created in February 1999, when I wanted to 
bookmark all sites that had something to do with my favourite game, NetHack.
It was updated now and then, when I felt like it, but always too late. Later 
I added an e-mail form to enable visitors to submit sites to the Index, but
the updating was still done by hand.
</p>

<p>For a long time I wanted something more interactive. The ability to add
notes that you can find on the <a href="http://www.php.net/">PHP site</a>
appealed to me, so I decided to copy that idea. I took a close look at 
<a href="http://www.wikipedia.com">Wikipedia</a> and
<a href="http://www.h2g2.com">h2g2</a>, added some ideas of my own, and 
created the interactive NetHack Index.</p>

<p>So from now on, it's not my fault when the Index is outdated :-) Go ahead
and update it yourself!</p>

<h2>How does it work?</h2>

<p>The main page shows the NetHack Index, much in the same way the original,
static Index did. However, in the left pane, several search an sort options are
present.</p>

<p>The "Random Site of the Day" is one site of the NetHack Index that is
chosen to be special for a day. This is done completely randomly; being
Site of the Day doesn't mean the site is better, more interesting or rather
more boring than others. It is just a way to bring an otherwise unknown
site into the spotlight for one day.</p>

<p>Any time you follow a link to an external site, this is counted; the
number of pageviews is displayed under each items. This way the popularity of a
site is tracked.</p>

<p>Each item has an "Add notes" link attached to it. This allows you to add
your own comments to that item. If you think the information for an item is 
outdated, incomplete or just plain wrong, add a note. All visitors to the
NetHack Index can see your notes; and at a certain time, an Editor will
incorporate your information into the item. This way visitors can help keeping
the Index up-to-date.</p>

<p>If you choose "Show/Add notes" from the top of the page, you can add
general notes that are not associated to an item in the list. Here you can 
place general remarks.</p>

<p>If you want to submit an entirely new item to the NetHack Index, you can
do so by choosing "Submit an item" from the links on the top of the page.
Your new item will be added to a special category, "Visitor's items", that
appears on the bottom of the main index. An Editor will review these items;
when approved, they will be added to the main index.</p>

<p>The "Changes" page lists items that have been edited, added or deleted 
the last period, and items that were commented on. If you visit the Index
regularly, this is the place where you can keep track of what happens.</p>

<h2>Sources</h2>

<p>If you want to know exactly how it works, you can have a look at the source 
code; every page has a "View source" link on the bottom. You can use the
software for your own Index, as long as you stick to the following license:</p>

<h3>License</h3>

<p>Copyright &copy; 2002 Dion Nicolaas</p>
<p>This software is provided 'as-is', without any express or implied
warranty.  In no event will the author be held liable for any damages
arising from the use of this software.</p>
Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it
freely, subject to the following restrictions:
<ol>
    <li>The origin of this software must not be misrepresented; you must not
    claim that you wrote the original software. If you use this software in a
    product, an acknowledgment in the product documentation would be
    appreciated but is not required.

   <li>Altered source versions must be plainly marked as such, and must not be
   misrepresented as being the original software.

   <li>This notice may not be removed or altered from any source distribution.
</ol>
<p><small>(License borrowed from zlib.)</small></p>

<h3>History</h3>
<small><pre>
<?php include("history.txt"); ?>
</pre></small>


<?php
end_page();
?>