• Export Messages in Text

    From Thomas Bampi@VERT to All on Fri Apr 24 15:18:21 2020
    Hello All!

    is there a way to export all the messages in a given area in a text format with
    as many files as there are messages?

    Bye

    ''~``
    ( o o ) +------------------.oooO--(_)--Oooo.------------------+
    | |
    | Thomas Bampi |
    | Origin: -= VelEnO BBs http://www.velenobbs.net =- |
    | |
    | .oooO |
    | ( ) Oooo. |
    +---------------------\ (----( )--------------------+
    \_) ) /
    (_/

    --- GoldED+/W32-MINGW 1.1.5-b20170303
    # Origin: ----> VeleNo BBs (http://velenobbs.net) <---- (2:333/808)
    * Origin: Veleno BBS -= http://www.velenobbs.net =- (2:333/808)
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to Thomas Bampi on Fri Apr 24 10:32:57 2020
    Re: Export Messages in Text
    By: Thomas Bampi to All on Fri Apr 24 2020 03:18 pm

    Hello All!

    is there a way to export all the messages in a given area in a text format with as many files as there are messages?

    That'd be a pretty easy JavaScript to write. Have you looked at any of the exec/*.js files for examples?

    digital man

    Synchronet "Real Fact" #24:
    1584 Synchronet BBS Software registrations were sold between 1992 and 1996. Norco, CA WX: 87.9øF, 33.0% humidity, 0 mph WSW wind, 0.00 inches rain/24hrs ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From F. Krueger@VERT to Digital Man on Fri Apr 24 20:03:39 2020
    Hello, Digital Man.
    On 24/04/20 10:32 you wrote:

    Re: Export Messages in Text
    By: Thomas Bampi to All on Fri Apr 24 2020 03:18 pm
    Hello All! is there a way to export all the messages in a given
    area in a text format with as many files as there are messages?
    That'd be a pretty easy JavaScript to write. Have you looked at
    any of the exec/*.js files for examples?

    Hi digital man, unfortunately I don't have much programming experience can you advise me? Or maybe you already know one ...

    Bye
    Thomas

    --
    Best regards!
    Posted using Hotdoged on Android
    --- Hotdoged/2.13.5/Android
    * Origin: Veleno BBS - http://www.velenobbs.net (2:333/808.1)
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to F. Krueger on Fri Apr 24 16:30:17 2020
    Re: Export Messages in Text
    By: F. Krueger to Digital Man on Fri Apr 24 2020 08:03 pm

    Hello, Digital Man.
    On 24/04/20 10:32 you wrote:

    Re: Export Messages in Text
    By: Thomas Bampi to All on Fri Apr 24 2020 03:18 pm
    Hello All! is there a way to export all the messages in a given
    area in a text format with as many files as there are messages?
    That'd be a pretty easy JavaScript to write. Have you looked at
    any of the exec/*.js files for examples?

    Hi digital man, unfortunately I don't have much programming experience can you advise me? Or maybe you already know one ...

    There isn't one that does exactly what you want already, no. But if you started with say, msgutil.js, it wouldn't be a lot of code to add to dump messages to text files.

    digital man

    Synchronet/BBS Terminology Definition #26:
    ETX = End-of-Text (ASCII 3, Ctrl-C)
    Norco, CA WX: 95.9øF, 19.0% humidity, 10 mph ENE wind, 0.00 inches rain/24hrs ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to F. Krueger on Fri Apr 24 17:50:50 2020
    Re: Export Messages in Text
    By: Digital Man to F. Krueger on Fri Apr 24 2020 04:30 pm

    Re: Export Messages in Text
    By: F. Krueger to Digital Man on Fri Apr 24 2020 08:03 pm

    Hello, Digital Man.
    On 24/04/20 10:32 you wrote:

    Re: Export Messages in Text
    By: Thomas Bampi to All on Fri Apr 24 2020 03:18 pm
    Hello All! is there a way to export all the messages in a given
    area in a text format with as many files as there are messages?
    That'd be a pretty easy JavaScript to write. Have you looked at
    any of the exec/*.js files for examples?

    Hi digital man, unfortunately I don't have much programming experience can you advise me? Or maybe you already know one ...

    There isn't one that does exactly what you want already, no. But if you started with say, msgutil.js, it wouldn't be a lot of code to add to dump messages to text files.

    I went ahead and added a "-export" option to exec/msgutil.js http://cvs.synchro.net/cgi-bin/viewcvs.cgi/exec/msgutil.js

    So if you run "jsexec <msgbase-code> -export", it'll export every message in that message base to a separate .txt file in your sbbs/temp directory. Let me know if you had something different in mind.

    digital man

    This Is Spinal Tap quote #20:
    Well, I'm sure I'd feel much worse if I weren't under such heavy sedation. Norco, CA WX: 93.3øF, 24.0% humidity, 5 mph NNE wind, 0.00 inches rain/24hrs ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From F. Krueger@VERT to Digital Man on Sat Apr 25 09:00:45 2020
    Hello, Digital Man.
    On 24/04/20 17:50 you wrote:

    I went ahead and added a "-export" option to exec/msgutil.js http://cvs.synchro.net/cgi-bin/viewcvs.cgi/exec/msgutil.js So if
    you run "jsexec <msgbase-code> -export", it'll export every
    message in that message base to a separate .txt file in your
    sbbs/temp directory. Let me know if you had something different in
    mind.

    Hi Digital Man!
    Great works it's function!! Thanks very much!!

    Bye
    Thomas

    --
    Best regards!
    Posted using Hotdoged on Android
    --- Hotdoged/2.13.5/Android
    * Origin: Veleno BBS - http://www.velenobbs.net (2:333/808.1)
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Dumas Walker@VERT/CAPCITY2 to DIGITAL MAN on Sat Apr 25 17:48:00 2020
    I went ahead and added a "-export" option to exec/msgutil.js http://cvs.synchro.net/cgi-bin/viewcvs.cgi/exec/msgutil.js

    So if you run "jsexec <msgbase-code> -export", it'll export every message in t
    t message base to a separate .txt file in your sbbs/temp directory. Let me kno
    if you had something different in mind.

    Should that be "jsexec msgutil.js <msgbase-code> -export" ?


    * SLMR 2.1a * It ain't over, but the fat lady is clearing her throat.

    ---
    þ Synchronet þ CAPCITY2 * capcity2.synchro.net * Telnet/SSH:2022/Rlogin/HTTP
  • From Digital Man@VERT to Dumas Walker on Sat Apr 25 17:12:39 2020
    Re: Export Messages in Text
    By: Dumas Walker to DIGITAL MAN on Sat Apr 25 2020 05:48 pm

    I went ahead and added a "-export" option to exec/msgutil.js http://cvs.synchro.net/cgi-bin/viewcvs.cgi/exec/msgutil.js

    So if you run "jsexec <msgbase-code> -export", it'll export every message in t
    t message base to a separate .txt file in your sbbs/temp directory. Let me kno
    if you had something different in mind.

    Should that be "jsexec msgutil.js <msgbase-code> -export" ?

    Right, I mis-typed that.

    digital man

    This Is Spinal Tap quote #3:
    How much more black could this be? and the answer is none. None more black. Norco, CA WX: 87.8øF, 30.0% humidity, 10 mph NNE wind, 0.00 inches rain/24hrs ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net