[nodebb-plugin-rss] RSS Feed plugin
-
Hey folks -- new here. Really liking NodeBB and this RSS plugin. I get an error when I add a Google News feed though. I've included that below. Any thoughts on how to go about fixing this? This is the feed I used:
Google News
Comprehensive up-to-date news coverage, aggregated from sources all over the world by Google News.
Google News (news.google.com)
I've created an issue in github: https://github.com/barisusakli/nodebb-plugin-rss/issues/9
11/7 15:13 [1307] - error: TypeError: Cannot read property '1' of null at ELEMENTS.replacement (/home/lififorums/nodebb/node_modules/nodebb-plugin-rss/node_modules/to-markdown/src/to-markdown.js:75:70) at /home/lififorums/nodebb/node_modules/nodebb-plugin-rss/node_modules/to-markdown/src/to-markdown.js:100:41 at String.replace (native) at replaceEls (/home/lififorums/nodebb/node_modules/nodebb-plugin-rss/node_modules/to-markdown/src/to-markdown.js:99:23) at toMarkdown (/home/lififorums/nodebb/node_modules/nodebb-plugin-rss/node_modules/to-markdown/src/to-markdown.js:82:16) at /home/lififorums/nodebb/node_modules/nodebb-plugin-rss/index.js:202:14 at /home/lififorums/nodebb/src/database/mongo/sorted.js:325:4 at handleCallback (/home/lififorums/nodebb/node_modules/mongodb/lib/utils.js:95:12) at /home/lififorums/nodebb/node_modules/mongodb/lib/collection.js:1064:5 at handleCallback (/home/lififorums/nodebb/node_modules/mongodb/lib/utils.js:95:12) -
Hey folks -- new here. Really liking NodeBB and this RSS plugin. I get an error when I add a Google News feed though. I've included that below. Any thoughts on how to go about fixing this? This is the feed I used:
Google News
Comprehensive up-to-date news coverage, aggregated from sources all over the world by Google News.
Google News (news.google.com)
I've created an issue in github: https://github.com/barisusakli/nodebb-plugin-rss/issues/9
11/7 15:13 [1307] - error: TypeError: Cannot read property '1' of null at ELEMENTS.replacement (/home/lififorums/nodebb/node_modules/nodebb-plugin-rss/node_modules/to-markdown/src/to-markdown.js:75:70) at /home/lififorums/nodebb/node_modules/nodebb-plugin-rss/node_modules/to-markdown/src/to-markdown.js:100:41 at String.replace (native) at replaceEls (/home/lififorums/nodebb/node_modules/nodebb-plugin-rss/node_modules/to-markdown/src/to-markdown.js:99:23) at toMarkdown (/home/lififorums/nodebb/node_modules/nodebb-plugin-rss/node_modules/to-markdown/src/to-markdown.js:82:16) at /home/lififorums/nodebb/node_modules/nodebb-plugin-rss/index.js:202:14 at /home/lififorums/nodebb/src/database/mongo/sorted.js:325:4 at handleCallback (/home/lififorums/nodebb/node_modules/mongodb/lib/utils.js:95:12) at /home/lififorums/nodebb/node_modules/mongodb/lib/collection.js:1064:5 at handleCallback (/home/lififorums/nodebb/node_modules/mongodb/lib/utils.js:95:12)Pretty keen on this getting updated. My old way of adding link to content doesn't seem to wrk anymore

