• Message Area - Daily stats tool

    From Mewcenary@VERT/EXTRICAT to Nightfox on Tuesday, February 15, 2022 19:21:37
    Re: Message Area - Daily stats tool
    By: Nightfox to Mewcenary on Tue Feb 15 2022 08:34 am

    I found the filelist.js tool to generate daily file lists, and
    that's great!

    What is a daily file list? A list of all files on the BBS, every day?

    Yes. Although it can be configured to only show _new_ files (which is typically how it is used).

    Mewcenary.

    ---
    Synchronet Extricate BBS - bbs.extricate.org
  • From Mewcenary@VERT/EXTRICAT to Digital Man on Wednesday, February 16, 2022 15:29:50
    Re: Message Area - Daily stats tool
    By: Digital Man to Mewcenary on Tue Feb 15 2022 07:23 pm

    I'm also after a similar script to generate summaries, e.g. daily, of new
    messages in the different Message Areas.

    I just pushed an update to exec/msglist.js, give that a try. It can now be run using jsexec to output message list (of a
    single sub-board) to stdout with some of the same/similar options as filelist.js. Give that a shot and let me know how it
    works for you. It should be easy for you to update too if you have ideas about how to make it better. --

    Thanks for this, and for pointing me in the right direction.

    I've made some changes and sent a merge request your way. It allows msglist.js to generate counts of the messages that hit the criteria (e.g. "new in last 2 days"), including for all groups that are on the system.

    Typical output example:

    DOVE-Net General 12
    DOVE-Net Entertainment 4
    DOVE-Net Debate 14
    DOVE-Net Internet Discussion 8
    DOVE-Net Synchronet Discussion 9
    DOVE-Net Synchronet Sysops Only 6
    DOVE-Net Synchronet Data 28
    fsxNet fsxNet Test Arena 5
    fsxNet General Chat + More.. 55
    fsxNet Mystic BBS Support/Dev 2

    All fairly rough at this point as I find my way around the codebase.

    Thanks again,

    Mewcenary.

    ---
    Synchronet Extricate BBS - bbs.extricate.org