Subj : Re: web_feed_importer.js
To : Bill McGarrity
From : echicken
Date : Thu Sep 08 2016 10:42 am
> 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