• Port RSS feed to Message Sub

    From Lith@VERT/ASIRTA to All on Monday, October 12, 2015 15:58:47
    Anyone know how I can port an RSS feed to a message sub? Similar to the "Debate/CNN news sub on DoveNet?

    Thanks for the help!

    Lith,

    ---
    þ Synchronet þ asirta.com - Music / DJ Gear / Event Information - asirta.com
  • From echicken@VERT/ECBBS to Lith on Tuesday, October 13, 2015 01:22:27
    Anyone know how I can port an RSS feed to a message sub? Similar to the "Debate/CNN news sub on DoveNet?

    Check your 'exec' directory for a file called 'web_feed_importer.js'. There are some setup instructions in the comments at the top of the file. I wrote that script about a year ago, then got distracted and/or lost interest in it. It works but IIRC needs a few improvements. I could put some more work into it if there's something that needs to be done.

    I would caution against running this script against a networked message area unless other participants are okay with it. I would also recommend testing it in a throwaway local sub board just to make sure it doesn't do anything crazy/spammy in an area that you care about. (It worked fine the last time I checked, but who knows.)

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com - 416-273-7230

    ---
    þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.com
  • From Bill McGarrity@VERT to echicken on Tuesday, October 13, 2015 10:31:00
    echicken wrote to Lith <=-
    Anyone know how I can port an RSS feed to a message sub? Similar to the
    "Debate/CNN news sub on DoveNet? Check your 'exec' directory for a
    file called 'web_feed_importer.js'. There are some setup instructions
    in the comments at the top of the file. I wrote that script about a
    year ago, then got distracted and/or lost interest in it. It works but IIRC needs a few improvements. I could put some more work into it if there's something that needs to be done.I would caution against running this script against a networked message area unless other participants
    are okay with it. I would also recommend testing it in a throwaway
    local sub board just to make sure it doesn't do anything crazy/spammy
    in an area that you care about. (It worked fine the last time I
    checked, but who knows.)---echicken electronic chicken bbs - bbs.electronicchicken.com - 416-273-7230

    It's working fine ec... I was the one who asked yuo to update it a tad andstill waiting. Seems as if it's not catching the </P> and just continues on and one with no breaks...

    When you have time... :)


    --

    Bill

    Telnet: tequilamockingbirdonline.net
    Web: bbs.tequilamockingbirdonline.net
    FTP: ftp.tequilamockingbirdonline.net:2121
    IRC: irc.tequilamockingbirdonline.net Ports: 6661-6670 SSL: +6697
    Radio: radio.tequilamockingbirdonline.net:8010/live


    ... Look Twice... Save a Life!!! Motorcycles are Everywhere!!!
    === MultiMail/Win32 v0.50
    --- SBBSecho 2.27-Win32
    * Origin: TequilaMockingbird Online - Toms River, NJ (1:266/404)
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From echicken@VERT/ECBBS to Bill McGarrity on Tuesday, October 13, 2015 11:24:09
    It's working fine ec... I was the one who asked yuo to update it a tad andstill waiting. Seems as if it's not catching the </P> and just continues on and one with no breaks...

    Sorry aboot that. I'll try to take a look at it soon. Can you point me at a feed that it's having this problem with? I'll try to reproduce (and then fix) the issue.

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com - 416-273-7230

    ---
    þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.com
  • From mark lewis@VERT to Bill McGarrity on Tuesday, October 13, 2015 15:41:12
    13 Oct 15 10:31, you wrote to echicken:

    echicken wrote to Lith <=-
    Anyone know how I can port an RSS feed to a message sub? Similar to the
    "Debate/CNN news sub on DoveNet? Check your 'exec' directory for a
    file called 'web_feed_importer.js'. There are some setup instructions
    in the comments at the top of the file. I wrote that script about a
    year ago, then got distracted and/or lost interest in it. It works
    but IIRC needs a few improvements. I could put some more work into it
    if there's something that needs to be done.I would caution against
    running this script against a networked message area unless other
    participants are okay with it. I would also recommend testing it in a
    throwaway local sub board just to make sure it doesn't do anything
    crazy/spammy in an area that you care about. (It worked fine the last
    time I checked, but who knows.)---echicken electronic chicken bbs -
    bbs.electronicchicken.com - 416-273-7230

    It's working fine ec... I was the one who asked yuo to update it a tad andstill waiting. Seems as if it's not catching the </P> and just continues on and one with no breaks...

    is /that/ why IIHF posts are all run together into a huge unreadable mass?

    )\/(ark

    ... Here's your baster and your stuffing. Let's keep it clean.
    ---
    * Origin: (1:3634/12.73)
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From Bill McGarrity@VERT to mark lewis on Tuesday, October 13, 2015 17:48:00
    mark lewis wrote to Bill McGarrity <=-

    13 Oct 15 10:31, you wrote to echicken:

    echicken wrote to Lith <=-
    Anyone know how I can port an RSS feed to a message sub? Similar to the
    "Debate/CNN news sub on DoveNet? Check your 'exec' directory for a
    file called 'web_feed_importer.js'. There are some setup instructions
    in the comments at the top of the file. I wrote that script about a
    year ago, then got distracted and/or lost interest in it. It works
    but IIRC needs a few improvements. I could put some more work into it
    if there's something that needs to be done.I would caution against
    running this script against a networked message area unless other
    participants are okay with it. I would also recommend testing it in a
    throwaway local sub board just to make sure it doesn't do anything
    crazy/spammy in an area that you care about. (It worked fine the last
    time I checked, but who knows.)---echicken electronic chicken bbs -
    bbs.electronicchicken.com - 416-273-7230

    It's working fine ec... I was the one who asked yuo to update it a tad andstill waiting. Seems as if it's not catching the </P> and just continues on and one with no breaks...

    is /that/ why IIHF posts are all run together into a huge unreadable
    mass?

    Yes...


    --

    Bill

    Telnet: tequilamockingbirdonline.net
    Web: bbs.tequilamockingbirdonline.net
    FTP: ftp.tequilamockingbirdonline.net:2121
    IRC: irc.tequilamockingbirdonline.net Ports: 6661-6670 SSL: +6697
    Radio: radio.tequilamockingbirdonline.net:8010/live


    ... Look Twice... Save a Life!!! Motorcycles are Everywhere!!!
    === MultiMail/Win32 v0.50
    --- SBBSecho 2.27-Win32
    * Origin: TequilaMockingbird Online - Toms River, NJ (1:266/404)
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From Bill McGarrity@VERT/TEQUILAM to echicken on Tuesday, October 13, 2015 17:52:00
    echicken wrote to Bill McGarrity <=-

    Hiya ec...

    It's working fine ec... I was the one who asked yuo to update it a tad
    andstil
    l waiting. Seems as if it's not catching the </P> and just continues
    on and one with no breaks...

    Sorry aboot that. I'll try to take a look at it soon. Can you point
    me at a feed that it's having this problem with? I'll try to reproduce (and then fix) the issue.

    Here is one of the sites that just does a run-on....

    http://www.iihf.com/index.php?id=187&type=100

    Thanks....


    --

    Bill

    Telnet: tequilamockingbirdonline.net
    Web: bbs.tequilamockingbirdonline.net
    FTP: ftp.tequilamockingbirdonline.net:2121
    IRC: irc.tequilamockingbirdonline.net Ports: 6661-6670 SSL: +6697
    Radio: radio.tequilamockingbirdonline.net:8010/live


    ... Look Twice... Save a Life!!! Motorcycles are Everywhere!!!
    --- MultiMail/Win32 v0.50
    þ Synchronet þ TequilaMockingbird Online - Toms River, NJ
  • From mark lewis@VERT to Bill McGarrity on Tuesday, October 13, 2015 19:44:38
    13 Oct 15 17:48, you wrote to me:

    It's working fine ec... I was the one who asked yuo to update it a tad
    andstill waiting. Seems as if it's not catching the </P> and just
    continues on and one with no breaks...

    is /that/ why IIHF posts are all run together into a huge unreadable
    mass?

    Yes...

    ahhh... ok ;)

    )\/(ark

    ... Menu: List of dishes which the restaurant has run out of.
    ---
    * Origin: (1:3634/12.73)
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From echicken@VERT/ECBBS to Bill McGarrity on Tuesday, October 13, 2015 22:59:37
    Re: Re: Port RSS feed to Message Sub
    By: Bill McGarrity to echicken on Tue Oct 13 2015 17:52:00

    Here is one of the sites that just does a run-on.... http://www.iihf.com/index.php?id=187&type=100

    Thanks for that. I've just committed an update of exec/web_feed_importer.js to the CVS which should take care of this. (Just a small change to handle certain HTML tags.)

    Later on I might be better off looking for something that strips out HTML and does sensible things around formatting the result as plain text.

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com - 416-273-7230
    þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.com
  • From mark lewis@VERT to Bill McGarrity on Wednesday, October 14, 2015 05:24:00
    13 Oct 15 22:59, echicken wrote to you:

    Here is one of the sites that just does a run-on....
    http://www.iihf.com/index.php?id=187&type=100

    Thanks for that. I've just committed an update of exec/web_feed_importer.js to the CVS which should take care of this.
    (Just
    a small change to handle certain HTML tags.)

    *much* better! :)

    )\/(ark

    ... We need the Federal Government like a fish needs a bicycle.
    ---
    * Origin: (1:3634/12.73)
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From Bill McGarrity@VERT to echicken on Wednesday, October 14, 2015 19:12:00
    echicken wrote to Bill McGarrity <=-

    Re: Re: Port RSS feed to Message Sub
    By: Bill McGarrity to echicken on Tue Oct 13 2015 17:52:00

    Here is one of the sites that just does a run-on.... http://www.iihf.com/index.php?id=187&type=100

    Thanks for that. I've just committed an update of exec/web_feed_importer.js to the CVS which should take care of this.
    (Just a small change to handle certain HTML tags.)

    Later on I might be better off looking for something that strips out
    HTML and does sensible things around formatting the result as plain
    text.

    Appreciate all you do!!

    Thanks


    --

    Bill

    Telnet: tequilamockingbirdonline.net
    Web: bbs.tequilamockingbirdonline.net
    FTP: ftp.tequilamockingbirdonline.net:2121
    IRC: irc.tequilamockingbirdonline.net Ports: 6661-6670 SSL: +6697
    Radio: radio.tequilamockingbirdonline.net:8010/live


    ... Look Twice... Save a Life!!! Motorcycles are Everywhere!!!
    === MultiMail/Win32 v0.50
    --- SBBSecho 2.27-Win32
    * Origin: TequilaMockingbird Online - Toms River, NJ (1:266/404)
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From Bill McGarrity@VERT to mark lewis on Wednesday, October 14, 2015 19:13:00
    mark lewis wrote to Bill McGarrity <=-

    13 Oct 15 22:59, echicken wrote to you:

    Here is one of the sites that just does a run-on....
    http://www.iihf.com/index.php?id=187&type=100

    Thanks for that. I've just committed an update of exec/web_feed_importer.js to the CVS which should take care of this.
    (Just
    a small change to handle certain HTML tags.)

    *much* better! :)

    Good.... I know it was on his list... and glad it was an easy fix.


    --

    Bill

    Telnet: tequilamockingbirdonline.net
    Web: bbs.tequilamockingbirdonline.net
    FTP: ftp.tequilamockingbirdonline.net:2121
    IRC: irc.tequilamockingbirdonline.net Ports: 6661-6670 SSL: +6697
    Radio: radio.tequilamockingbirdonline.net:8010/live


    ... Look Twice... Save a Life!!! Motorcycles are Everywhere!!!
    === MultiMail/Win32 v0.50
    --- SBBSecho 2.27-Win32
    * Origin: TequilaMockingbird Online - Toms River, NJ (1:266/404)
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From Lith@VERT/ASIRTA to echicken on Wednesday, October 14, 2015 18:44:45
    Check your 'exec' directory for a file called 'web_feed_importer.js'. There are some setup instructions in the comments at the top of the file. I wrote that script about a year ago, then got distracted and/or lost interest in it.

    Thanks! That was what I was looking for. There's all kinds of hidden gems in that exec directory :-b

    Lith,

    ---
    þ Synchronet þ asirta.com - Music / DJ Gear / Event Information - asirta.com
  • From tracker1@VERT/TRNTEST to echicken on Wednesday, October 21, 2015 19:29:31
    Re: Re: Port RSS feed to Message Sub
    By: Bill McGarrity to echicken on Tue Oct 13 2015 17:52:00

    Here is one of the sites that just does a run-on.... http://www.iihf.com/index.php?id=187&type=100

    Thanks for that. I've just committed an update of
    exec/web_feed_importer.js
    to the CVS which should take care of this. (Just a small change to handle certain HTML tags.)

    Later on I might be better off looking for something that strips out HTML and does sensible things around formatting the result as plain text.

    Just a suggestion, you could run it through an HTML > Markdown converter... since Markdown is plain text, and conventions are already common for text-
    only use, it would make sense.
    --
    Michael J. Ryan
    tracker1(at)gmail.com
    +o Roughneck BBS

    ---
    þ Synchronet þ RoughneckBBS - http://www.roughneckbbs.com/