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?
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.
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?
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:
_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.
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.
Sysop: | digital man |
---|---|
Location: | Riverside County, California |
Users: | 1,043 |
Nodes: | 15 (0 / 15) |
Uptime: | 41:27:43 |
Calls: | 500,899 |
Calls today: | 2 |
Files: | 109,370 |
D/L today: |
4,674 files (477M bytes) |
Messages: | 304,219 |