SlashWAP

Start
PDA
WAP
Print
Jabba

Status

Current stable version is 1.2. Works with slashcode 1.0.9. It should also with Bender (2.0). Send a mail to me.

To Do

  • remove Story-Infos (why not making a seperate page / can be turned on/off)
  • archive mode (make directories for each story / can be turned on/off)
  • using some html tags

Download

Get the stable package from here.

Installation

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

Configuration

FileLineDescription
gen.pl my $EOL = "\r\n"; Configuration for end of line.
my $DIR = "/home/slash/public_html/wap/"; Where to save the files.
my $MAXTEXT = 1400; Max. size of wml-files.
my $WAPSTORIES = 10; Amount of stories.
my $WAPMORE = 1; Show more prompt (0/1)
my $WAPCOMMENT = 1; Show comments (0/1)

Examples

List of known SlashWAP (thanks to ccWAP.de):