[nodebb-plugin-rss] RSS Feed plugin


  • Staff Admin

    Published 1.1.7.

    • Improved table rendering
    • Added cache buster to feed retrieval
    • Fixed issue with saving settings


  • @baris hi, have you seen that problem?

    Since I've updated to nodebb@1.6, and updated the RSS module, I can't add RSS feeds : 0_1506692901962_b5fb6407-e67a-48ad-9423-8ccaf70af60b-image.png


  • Staff Admin

    I will take a look.


  • Staff Admin

    Published 1.1.9 which is compatible with NodeBB 1.6.0+



  • @baris thanks a lot!



  • Seems broke in v1.7.3. Cant see it in admin panel. Not sure where i should look to debug. @baris


  • Staff Admin

    @niacin Works for me, make sure it is activated and you ran ./nodebb build, check server and browser logs if it is still not working.


  • Swedes

    @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???


  • GNU/Linux

    hi,

    Is it possible to disable rss tag recovery ?

    i'm lot error :

    [31merror:  Error: [[error:too-many-tags, 6]]
    

  • Staff Admin

    Updated plugin to remove YQL and use rss-parse, also upgraded to use turndown since to-markdown is deprecated as well.

    New version 1.3.0


  • Staff Admin

    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

    722e5883-4cf3-43ea-88ea-8dbe4a7e6ae0-image.png


  • GNU/Linux

    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
    

  • Staff Admin

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


  • Staff Admin

    @The-Worms Nevermind, fixed in 2.0.1. Thanks for reporting! 👍


  • GNU/Linux

    thanks @baris

    But I've new problem 😛

    RSS Posts is only a rss link not rss content with link rss 😕


  • Staff Admin

    @The-Worms
    Seem my post above

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


  • GNU/Linux

    @baris said in [nodebb-plugin-rss] RSS Feed plugin:

    If you want the old functionality of posting the contents of the rss feed, use version 1.3.1 of this plugin.

    Ok, Haven't read changelog 2.0.0 😊


  • GNU/Linux

    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' ]
    
    

  • Staff Admin

    Thanks for reporting, fixed in 1.3.2.


  • GNU/Linux

    Thanks speed bugfix 😎
    Work fine 👌


Log in to reply
 

Suggested Topics

| |