• Suggestions to add files to message area

    From sam@1:103/705 to All on Thu Jun 7 16:05:39 2018
    Hi everyone,

    Just wanted some dev advice.. how can create content in the message area from jS, C/C++, or however else outside of sync? I'd like to work on a project to post content to one of my local message areas, i'm just not sure how to get started. I read through some of the developer sites, but I hoped someone had some code that did something similar or at least connects to sync outside of a direct login to get me started. I'm just not sure how to start.

    Thanks for the advise.
    Sam

    ---
    * Synchronet * Totallynerd BBS - It doesn't get any nerdier than this - Nashville,TN
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to sam on Thu Jun 7 16:34:44 2018
    Re: Suggestions to add files to message area
    By: sam to All on Thu Jun 07 2018 04:05 pm

    Hi everyone,

    Just wanted some dev advice.. how can create content in the message area from jS, C/C++, or however else outside of sync? I'd like to work on a project to post content to one of my local message areas, i'm just not sure how to get started. I read through some of the developer sites, but I hoped someone had some code that did something similar or at least connects to sync outside of a direct login to get me started. I'm just not sure how to start.

    Example of posting messages to Synchronet message bases from C: http://cvs.synchro.net/cgi-bin/viewcvs.cgi/src/sbbs3/smbutil.c

    from JavaScript:
    http://cvs.synchro.net/cgi-bin/viewcvs.cgi/exec/postmsg.js

    There are several more examples of adding messages to messages areas via JS in exec/*.js, but postmsg.js is probably the smallest/simplest.

    digital man

    Synchronet/BBS Terminology Definition #37:
    NNTP = Network News Transfer Protocol
    Norco, CA WX: 80.0oF, 35.0% humidity, 14 mph ENE wind, 0.00 inches rain/24hrs --- SBBSecho 3.05-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From sam@1:103/705 to Digital Man on Fri Jun 8 10:28:59 2018
    Re: Suggestions to add files to message area
    By: sam to All on Thu Jun 07 2018 04:05 pm

    Hi everyone,

    Just wanted some dev advice.. how can create content in the message area from jS, C/C++, or however else outside of sync? I'd like to work on a project to post content to one of my local message areas, i'm just not sure how to get started. I read through some of the developer sites, but I hoped someone had some code that did something similar or at least connects to sync outside of a direct login to get me started. I'm just not sure how to start.

    Example of posting messages to Synchronet message bases from C: http://cvs.synchro.net/cgi-bin/viewcvs.cgi/src/sbbs3/smbutil.c

    from JavaScript:
    http://cvs.synchro.net/cgi-bin/viewcvs.cgi/exec/postmsg.js

    There are several more examples of adding messages to messages areas via JS in exec/*.js, but postmsg.js is probably the smallest/simplest.

    digital man


    Thanks! I completely overlooked postmsg.js, I'm reading through it on http://wiki.synchro.net/module:postmsg, and I think
    that'll work perfectly. I'm looking to drop some content to the file system in Linux then add it to a local message sub.
    This should allow me to keep most of the work in shell scripts.

    Thanks --
    Sam

    ---
    * Synchronet * Totallynerd BBS - It doesn't get any nerdier than this - Nashville,TN
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)