<?php include "../general.inc"; ?>
<?php doc_header("SlashWAP","SlashWAP"); ?>
<a name="status"><h2>Status</h2></a>
Current stable version is 1.2. Works with slashcode 1.0.9. It should also
with Bender (2.0). Send a mail to
<a href="MAILTO:momo_102@bluemail.ch">me</a>.

<a name="todo"><h2>To Do</h2></a>
<ul>
<li> remove Story-Infos (why not making a seperate page / can be turned on/off)
<!-- <li> link for next/previous Story (can be turned on/off) -->
<li> archive mode (make directories for each story / can be turned on/off)
<li> using some html tags
</ul>

<a name="download"><h2>Download</h2></a>
Get the stable package from
<a href="slashwap-1.1.tar.gz">here</a>.

<a name="install"><h2>Installation</h2></a>
<ol>
<li> Add following lines to your httpd.conf:<br>
# MIME Types for WAP<br>
AddType text/vnd.wap.wml .wml<br>
AddType image/vnd.wap.wbmp .wbmp<br>
AddType application/vnd.wap.wmlc .wmlc<br>
AddType text/vnd.wap.wmlscript .wmls<br>
AddType application/vnd.wap.wmlscriptc .wmlsc<br>
<li> Change directory to the DOCUMENT_ROOT of your slashcode implementation.
<li> mkdir wap
<li> Copy the package to the new wap directory.
<li> cd wap
<li> tar -zxvf slashwap-1.2.tar.gz
<li> Check every .pl file (use lib '/home/slash';) and (my $DIR = "/home/slash/public_html/wap/";) is right.
<li> Add entry to cronjob "/home/slash/public_html/wap/gen.pl < /dev/null > /dev/null 2> /dev/null".
<li> Replace title.wbmp with your logo :-)
</ol>

<a name="config"><h2>Configuration</h2></a>
<table border="1">
<tr><th>File</th><th>Line</th><th>Description</th></tr>
<tr>
  <td rowspan="6">gen.pl</td>
  <td>my $EOL = "\r\n";</td>
  <td>Configuration for end of line.</td>
</tr>
<tr>
  <td>my $DIR = "/home/slash/public_html/wap/";</td>
  <td>Where to save the files.</td>
</tr>
<tr>
  <td>my $MAXTEXT = 1400;</td>
  <td>Max. size of wml-files.</td>
</tr>
<tr>
  <td>my $WAPSTORIES = 10;</td>
  <td>Amount of stories.</td>
</tr>
<tr>
  <td>my $WAPMORE = 1;</td>
  <td>Show more prompt (0/1)</td>
</tr>
<tr>
  <td>my $WAPCOMMENT = 1;</td>
  <td>Show comments (0/1)</td>
</tr>
</table>

<a name="examples"><h2>Examples</h2></a>
List of known SlashWAP (thanks to <a href="http://www.ccwap.de/">ccWAP.de</a>):
<ul>
<li> <a href="#" onClick="javascript:window.open('http://62.40.13.42:8002/browser/?url=http%3A//symlink.ch/wap/&dev=4','browser','width=300,height=450,resizable=no');">Symlink</a>
</ul>

<?php doc_footer(); ?>
