Skip to content

[nodebb-plugin-rss] RSS Feed plugin

NodeBB Plugins
222 49 293.3k 13
  • What would be cool in this and quite easy to implement would be the ability to configure your own timers for the feeds.

    What you do think ?βœ‹

  • 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.

    @Gaurav-Grv-Robinson said:

    Does not work on 1.0.1
    Gives error "No new feed is returned" for any and every kind of feed.

    Yes, Its the same error for me. even though i am using 0.9.4 version

    EDIT: Works now.

  • 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] - info: [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] - error: 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] - info: [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] - error: 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_modules
    • git clone https://github.com/barisusakli/nodebb-plugin-rss.git
    • cd nodebb-plugin-rss
    • npm 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_modules
    • git clone https://github.com/barisusakli/nodebb-plugin-rss.git
    • cd nodebb-plugin-rss
    • npm i
    • restart NodeBB and activate the plugin from ACP -> Plugins

    @pichalite Seems @baris is the only publisher for that plugin, so we'll wait for him to come online (in a couple hours I guess) so he can publish πŸ˜„

  • Published 0.3.6.

  • new error πŸ˜•

    /4 15:18 [13435] - error: SyntaxError: Unexpected token ILLEGAL
        at Module._compile (module.js:439:25)
        at Object.Module._extensions..js (module.js:474:10)
        at Module.load (module.js:356:32)
        at Function.Module._load (module.js:312:12)
        at Module.require (module.js:364:17)
        at require (module.js:380:17)
        at Object.<anonymous> (/home/forum/NodeBB/node_modules/nodebb-plugin-rss/node_modules/to-markdown/index.js:23:15)
        at Module._compile (module.js:456:26)
        at Object.Module._extensions..js (module.js:474:10)
        at Module.load (module.js:356:32)
        at Function.Module._load (module.js:312:12)
        at Module.require (module.js:364:17)
        at require (module.js:380:17)
        at Object.<anonymous> (/home/forum/NodeBB/node_modules/nodebb-plugin-rss/index.js:7:15)
        at Module._compile (module.js:456:26)
        at Object.Module._extensions..js (module.js:474:10)
    8/4 15:18 [13435] - warn: [plugins] Unable to parse library for: nodebb-plugin-rss
    
  • 0.3.6 needs nodejs 4.2 since the to-markdown dependency was updated to 2.0.

    Let me know if it still hapens with nodejs 4+

  • 0.3.6 needs nodejs 4.2 since the to-markdown dependency was updated to 2.0.

    Let me know if it still hapens with nodejs 4+

    @baris oops I didn't check that to-markdown required nodejs 4+. Just updated all dependencies to latest without checking.

  • last stable version of nodejs πŸ™‚

    .. still..

    9/4 12:08 [16030] - error: Error: ENOENT: no such file or directory, open '/home/forum/NodeBB/node_modules/nodebb-plugin-rss/node_modules/to-markdown/index.js'
        at Error (native)
        at Object.fs.openSync (fs.js:584:18)
        at Object.fs.readFileSync (fs.js:431:33)
        at Object.Module._extensions..js (module.js:421:20)
        at Module.load (module.js:357:32)
        at Function.Module._load (module.js:314:12)
        at Module.require (module.js:367:17)
        at require (internal/module.js:16:19)
        at Object.<anonymous> (/home/forum/NodeBB/node_modules/nodebb-plugin-rss/index.js:7:15)
        at Module._compile (module.js:413:34)
        at Object.Module._extensions..js (module.js:422:10)
        at Module.load (module.js:357:32)
        at Function.Module._load (module.js:314:12)
        at Module.require (module.js:367:17)
        at require (internal/module.js:16:19)
        at Object.Plugins.requireLibrary (/home/forum/NodeBB/src/plugins.js:42:33)
    9/4 12:08 [16030] - warn: [plugins] Unable to parse library for: nodebb-plugin-rss
    
    
  • last stable version of nodejs πŸ™‚

    .. still..

    9/4 12:08 [16030] - error: Error: ENOENT: no such file or directory, open '/home/forum/NodeBB/node_modules/nodebb-plugin-rss/node_modules/to-markdown/index.js'
        at Error (native)
        at Object.fs.openSync (fs.js:584:18)
        at Object.fs.readFileSync (fs.js:431:33)
        at Object.Module._extensions..js (module.js:421:20)
        at Module.load (module.js:357:32)
        at Function.Module._load (module.js:314:12)
        at Module.require (module.js:367:17)
        at require (internal/module.js:16:19)
        at Object.<anonymous> (/home/forum/NodeBB/node_modules/nodebb-plugin-rss/index.js:7:15)
        at Module._compile (module.js:413:34)
        at Object.Module._extensions..js (module.js:422:10)
        at Module.load (module.js:357:32)
        at Function.Module._load (module.js:314:12)
        at Module.require (module.js:367:17)
        at require (internal/module.js:16:19)
        at Object.Plugins.requireLibrary (/home/forum/NodeBB/src/plugins.js:42:33)
    9/4 12:08 [16030] - warn: [plugins] Unable to parse library for: nodebb-plugin-rss
    
    

    nothing that a npm install couldnt resolve.. but it should work outside the box πŸ˜‰

  • Published 0.3.6.

    @baris Some feeds (like wordpress feeds) are not putting the link of the original post.

  • And.. its me again πŸ™‚

    Trying to get the content of the google testing blog

    14/4 00:00 [29580] - info: [plugin-rss] posting, http://feeds.feedburner.com/blogspot/RLXA - title: [object Object], published date: 2016-04-08T22:00:00Z
    14/4 00:00 [29580] - error: 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 emitOne (events.js:90:13)
        at Socket.emit (events.js:182:7)
        at readableAddChunk (_stream_readable.js:153:18)
    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 emitOne (events.js:90:13)
        at Socket.emit (events.js:182:7)
        at readableAddChunk (_stream_readable.js:153:18)
    
    
  • Published 0.3.7 which should fix the crash, you should see a warning in the logs if the feed entry doesn't have a proper content.


Suggested Topics


Looks like your connection to NodeBB Community was lost, please wait while we try to reconnect.