• asc_handler.js

    From MRoblivious1bmf@VERT to All on Saturday, July 15, 2006 14:38:24
    hey, how do i impliment asc_handler.js?


    i tried using jsexec, but i guess i have to rig it up on my web somehow, huh?

    --- Synchronet 3.13a-Win32 NewsLink 1.84
    * eob - Racine, WisconSIN - telnet://eob.darktech.org
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to MRoblivious1bmf on Saturday, July 15, 2006 23:51:17
    Re: asc_handler.js
    By: MRoblivious1bmf to All on Sat Jul 15 2006 02:38 pm

    hey, how do i impliment asc_handler.js?


    i tried using jsexec, but i guess i have to rig it up on my web somehow, huh

    I know I already told you this in IRC, but for everyone else's sake, I've updated asc_handler.js with comments at the beginning of the file explaining the ways in which it can be used:

    // This module converts ANSI, Ex-ASCII, and Ctrl-A encoded files to HTML

    // The filename to encode may be passed on the command-line (e.g. running
    // this module using jsexec) or as an http-requested document (e.g. running
    // this module as a "web handler").

    // This module can be used as a "web handler" (automatically converting
    // *.asc and *.ans files on the fly), by adding the following lines to
    // the [JavaScript] section of your ctrl/web_handler.ini file:
    // asc = asc_handler.js
    // ans = asc_handler.js

    digital man

    Snapple "Real Fact" #44:
    The bullfrog is the only animal that never sleeps.
    Norco, CA WX: 80.4øF, 48% humidity, 0 mph NW wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net