• web_feed_importer.js

    From Bill McGarrity@VERT/TEQUILAM to echicken on Mon Sep 5 14:02:00 2016
    Hiya echicken....ããI seem to be having an issue with importing one feed from:ãhttp://cdn.nhl.com/rss/news.xmlããAll my other rss pages download properly. I was wondering if you can take aãlook at that page and see if they've done something different there or areãrefusing connection. I can open the url just fine in Chrome so it's got meãstumped.ãã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!!!ã--- MultiMail/Win32 v0.50ã þ Synchronet þ TequilaMockingbird Online - Toms River, NJã
  • From echicken@VERT/ECBBS to Bill McGarrity on Mon Sep 5 16:42:26 2016
    I seem to be having an issue with importing one feed from:ã> http://cdn.nhl.com/rss/news.xmlããIt works fine for me here. If you run the script from a shell / command promptã('jsexec web_feed_importer.js') do you see any error messages?ããAre you adding this feed for the first time, or did you just recently noticeãthere hadn't been any new items in a while? It looks to me like they haven'tãposted anything there since mid-July.ãã---ãechicken ãelectronic chicken bbs - bbs.electronicchicken.com - 416-273-7230ã þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.comã
  • From Bill McGarrity@VERT/TEQUILAM to echicken on Thu Sep 8 00:45:00 2016
    echicken wrote to Bill McGarrity <=-ãã > I seem to be having an issue with importing one feed from:ã > http://cdn.nhl.com/rss/news.xmlãã ec> It works fine for me here. If you run the script from a shell /ã ec> command prompt ('jsexec web_feed_importer.js') do you see any errorã ec> messages?ãã ec> Are you adding this feed for the first time, or did you just recentlyã ec> notice there hadn't been any new items in a while? It looks to me likeã ec> they haven't posted anything there since mid-July.ããweb_feed_importer.js works correctly for all the other rss feeds I have listedãin my modops.ini file except for the link above.ããI created a new modopts.ini file listing only:ãã2nhl = http://cdn.nhl.com/rss/news.xmlããThis is what I get...ããC:\sbbs\exec>jsexec web_feed_importer.jsããJSexec v3.17a-Win32 (rev 1.183) - Execute Synchronet JavaScript ModuleãCompiled Sep 5 2016 05:02:42 with MSC 1800ããLoading configuration files from C:\SBBS\CTRLãJavaScript-C 1.8.5 2011-03-31ãJavaScript: Creating runtime: 8388608 bytesãJavaScript: Initializing context (stack: 16384 bytes)ããReading script from C:\sbbs\exec\web_feed_importer.jsãC:\sbbs\exec\web_feed_importer.js compiled in 0.00 secondsãC:\sbbs\exec\web_feed_importer.js executed in 0.36 secondsããIt's like it never sees either the sub or it's not reading the page correctly.ãããã--ãã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@VERT/ECBBS to Bill McGarrity on Thu Sep 8 10:42:53 2016
    I created a new modopts.ini file listing only:ã> 2nhl = http://cdn.nhl.com/rss/news.xmlããIs this entry in a '[feeds]' section of your new 'modopts.ini' file?ãã> Reading script from C:\sbbs\exec\web_feed_importer.jsã> C:\sbbs\exec\web_feed_importer.js compiled in 0.00 secondsã> C:\sbbs\exec\web_feed_importer.js executed in 0.36 secondsãã> It's like it never sees either the sub or it's not reading the pageã> correctly.ããThere's no error message in there, so it's not clear that anything's actuallyãgoing wrong. That's pretty much the output I would expect to see if the scriptãdoesn't find any new messages to import from the feed.ã ãAre you adding this feed to that sub for the first time, or was it already setãup and you noticed that no new messages were coming in?ããPlease try the following:ãã- Create a new message area, with an internal code of 'TESTNHL'ã- Restart Synchronet or wait for the BBS to recycleã- Add 'testnhl = http://cdn.nhl.com/rss/news.xml' to the '[feeds]' section ofã'ctrl/modopts.ini'ã- Run 'web_feed_importer.js' via jsexec againããOn my end, the script takes .5 seconds to run and import all of the messagesãfrom that feed into a new message area. Subsequent executions (with no newãmessages to import) take anywhere from .2 to .35 seconds.ãã---ãechicken ãelectronic chicken bbs - bbs.electronicchicken.com - 416-273-7230ã þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.comã
  • From Bill McGarrity@VERT/TEQUILAM to echicken on Mon Jan 23 17:43:19 2017
    Hello echicken!ããWas getting something funky when I added a new sub. I ran jsexec web_feed_importer.js locally... and this is what I got...ããC:\sbbs\exec>jsexec web_feed_importer.jsããJSexec v3.17a-Win32 (rev 1.184) - Execute Synchronet JavaScript ModuleãCompiled Dec 10 2016 05:02:52 with MSC 1800ããLoading configuration files from C:\SBBS\CTRLãJavaScript-C 1.8.5 2011-03-31ãJavaScript: Creating runtime: 8388608 bytesãJavaScript: Initializing context (stack: 16384 bytes)ããReading script from C:\sbbs\exec\web_feed_importer.jsãC:\sbbs\exec\web_feed_importer.js compiled in 0.00 secondsãUnknown scheme! 'undefined'ãSyntaxError: XML tag name mismatch (expected hr)ãSyntaxError: XML tag name mismatch (expected hr)ãããA: what is Unknown Scheme! 'undefined'ãB; what's with the Syntax ErrorããandããC: NOt sure why it won't connect to this page: SYSTEMUP = http://rss.uptimerobot.com/u393104-a7daeb14e4919ab941ba59354bf80355ããSYSTEMUP I have in the Main Folder...ããThanks in advance..ããBillããã... mote supports asymmetric ND modeãã---ã þ Synchronet þ TequilaMockingbird Online - Toms River, NJã
  • From echicken@VERT/ECBBS to Bill McGarrity on Mon Jan 23 18:43:25 2017
    Re: web_feed_importer.jsã By: Bill McGarrity to echicken on Mon Jan 23 2017 17:43:19ãã BM> http://rss.uptimerobot.com/u393104-a7daeb14e4919ab941ba59354bf80355 ããSo, I just did a test with that feed, and it imported fine for me. No errors.ãã BM> Unknown scheme! 'undefined'ã BM> SyntaxError: XML tag name mismatch (expected hr)ã BM> SyntaxError: XML tag name mismatch (expected hr)ããIt's possible that there was an error on the other side (at the feed provider,ãUptime Robot). That 'expected hr' bit indicates that the XML parserãencountered an <hr> tag, which I wouldn't expect to see unescaped/unencoded inãan RSS or Atom feed. My guess is that the parser was looking at one of theirãerror pages (404, 500, 503, etc.), which wouldn't work too well.ãã---ãechickenãelectronic chicken bbs - bbs.electronicchicken.com - 416-273-7230ã þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.comã
  • From Bill McGarrity@VERT/TEQUILAM to echicken on Tue Jan 24 16:31:00 2017
    echicken wrote to Bill McGarrity <=-ãã ec> Re: web_feed_importer.jsã ec> By: Bill McGarrity to echicken on Mon Jan 23 2017 17:43:19ãã BM> http://rss.uptimerobot.com/u393104-a7daeb14e4919ab941ba59354bf80355ãã ec> So, I just did a test with that feed, and it imported fine for me. Noã ec> errors.ãã BM> Unknown scheme! 'undefined'ã BM> SyntaxError: XML tag name mismatch (expected hr)ã BM> SyntaxError: XML tag name mismatch (expected hr)ãã ec> It's possible that there was an error on the other side (at the feedã ec> provider, Uptime Robot). That 'expected hr' bit indicates that the XMLã ec> parser encountered an <hr> tag, which I wouldn't expect to seeã ec> unescaped/unencoded in an RSS or Atom feed. My guess is that theã ec> parser was looking at one of their error pages (404, 500, 503, etc.),ã ec> which wouldn't work too well.ããif I type that address into a browser... I get this..ãã<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">ã<channel>ã<title>Uptime Robot - All Monitors</title>ã<link>http://www.uptimerobot.com/</link>ã<description>Sending the status of your websites via RSS.</description>ã<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self"ãtype="application/rss+xml"ãhref="http://rss.uptimerobot.com/u1-5b5168eb2ed3396e02b6b7d4459cf634/"/>ã<lastBuildDate>Tue, 17 Jan 2017 02:40:46 -0500</lastBuildDate>ããI did some mkore digging and found a bad link that was causing the problems. Iãremoved them and poof... it worked.ããThanks for help...ããã--ãã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 Sneaky@VERT/CHOICE to All on Tue Nov 3 18:22:20 2020
    Re: web_feed_importer.js erroring outã By: Kurisu to Digital Man on Mon Oct 19 2020 02:22 amããHi allããI have setup web_feed_importer.js and the one that was there when I setupãworks fine + another one I added to the list.ããI have been searching for rss feed on the internet and I likeãto ask if you could list a few rss feed that I could use on my bbsã just all topic and bbs stuff if anyããThank youããIan S 1st Choice Core Nzãã---ã þ Synchronet þ 1st Choice Core - 1stchoicecore.co.nzã
  • From Bob Roberts@VERT/HOVAL to Sneaky on Tue Nov 3 11:20:35 2020
    Re: web_feed_importer.jsã By: Sneaky to All on Tue Nov 03 2020 06:22 pmãã Sn> I have been searching for rss feed on the internet and I likeã Sn> to ask if you could list a few rss feed that I could use on my bbsã Sn> just all topic and bbs stuff if anyããHere's what I'm using. Still playing with it. I try to find RSS feeds that have full article text, but they are harder and harder to find, especially with the news sites.ããLOCAL-HEADLINES = http://rss.cnn.com/rss/edition.rss,http://feeds.bbci.co.uk/news/rss.xmlãLOCAL-POLITICS = https://rss.politico.com/politicopulse.xmlãLOCAL-TECHNEWS = https://www.techmeme.com/feed.xml?x=1,https://TechCrunch.com/feed/,http://feeds .arstechnica.com/arstechnica/index,https://www.theverge.com/rss/full.xmlãã|01bobbobbobbob|09bob|03bob|11bob|03bob|09bob|01bobbobbobã|01robrobrobrob|09rob|03rob|11rob|03rob|09rob|01robrobrobãã---ã þ Synchronet þ Halls of Valhalla <> San Francisco <> hovalbbs.comã
  • From echicken@VERT/ECBBS to Bob Roberts on Wed Nov 4 00:30:01 2020
    Re: web_feed_importer.jsã By: Bob Roberts to Sneaky on Tue Nov 03 2020 11:20:35ãã BR> Here's what I'm using. Still playing with it. I try to find RSS feeds thatã BR> have full article text, but they are harder and harder to find, especiallyã BR> with the news sites. ããThey generally want you to click through for the full story, so they can serve more ads and otherwise monetize your reading. RSS is still in use, but just isn't as good as it was 10+ years ago.ãã---ãechickenãelectronic chicken bbs - bbs.electronicchicken.comã þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.comã
  • From Sneaky@VERT/CHOICE3 to Bob Roberts on Thu Nov 5 08:35:00 2020
    Hi Bob Roberts ãã Sn> to ask if you could list a few rss feed that I could use on my bbsã Sn> just all topic and bbs stuff if anyãã BR> Here's what I'm using. Still playing with it. I try to find RSS feedsã BR> that have full article text, but they are harder and harder to find,ã BR> especially with the news sites.ããyes they are hard to find, but well keep searching. ãã BR> LOCAL-HEADLINES =ã BR> http://rss.cnn.com/rss/edition.rss,http://feeds.bbci.co.uk/news/rss.xmlã BR> LOCAL-POLITICS = https://rss.politico.com/politicopulse.xmlã BR> LOCAL-TECHNEWS =ã BR> https://www.techmeme.com/feed.xml?x=1,https://TechCrunch.com/feed/,http:ã BR> //feedsã BR> .arstechnica.com/arstechnica/index,https://www.theverge.com/rss/full.xmlãããThank you for there ones, I have a http://rss.cnn.com now and probably add moreãrss feedãfrom there, with the one's above.ããThank you for your replyããIan S 1st Choice Core Nzã ã--- MultiMail/Win v0.52ã þ Synchronet þ 4th Choice Core/New Zealandã