• newslink.js

    From Jas Hud@VERT to Digitalman on Fri Nov 30 12:51:30 2007
    To: Digitalman
    Hello, could you please tell me what code to put into newslink to filter
    out certain text strings from the entire message?

    i know you told me last year, and i had put that snippet of code someplace, and it got lost.. and i've replaced that .js file with one from the cvs.

    i'd like to use it to filter out typical spam and certain bbses that are
    being exploited by that guy. i think a lot of people would benefit form this if they'd switch their polling method to nntp instead of qwk and edited newslink to block certain bbses from their tagline,etc.

    thanks!

    .Ä.Ú Â Â ÂÂ.Ä. ÂÚ¿
    -³ ³Ã¿³ ³³ ³³³ ³³ ³À¿-
    `Ä'ÀÙÁÙÁ`\/'Á`Ä'À-ÙÀÙ
    +o edge of oblivion bbs þ eob-bbs.com
    |04An underground bbs with tons of the best games+files
    |05a zer0net node
    --- Synchronet 3.14a-Win32 NewsLink 1.85
    * Data Stream - garland texas - telnet://dsbbs.synchro.net
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to Jas Hud on Fri Nov 30 19:19:02 2007
    Re: newslink.js
    By: Jas Hud to Digitalman on Fri Nov 30 2007 12:51 pm

    To: Digitalman
    Hello, could you please tell me what code to put into newslink to filter
    out certain text strings from the entire message?

    Add something like:

    if(body.indexOf('some text') >= 0)
    continue;

    Somewhere around this section of code:

    if(truncsp(body).length==0) {
    printf("Message %lu not imported (blank)\r\n",ptr);
    continue;
    }

    digital man (xbox-live: digitlman)

    Snapple "Real Fact" #63:
    The average human produces 10,000 gallons of saliva in a lifetime.
    Norco, CA WX: ---.-øF, --% humidity, NaN mph --- wind, --.-- inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Jas Hud@VERT to Digital Man on Sat Dec 1 11:22:13 2007
    To: Digital Man
    > Re: newslink.js
    By: Jas Hud to Digitalman on Fri Nov 30 2007 12:51 pm

    To: Digitalman Hello, could you please tell me what code to put into newslink to filter out certain text strings from the entire message?

    Add something like:

    if(body.indexOf('some text') >= 0) continue;

    Somewhere around this section of code:

    if(truncsp(body).length==0) { printf("Message %lu not imported (blank)\r\n",ptr); continue; }

    digital man (xbox-live: digitlman)



    thanks, saved it.

    do you think this will noticably effect the speed of polling,etc since it's scanning each message for the string(S) ?

    .Ä.Ú Â Â ÂÂ.Ä. ÂÚ¿
    -³ ³Ã¿³ ³³ ³³³ ³³ ³À¿-
    `Ä'ÀÙÁÙÁ`\/'Á`Ä'À-ÙÀÙ
    +o edge of oblivion bbs þ eob-bbs.com
    |04An underground bbs with tons of the best games+files
    |05a zer0net node
    --- Synchronet 3.14a-Win32 NewsLink 1.85
    * Data Stream - garland texas - telnet://dsbbs.synchro.net
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to Jas Hud on Sun Dec 2 08:12:09 2007
    Re: newslink.js
    By: Jas Hud to Digital Man on Sat Dec 01 2007 11:22 am

    do you think this will noticably effect the speed of polling,etc since it's scanning each message for the string(S) ?

    I honestly don't know. Try it and see? :-)

    digital man (xbox-live: digitlman)

    Snapple "Real Fact" #59:
    Brain waves can be used to power an electric train.
    Norco, CA WX: ---.-øF, --% humidity, NaN mph --- wind, --.-- inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Jas Hud@VERT to Digital Man on Sun Dec 2 11:30:16 2007
    To: Digital Man
    > Re: newslink.js
    By: Jas Hud to Digital Man on Sat Dec 01 2007 11:22 am

    do you think this will noticably effect the speed of polling,etc since it scanning each message for the string(S) ?

    I honestly don't know. Try it and see? :-)



    okay, i put in a filter for that ultramax site and a few newsgroup spammers. havent got anything from them after that,but i'll let you know.

    i've been watching newslink run and i havent noticed any speed differences, but i poll quite often, so that may be a factor.

    .Ä.Ú Â Â ÂÂ.Ä. ÂÚ¿
    -³ ³Ã¿³ ³³ ³³³ ³³ ³À¿-
    `Ä'ÀÙÁÙÁ`\/'Á`Ä'À-ÙÀÙ
    +o edge of oblivion bbs þ eob-bbs.com
    |04An underground bbs with tons of the best games+files
    |05a zer0net node
    --- Synchronet 3.14a-Win32 NewsLink 1.85
    * Data Stream - garland texas - telnet://dsbbs.synchro.net
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net