[nodebb-plugin-rss] RSS Feed plugin
-
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.
-
I've a error with v.1.3.1
2019-05-14T22:19:00.239Z [4567/14641] - error: uncaughtException: feed.getItems is not a function TypeError: feed.getItems is not a function at pullFeed (/srv/nodebb/node_modules/nodebb-plugin-rss/index.js:322:7) at /srv/nodebb/node_modules/nodebb-plugin-rss/index.js:309:3 at /srv/nodebb/node_modules/nodebb-plugin-rss/node_modules/async/dist/async.js:3047:16 at replenish (/srv/nodebb/node_modules/nodebb-plugin-rss/node_modules/async/dist/async.js:982:17) at /srv/nodebb/node_modules/nodebb-plugin-rss/node_modules/async/dist/async.js:986:9 at eachLimit$1 (/srv/nodebb/node_modules/nodebb-plugin-rss/node_modules/async/dist/async.js:3133:22) at Object.<anonymous> (/srv/nodebb/node_modules/nodebb-plugin-rss/node_modules/async/dist/async.js:1016:16) at pullFeeds (/srv/nodebb/node_modules/nodebb-plugin-rss/index.js:308:8) at /srv/nodebb/node_modules/nodebb-plugin-rss/index.js:303:3 at /srv/nodebb/node_modules/nodebb-plugin-rss/node_modules/async/dist/async.js:3824:9 {"error":{},"stack":"TypeError: feed.getItems is not a function\n at pullFeed (/srv/nodebb/node_modules/nodebb-plugin-rss/index.js:322:7)\n at /srv/nodebb/node_modules/nodebb-plugin-rss/index.js:309:3\n at /srv/nodebb/node_modules/nodebb-plugin-rss/node_modules/async/dist/async.js:3047:16\n at replenish (/srv/nodebb/node_modules/nodebb-plugin-rss/node_modules/async/dist/async.js:982:17)\n at /srv/nodebb/node_modules/nodebb-plugin-rss/node_modules/async/dist/async.js:986:9\n at eachLimit$1 (/srv/nodebb/node_modules/nodebb-plugin-rss/node_modules/async/dist/async.js:3133:22)\n at Object.<anonymous> (/srv/nodebb/node_modules/nodebb-plugin-rss/node_modules/async/dist/async.js:1016:16)\n at pullFeeds (/srv/nodebb/node_modules/nodebb-plugin-rss/index.js:308:8)\n at /srv/nodebb/node_modules/nodebb-plugin-rss/index.js:303:3\n at /srv/nodebb/node_modules/nodebb-plugin-rss/node_modules/async/dist/async.js:3824:9","exception":true,"date":"Wed May 15 2019 00:19:00 GMT+0200 (CEST)","process":{"pid":14641,"uid":1000,"gid":1000,"cwd":"/srv/nodebb","execPath":"/usr/bin/node","version":"v8.16.0","argv":["/usr/bin/node","/srv/nodebb/app.js"],"memoryUsage":{"rss":176680960,"heapTotal":146690048,"heapUsed":117395064,"external":36739363}},"os":{"loadavg":[0.0703125,0.1748046875,0.1650390625],"uptime":439714},"trace":[{"column":7,"file":"/srv/nodebb/node_modules/nodebb-plugin-rss/index.js","function":"pullFeed","line":322,"method":null,"native":false},{"column":3,"file":"/srv/nodebb/node_modules/nodebb-plugin-rss/index.js","function":null,"line":309,"method":null,"native":false},{"column":16,"file":"/srv/nodebb/node_modules/nodebb-plugin-rss/node_modules/async/dist/async.js","function":null,"line":3047,"method":null,"native":false},{"column":17,"file":"/srv/nodebb/node_modules/nodebb-plugin-rss/node_modules/async/dist/async.js","function":"replenish","line":982,"method":null,"native":false},{"column":9,"file":"/srv/nodebb/node_modules/nodebb-plugin-rss/node_modules/async/dist/async.js","function":null,"line":986,"method":null,"native":false},{"column":22,"file":"/srv/nodebb/node_modules/nodebb-plugin-rss/node_modules/async/dist/async.js","function":"eachLimit$1","line":3133,"method":null,"native":false},{"column":16,"file":"/srv/nodebb/node_modules/nodebb-plugin-rss/node_modules/async/dist/async.js","function":null,"line":1016,"method":null,"native":false},{"column":8,"file":"/srv/nodebb/node_modules/nodebb-plugin-rss/index.js","function":"pullFeeds","line":308,"method":null,"native":false},{"column":3,"file":"/srv/nodebb/node_modules/nodebb-plugin-rss/index.js","function":null,"line":303,"method":null,"native":false},{"column":9,"file":"/srv/nodebb/node_modules/nodebb-plugin-rss/node_modules/async/dist/async.js","function":null,"line":3824,"method":null,"native":false}]} 2019-05-14T22:19:00.239Z [4567/14641] - error: feed.getItems is not a function 2019-05-14T22:19:00.240Z [4567/14641] - info: [app] Shutdown (SIGTERM/SIGINT) Initialised. io: 0 emit [ 'disconnecting', 'forced close' ] io: 0 emit [ 'disconnect', 'forced close' ] io: 1 emit [ 'disconnecting', 'forced close' ] io: 1 emit [ 'disconnect', 'forced close' ]
-
Is there still a version with the old functionality of posting the content of the rss feed or an alternative plugin? Cannot find something.
-
@Kasimir444 said in [nodebb-plugin-rss] RSS Feed plugin:
Is there still a version with the old functionality of posting the content of the rss feed or an alternative plugin? Cannot find something.
Use version 1.3.2 work fine
-
@The-Worms said in [nodebb-plugin-rss] RSS Feed plugin:
Use version 1.3.2 work fine
Where can I find this Version? The Plugin Search in my NodeBB only shows 2.x
-
@Kasimir444 said in [nodebb-plugin-rss] RSS Feed plugin:
@The-Worms said in [nodebb-plugin-rss] RSS Feed plugin:
Use version 1.3.2 work fine
Where can I find this Version? The Plugin Search in my NodeBB only shows 2.x
For install v1.3.2 use this command line :
npm install [email protected]
-
-
I'm helping @AnOdeToBB with this issue, and it seems that the URL itself reports a 404 - see below
However, when accessed from the browser directly, the link works as expected. Currently running
[email protected]
as he needs the RSS body and not just the link. Updating to the latest version yields the same issue.Checking the blacklist status of the IP @AnOdeToBB is using produces no hits - it's not blacklisted, and the error being returned isn't a ratelimit.