• web_feed_importer

    From Bill McGarrity@TEQUILAM to echicken on Sunday, February 05, 2017 13:57:06
    Hiya echicken...

    Quick question...

    Background....

    Two different subs in two different FTN networks. One RSS feed that is tempermental on connects.

    Question...

    Is it possible, rather than having two seperate entries for each sub..
    combine the two different subs, seperated by a comma on one line to import
    into both subs with just one connect?

    Thanks...


    --

    Bill

    Telnet: tequilamockingbirdonline.net
    Web: bbs.tequilamockingbirdonline.net:81
    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!!

    ---
    ■ Synchronet ■ TequilaMockingbird Online - Toms River, NJ
  • From echicken@ECBBS to Bill McGarrity on Sunday, February 05, 2017 15:06:35
    Re: web_feed_importer
    By: Bill McGarrity to echicken on Sun Feb 05 2017 13:57:06

    Two different subs in two different FTN networks. One RSS feed that is tempermental on connects.

    Is it possible, rather than having two seperate entries for each sub.. combine the two different subs, seperated by a comma on one line to import into both subs with just one connect?

    Should be possible. I'll take a look at this soon.

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com - 416-273-7230
    ■ Synchronet ■ electronic chicken bbs - bbs.electronicchicken.com
  • From Bill McGarrity@TEQUILAM to echicken on Monday, February 06, 2017 03:50:00
    echicken wrote to Bill McGarrity <=-

    @VIA: VERT/ECBBS
    @MSGID: <589785CB.2270.sync_js@bbs.electronicchicken.com>
    @REPLY: <58977582.2266.sync_js@tequilamockingbirdonline.net>
    @TZ: 412c
    Re: web_feed_importer
    By: Bill McGarrity to echicken on Sun Feb 05 2017 13:57:06

    Two different subs in two different FTN networks. One RSS feed that is tempermental on connects.

    Is it possible, rather than having two seperate entries for each sub.. combine the two different subs, seperated by a comma on one line to import into both subs with just one connect?

    Should be possible. I'll take a look at this soon.

    Thank you sir!!


    --

    Bill

    Telnet: tequilamockingbirdonline.net
    Web: bbs.tequilamockingbirdonline.net:81
    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 echicken@ECBBS to Bill McGarrity on Wednesday, February 08, 2017 23:51:14
    Re: Re: web_feed_importer
    By: Bill McGarrity to echicken on Mon Feb 06 2017 03:50:00

    Is it possible, rather than having two seperate entries for each
    sub.. combine the two different subs, seperated by a comma on one
    line to import into both subs with just one connect?

    exec/web_feed_importer.js has been updated. You can now have 'special' entries in the [feeds] section of modopts.ini that will indicate a crossposted feed. These entries must begin with '_crosspost' and should each have a unique name:

    _crosspost1 = http://my-feed/rss.xml,rss,general,dove-gen

    The above would import the feed at 'http://my-feed/rss.xml' to the subs with the internal codes 'rss', 'general', and 'dove-gen'. It's a bit ugly, but I tried a few things and this ended up being the best of the bunch.

    Let me know if it works for you; tests were successful here.

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com - 416-273-7230
    ■ Synchronet ■ electronic chicken bbs - bbs.electronicchicken.com
  • From Bill McGarrity@TEQUILAM to echicken on Thursday, February 09, 2017 01:36:00
    echicken wrote to Bill McGarrity <=-

    Re: Re: web_feed_importer
    By: Bill McGarrity to echicken on Mon Feb 06 2017 03:50:00

    Is it possible, rather than having two seperate entries for each
    sub.. combine the two different subs, seperated by a comma on one
    line to import into both subs with just one connect?

    exec/web_feed_importer.js has been updated. You can now have 'special' entries in the [feeds] section of modopts.ini that will indicate a crossposted feed. These entries must begin with '_crosspost' and should each have a unique name:

    Thank you!!

    _crosspost1 = http://my-feed/rss.xml,rss,general,dove-gen

    The above would import the feed at 'http://my-feed/rss.xml' to the subs with the internal codes 'rss', 'general', and 'dove-gen'. It's a bit ugly, but I tried a few things and this ended up being the best of the bunch.

    Easy enough!!

    Let me know if it works for you; tests were successful here.

    I've made the changes and will let you know.

    Thanks so much for the time and effort you put into it. I always seem to have these wild ideas and you, DM and the rest of the team always come-up with a positive result.


    --

    Bill

    Telnet: tequilamockingbirdonline.net
    Web: bbs.tequilamockingbirdonline.net:81
    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 Bill McGarrity@TEQUILAM to echicken on Thursday, February 09, 2017 03:32:00
    Bill McGarrity wrote to echicken <=-

    echicken wrote to Bill McGarrity <=-

    Re: Re: web_feed_importer
    By: Bill McGarrity to echicken on Mon Feb 06 2017 03:50:00

    Is it possible, rather than having two seperate entries for each
    sub.. combine the two different subs, seperated by a comma on one
    line to import into both subs with just one connect?

    exec/web_feed_importer.js has been updated. You can now have 'special' entries in the [feeds] section of modopts.ini that will indicate a crossposted feed. These entries must begin with '_crosspost' and should each have a unique name:

    Thank you!!

    _crosspost1 = http://my-feed/rss.xml,rss,general,dove-gen

    The above would import the feed at 'http://my-feed/rss.xml' to the subs with the internal codes 'rss', 'general', and 'dove-gen'. It's a bit ugly, but I tried a few things and this ended up being the best of the bunch.

    Easy enough!!

    Let me know if it works for you; tests were successful here.

    I've made the changes and will let you know.

    Thanks so much for the time and effort you put into it. I always seem
    to have these wild ideas and you, DM and the rest of the team always come-up with a positive result.


    Just a heads up... works like a charm!!!

    Thank you!!


    --

    Bill

    Telnet: tequilamockingbirdonline.net
    Web: bbs.tequilamockingbirdonline.net:81
    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