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: | Eric Oulashin |
---|---|
Location: | Beaverton, Oregon, USA |
Users: | 88 |
Nodes: | 16 (0 / 16) |
Uptime: | 12:19:26 |
Calls: | 4,921 |
Calls today: | 7 |
Files: | 8,491 |
Messages: | 351,012 |