Closed aggied closed 9 years ago
Doing a little digging, I decided to add console.log(content);
to https://github.com/barisusakli/nodebb-plugin-rss/blob/master/index.js#L201 and this is what I got. So there is indeed content going in, but it seems the RSS is invalid? I'll keep digging.
<table border="0" cellpadding="2" cellspacing="7" style="vertical-align:top"><tr><td width="80" align="center" valign="top"><font style="font-size:85%;font-family:arial,sans-serif"><a href="http://news.google.com/news/url?sa=t&fd=R&ct2=us&usg=AFQjCNEqrwlccLXfzsTyGlI4f-23ZJBS4Q&clid=c3a7d30bb8a4878e06b80cf16b898331&ei=ZGihVeiJKYKQ3QGLloAQ&url=http://www.infosecurity-magazine.com/blogs/li-fi-fantastic/"><img src="//t0.gstatic.com/images?q=tbn:ANd9GcShnW8tGFMA1NgYfNF1SkvnN_UasT-JegBSw1Ei6nb5bGU-ku-cUY6pY9Yig7xlg1BJwicybZJ0" alt="" border="1" width="80" height="80"><br><font size="-2">Infosecurity Magazine (blog)</font></a></font></td><td valign="top"><font style="font-size:85%;font-family:arial,sans-serif"><br><img alt="" height="1" width="1"><a href="http://news.google.com/news/url?sa=t&fd=R&ct2=us&usg=AFQjCNEqrwlccLXfzsTyGlI4f-23ZJBS4Q&clid=c3a7d30bb8a4878e06b80cf16b898331&ei=ZGihVeiJKYKQ3QGLloAQ&url=http://www.infosecurity-magazine.com/blogs/li-fi-fantastic/"><b><b>Li-Fi</b> fantastic – Quocirca's Report from Infosec 2015</b></a><br><font size="-1"><b><font color="#6f6f6f">Infosecurity Magazine (blog)</font></b></font><br><font size="-1">As with any trade show, Infosecurity Europe (the continent's biggest IT security bash) can get a bit mind-numbing, with one vendor after another going on about the big issues of the day – advanced threat detection, threat intelligence networks, the <b>...</b></font><br><font size="-1"></font><br><font size="-1"><a href="http://news.google.com/news/more?ncl=dFWDTPidOBmbn9M&authuser=0&ned=us"><b></b></a></font></font></td></tr></table>
Nothing wrong with the plugin per se, but it is relying on a deprecated service in Google's Feed API. The API is unable to process custom google news feeds. Considering a fork that removes the Google News dependency.
If there is content going in like you said it looks like toMarkdown is crashing did you post on their repo?
I should update the tomarkdown dependency in this plugin its ancient at 0.0.2
haven't had a chance to update -- will do soon. thanks
While pulling in a google news RSS feed https://news.google.com/?q=elections&output=rss I get the following error. Not sure yet what the cause is. Do we blame the
to-markdown
library? Or is the plugin sending in bad markdown?