SlashWAP
Status
Current stable version is 1.2. Works with slashcode 1.0.9. It should also with Bender (2.0). Send a mail to
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: {phocadownload view=file|id=9}
Installation
- Add following lines to your file httpd. conf (please remove the space):
# 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 - Change directory to the DOCUMENT_ROOT of your slashcode implementation.
- mkdir wap
- Copy the package to the new wap directory.
- cd wap
- tar -zxvf slashwap-1.2.tar.gz
- Check every .pl file (use lib '/home/slash';) and (my $DIR = "/home/slash/public_html/wap/";) is right.
- Add entry to cronjob "/home/slash/public_html/wap/gen.pl < /dev/null > /dev/null 2> /dev/null".
- Replace title.wbmp with your logo :-)
Configuration
File | Line | Description |
---|---|---|
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) |