I seem to be having an issue with importing one feed from: http://cdn.nhl.com/rss/news.xml
echicken wrote to Bill McGarrity <=-
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.
I created a new modopts.ini file listing only:
2nhl = http://cdn.nhl.com/rss/news.xml
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.
http://rss.uptimerobot.com/u393104-a7daeb14e4919ab941ba59354bf80355
Unknown scheme! 'undefined'
SyntaxError: XML tag name mismatch (expected hr)
SyntaxError: XML tag name mismatch (expected hr)
echicken wrote to Bill McGarrity <=-
Re: web_feed_importer.js
By: Bill McGarrity to echicken on Mon Jan 23 2017 17:43:19
http://rss.uptimerobot.com/u393104-a7daeb14e4919ab941ba59354bf80355
So, I just did a test with that feed, and it imported fine for me. No errors.
Unknown scheme! 'undefined'
SyntaxError: XML tag name mismatch (expected hr)
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.
evnt FEEDIMP !JavaScript C:\sbbs\exec\web_feed_importer.js line 1:
SyntaxError: illegal character
What is on line 1 of the file?
This little test script, run via jsexec, is able to load the feed andprint
some articles to my terminal. Please give it a try and let me know whatyou
see:
Also the code references the "body" element and that does not exist in this feed, they use "description" instead.
Looking at the output below and comparing it to the actual XML output, I think the culprit here lies in elements that are expressed with "CDATA".
We're seeing different results, so there's some difference in the code we're running on our systems. How up to date is your BBS, including the scripts in exec/ and exec/load/?
We're seeing different results, so there's some difference in the
code we're running on our systems. How up to date is your BBS,
including the scripts in exec/ and exec/load/?
I thought I was running latest version, I'll do a git pull and rebuild (with symlinks) and see what happens.
echicken wrote to Bob Roberts <=-
Re: web_feed_importer.js erro
By: Bob Roberts to echicken on Wed Oct 28 2020 08:32:21
That would be cool. Not sure if you're thinking of creating an external RSS "door", but I really like having them imported into the message bases,
I am thinking of that, but it would still be backed by a message
base. There would be an RSS reader module that you could browse
feeds from, but ultimately it's pulling data out of message
bases. You could hide those bases from your users or not, or use
the reader module or not. Could be a news ticker or scrolling
newsreader, that sort of thing.
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
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.
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
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
Sysop: | Tandy |
---|---|
Location: | New York, USA |
Users: | 15 |
Nodes: | 13 (0 / 13) |
Uptime: | 07:25:22 |
Calls: | 340 |
Messages: | 123,398 |