Seems it randomly works and then doesn't again. It's acting a bit weird
Any chance of an update @baris
EDIT: got the rss's working again but my entry.link doesn't appear to work anymore ..hmm
-
Jussst thought I would add this little snippet of code to the RSS plugin thread on this site. (so I can find it later)
On my RSS feed I like to include the source of where the link of the rss or 'where the rss feed article' came from (url). edit/change it how you like.
Add this extra line of code just after line 201 in index.js:
201: content = toMarkdown(content); 202: content += '\nSource: ' + entry.link + '\n'; <----- this lineIt will add a
Source: http://www.rss.com/this/is/the/rss/link/here/page/storyto the bottom of every rss feed so the user can click to go to the page posted by the 'nodebb-plugin-rss' Plugin
-
@mudmanc4 I have the plugin running fine on http://pichalite.com NodeBB v0.9.3
-
@mudmanc4 I have the plugin running fine on http://pichalite.com NodeBB v0.9.3
Thanks @pichalite I must have something else borked up, adding this plugin causes 100% + CPU loads on a page refresh.
-
Does not work on 1.0.1
Gives error "No new feed is returned" for any and every kind of feed. -
Does not work on 1.0.1
Gives error "No new feed is returned" for any and every kind of feed. -
Just for reference, @baris has fixed the No new feed is returned issue in the latest version.
-
Hi.. Some wordpress feeds are not showing the link to the original content ( ex: https://perdidonoteste.wordpress.com/feed/ )
The "error" No new feed is returned" only happens sometimes. ..
-
and getting this other error
6/4 16:00 [30892] - [32minfo[39m: [plugin-rss] posting, http://portaltestesoftware.blogspot.com/feeds/posts/default - title: [object Object], published date: 2016-03-30T17:55:00Z 6/4 16:00 [30892] - [31merror[39m: TypeError: Cannot read property 'content' of undefined at /home/forum/NodeBB/node_modules/nodebb-plugin-rss/index.js:195:33 at /home/forum/NodeBB/src/database/mongo/sorted.js:342:4 at handleCallback (/home/forum/NodeBB/node_modules/mongodb/lib/utils.js:96:12) at /home/forum/NodeBB/node_modules/mongodb/lib/collection.js:1357:5 at handleCallback (/home/forum/NodeBB/node_modules/mongodb/lib/utils.js:96:12) at /home/forum/NodeBB/node_modules/mongodb/lib/cursor.js:657:5 at handleCallback (/home/forum/NodeBB/node_modules/mongodb/node_modules/mongodb-core/lib/cursor.js:159:5) at nextFunction (/home/forum/NodeBB/node_modules/mongodb/node_modules/mongodb-core/lib/cursor.js:662:5) at /home/forum/NodeBB/node_modules/mongodb/node_modules/mongodb-core/lib/cursor.js:564:7 at queryCallback (/home/forum/NodeBB/node_modules/mongodb/node_modules/mongodb-core/lib/cursor.js:241:5) at Callbacks.emit (/home/forum/NodeBB/node_modules/mongodb/node_modules/mongodb-core/lib/topologies/server.js:116:3) at null.messageHandler (/home/forum/NodeBB/node_modules/mongodb/node_modules/mongodb-core/lib/topologies/server.js:291:23) at Socket.<anonymous> (/home/forum/NodeBB/node_modules/mongodb/node_modules/mongodb-core/lib/connection/connection.js:285:22) at Socket.emit (events.js:95:17) at Socket.<anonymous> (_stream_readable.js:765:14) at Socket.emit (events.js:92:17) TypeError: Cannot read property 'content' of undefined at /home/forum/NodeBB/node_modules/nodebb-plugin-rss/index.js:195:33 at /home/forum/NodeBB/src/database/mongo/sorted.js:342:4 at handleCallback (/home/forum/NodeBB/node_modules/mongodb/lib/utils.js:96:12) at /home/forum/NodeBB/node_modules/mongodb/lib/collection.js:1357:5 at handleCallback (/home/forum/NodeBB/node_modules/mongodb/lib/utils.js:96:12) at /home/forum/NodeBB/node_modules/mongodb/lib/cursor.js:657:5 at handleCallback (/home/forum/NodeBB/node_modules/mongodb/node_modules/mongodb-core/lib/cursor.js:159:5) at nextFunction (/home/forum/NodeBB/node_modules/mongodb/node_modules/mongodb-core/lib/cursor.js:662:5) at /home/forum/NodeBB/node_modules/mongodb/node_modules/mongodb-core/lib/cursor.js:564:7 at queryCallback (/home/forum/NodeBB/node_modules/mongodb/node_modules/mongodb-core/lib/cursor.js:241:5) at Callbacks.emit (/home/forum/NodeBB/node_modules/mongodb/node_modules/mongodb-core/lib/topologies/server.js:116:3) at null.messageHandler (/home/forum/NodeBB/node_modules/mongodb/node_modules/mongodb-core/lib/topologies/server.js:291:23) at Socket.<anonymous> (/home/forum/NodeBB/node_modules/mongodb/node_modules/mongodb-core/lib/connection/connection.js:285:22) at Socket.emit (events.js:95:17) at Socket.<anonymous> (_stream_readable.js:765:14) at Socket.emit (events.js:92:17) -
and getting this other error
6/4 16:00 [30892] - [32minfo[39m: [plugin-rss] posting, http://portaltestesoftware.blogspot.com/feeds/posts/default - title: [object Object], published date: 2016-03-30T17:55:00Z 6/4 16:00 [30892] - [31merror[39m: TypeError: Cannot read property 'content' of undefined at /home/forum/NodeBB/node_modules/nodebb-plugin-rss/index.js:195:33 at /home/forum/NodeBB/src/database/mongo/sorted.js:342:4 at handleCallback (/home/forum/NodeBB/node_modules/mongodb/lib/utils.js:96:12) at /home/forum/NodeBB/node_modules/mongodb/lib/collection.js:1357:5 at handleCallback (/home/forum/NodeBB/node_modules/mongodb/lib/utils.js:96:12) at /home/forum/NodeBB/node_modules/mongodb/lib/cursor.js:657:5 at handleCallback (/home/forum/NodeBB/node_modules/mongodb/node_modules/mongodb-core/lib/cursor.js:159:5) at nextFunction (/home/forum/NodeBB/node_modules/mongodb/node_modules/mongodb-core/lib/cursor.js:662:5) at /home/forum/NodeBB/node_modules/mongodb/node_modules/mongodb-core/lib/cursor.js:564:7 at queryCallback (/home/forum/NodeBB/node_modules/mongodb/node_modules/mongodb-core/lib/cursor.js:241:5) at Callbacks.emit (/home/forum/NodeBB/node_modules/mongodb/node_modules/mongodb-core/lib/topologies/server.js:116:3) at null.messageHandler (/home/forum/NodeBB/node_modules/mongodb/node_modules/mongodb-core/lib/topologies/server.js:291:23) at Socket.<anonymous> (/home/forum/NodeBB/node_modules/mongodb/node_modules/mongodb-core/lib/connection/connection.js:285:22) at Socket.emit (events.js:95:17) at Socket.<anonymous> (_stream_readable.js:765:14) at Socket.emit (events.js:92:17) TypeError: Cannot read property 'content' of undefined at /home/forum/NodeBB/node_modules/nodebb-plugin-rss/index.js:195:33 at /home/forum/NodeBB/src/database/mongo/sorted.js:342:4 at handleCallback (/home/forum/NodeBB/node_modules/mongodb/lib/utils.js:96:12) at /home/forum/NodeBB/node_modules/mongodb/lib/collection.js:1357:5 at handleCallback (/home/forum/NodeBB/node_modules/mongodb/lib/utils.js:96:12) at /home/forum/NodeBB/node_modules/mongodb/lib/cursor.js:657:5 at handleCallback (/home/forum/NodeBB/node_modules/mongodb/node_modules/mongodb-core/lib/cursor.js:159:5) at nextFunction (/home/forum/NodeBB/node_modules/mongodb/node_modules/mongodb-core/lib/cursor.js:662:5) at /home/forum/NodeBB/node_modules/mongodb/node_modules/mongodb-core/lib/cursor.js:564:7 at queryCallback (/home/forum/NodeBB/node_modules/mongodb/node_modules/mongodb-core/lib/cursor.js:241:5) at Callbacks.emit (/home/forum/NodeBB/node_modules/mongodb/node_modules/mongodb-core/lib/topologies/server.js:116:3) at null.messageHandler (/home/forum/NodeBB/node_modules/mongodb/node_modules/mongodb-core/lib/topologies/server.js:291:23) at Socket.<anonymous> (/home/forum/NodeBB/node_modules/mongodb/node_modules/mongodb-core/lib/connection/connection.js:285:22) at Socket.emit (events.js:95:17) at Socket.<anonymous> (_stream_readable.js:765:14) at Socket.emit (events.js:92:17)@Leonardo-Galani What's your NodeBB version and what version of the plugin are you using?
-
@Leonardo-Galani What's your NodeBB version and what version of the plugin are you using?
modules:composer.user_said_in, @pichalite, [nodebb-plugin-rss] RSS Feed plugin
@Leonardo-Galani What's your NodeBB version and what version of the plugin are you using?
Doesn't work for me, can't see it in the menu, see here https://community.nodebb.org/topic/8109/rss-poster/4
Running latest 102 and .35 of the plugin.
-
@Leonardo-Galani What's your NodeBB version and what version of the plugin are you using?
@pichalite im using last stable of nodebb
NodeBB v1.0.2.nodebb-plugin-rss:
Installed 0.3.5 | Latest 0.3.5 -
@pichalite im using last stable of nodebb
NodeBB v1.0.2.nodebb-plugin-rss:
Installed 0.3.5 | Latest 0.3.5@Leonardo-Galani @tkiblin seems to be an issue with the plugin dependencies. Sent a PR to update dependencies. The PR is merged but the plugin is not published to NPM with changes. You can clone it using git.
- Deactivate and uninstall the plugin
cd /path_to_nodebb/node_modulesgit clone https://github.com/barisusakli/nodebb-plugin-rss.gitcd nodebb-plugin-rssnpm i- restart NodeBB and activate the plugin from ACP -> Plugins
-
@Leonardo-Galani @tkiblin seems to be an issue with the plugin dependencies. Sent a PR to update dependencies. The PR is merged but the plugin is not published to NPM with changes. You can clone it using git.
- Deactivate and uninstall the plugin
cd /path_to_nodebb/node_modulesgit clone https://github.com/barisusakli/nodebb-plugin-rss.gitcd nodebb-plugin-rssnpm i- restart NodeBB and activate the plugin from ACP -> Plugins
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register LoginSuggested Topics
-
-
-
-
-
dbsearch not work
Unsolved Technical Support

