Subj : Re: web_feed_importer.js
To   : echicken
From : Bill McGarrity
Date : Thu Sep 08 2016 12:45 am

-=> 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