[nodebb-plugin-rss] RSS Feed plugin
-
Seems like it stopped to work with 1.4.0
7/12 00:00 [24258] - [32minfo[39m: [plugin-rss] posting, http://blog.eviltester.com/feeds/posts/default - title: [object Object], published date: 2016-12-01T21:20:00Z 7/12 00:00 [24258] - [31merror[39m: TypeError: str.replace is not a function at Object.module.exports.utils.slugify (/home/forum/NodeBB/public/src/utils.js:89:14) at async.waterfall.topicData (/home/forum/NodeBB/src/topics/create.js:38:33) at fn (/home/forum/NodeBB/node_modules/async/lib/async.js:746:34) at /home/forum/NodeBB/node_modules/async/lib/async.js:1213:16 at /home/forum/NodeBB/node_modules/async/lib/async.js:166:37 at /home/forum/NodeBB/node_modules/async/lib/async.js:706:43 at /home/forum/NodeBB/node_modules/async/lib/async.js:167:37 at /home/forum/NodeBB/node_modules/async/lib/async.js:1209:30 at /home/forum/NodeBB/src/database/mongo/hash.js:244:4 at handleCallback (/home/forum/NodeBB/node_modules/mongodb/lib/utils.js:96:12) at /home/forum/NodeBB/node_modules/mongodb/lib/collection.js:2482:14 at handleCallback (/home/forum/NodeBB/node_modules/mongodb/lib/utils.js:96:12) at /home/forum/NodeBB/node_modules/mongodb/lib/db.js:309:5 at /home/forum/NodeBB/node_modules/mongodb-core/lib/connection/pool.js:436:18 at _combinedTickCallback (internal/process/next_tick.js:67:7) at process._tickCallback (internal/process/next_tick.js:98:9) TypeError: str.replace is not a function at Object.module.exports.utils.slugify (/home/forum/NodeBB/public/src/utils.js:89:14) at async.waterfall.topicData (/home/forum/NodeBB/src/topics/create.js:38:33) at fn (/home/forum/NodeBB/node_modules/async/lib/async.js:746:34) at /home/forum/NodeBB/node_modules/async/lib/async.js:1213:16 at /home/forum/NodeBB/node_modules/async/lib/async.js:166:37 at /home/forum/NodeBB/node_modules/async/lib/async.js:706:43 at /home/forum/NodeBB/node_modules/async/lib/async.js:167:37 at /home/forum/NodeBB/node_modules/async/lib/async.js:1209:30 at /home/forum/NodeBB/src/database/mongo/hash.js:244:4 at handleCallback (/home/forum/NodeBB/node_modules/mongodb/lib/utils.js:96:12) at /home/forum/NodeBB/node_modules/mongodb/lib/collection.js:2482:14 at handleCallback (/home/forum/NodeBB/node_modules/mongodb/lib/utils.js:96:12) at /home/forum/NodeBB/node_modules/mongodb/lib/db.js:309:5 at /home/forum/NodeBB/node_modules/mongodb-core/lib/connection/pool.js:436:18 at _combinedTickCallback (internal/process/next_tick.js:67:7) at process._tickCallback (internal/process/next_tick.js:98:9)
-
@baris There are a lot of data put into the database when creating posts for every rss entry. What is the cleanup routine and is it possible to use this plugin as a viewer only and skip the creation on posts? I would like to have a plugin that merges multiple RSS feeds into one and sort it after date. Then add it to a widget as a joint news feed.
I guess the topic ID will go nuts after a while. The admin part is great but it would be nice with a skip add to post feat. Ore is there any other plugins out there that does this already???
-
This plugin has been rewritten. 2.0.0
It will no longer post the contents of the rss feed, it will only post a topic with a link to the feed entry.
Also added a new widget that shows entries from a rss feed. If you want to keep the old functionality stay on 1.3.1
-
I have a error with update :
2019-05-08T08:04:38.132Z [4567/32068] - warn: [deprecated] requiring core modules with `module.parent.require('rss-parser')` is deprecated. Please use `require.main.require("./src/<module_name>")` instead. at Object.<anonymous> (/srv/nodebb/node_modules/nodebb-plugin-rss/feed.js:3:14) 2019-05-08T08:04:38.132Z [4567/32068] - error: Error: Cannot find module 'rss-parser' at Function.Module._resolveFilename (module.js:548:15) at Function.Module._load (module.js:475:25) at Module.require (module.js:597:17) at require (internal/module.js:11:18) at Object.<anonymous> (/srv/nodebb/node_modules/nodebb-plugin-rss/feed.js:3:14) at Module._compile (module.js:653:30) at Object.Module._extensions..js (module.js:664:10) at Module.load (module.js:566:32) at tryModuleLoad (module.js:506:12) at Function.Module._load (module.js:498:3) 2019-05-08T08:04:38.132Z [4567/32068] - warn: [plugins] Unable to parse library for: nodebb-plugin-rss
-
@The-Worms said in [nodebb-plugin-rss] RSS Feed plugin:
module.parent.require
That's weird, there is no
module.parent.require
in 2.0.0 of this plugin.Did you run npm i after installing the plugin? Maybe try uninstalling and installing again.
-
@The-Worms
Seem my post aboveIt will no longer post the contents of the rss feed, it will only post a topic with a link to the feed entry.
If you want the old functionality of posting the contents of the rss feed, use version 1.3.1 of this plugin.