Skip to content

[nodebb-plugin-rss] RSS Feed plugin

NodeBB Plugins
222 49 293.1k 13
  • How would this look in RSS spec?

    @julian

    Page: http://stackoverflow.com/questions/28843883/append-image-file-to-form-data-cordova-angular
    RSS: http://stackoverflow.com/feeds/question/28843883

    This RSS displays the first entry as the question that was asked and the rest of the entries are the answers that were posted.

  • Any advice for a JS noob to customize this script to use the "category term" IDs in RSS as Topic Tags?

    <category term="Dallas Cowboys"/>
    <category term="Dez Bryant"/>

    Sample RSS with categories/tags


    Also, the ability to post the first entry in the RSS feed as a topic and then post the rest of the entries as replies would be great to generate content on a new forum. It will help increase search engine traffic and eventually active members.

    I'll gladly donate $$ to whomever can help contribute to these requests. Thanks guys!

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

    It will add a

    Source: http://www.rss.com/this/is/the/rss/link/here/page/story
    

    to the bottom of every rss feed so the user can click to go to the page posted by the 'nodebb-plugin-rss' 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:

    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:

    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

  • ok I fixed it , now upgraded and nothing works !

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

    It will add a

    Source: http://www.rss.com/this/is/the/rss/link/here/page/story
    

    to the bottom of every rss feed so the user can click to go to the page posted by the 'nodebb-plugin-rss' Plugin

    This post is deleted!
  • Look like @baris fixed the linked issue already? Either way, perhaps he'll update you tomorrow 😄

  • Latest nodebb version this is stable for anyone?

  • Latest nodebb version this is stable for anyone?

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

  • 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


Suggested Topics


  • RSS feed plugin (YouTube Videos)

    NodeBB Plugins youtube rss rss feed status 404
    1
    0 Votes
    1 Posts
    850 Views
    AnOdeToBBA
    I'm hoping to pull In some YouTube videos that will embed into the post, so pull in the YouTube category feed automatically. Currently getting a 'Status 404 error' when inputting the feed URL, any ideas? I have posted this is the actual plugin thread but without any response so far. Has anyone managed to pull in and embed YouTube videos direct into the posts? Thanks
  • Issues with Nodebb-Plugin-RSS

    NodeBB Plugins
    2
    0 Votes
    2 Posts
    1k Views
    <baris>B
    In your ACP at /admin/settings/tags increase the maximum tag count, it seems that feed item has more than 5 tags.
  • 0 Votes
    10 Posts
    7k Views
    atriusA
    You're very welcome @SergioNG, i'm glad i was able to help Off-topic: Yay! 3 reputation. No more 10 minute cooldown between posts. Thank you :squirrel:
  • 2 Votes
    5 Posts
    5k Views
    G
    @fyhao Great plugin for analytics. I see you're feeding it into https://text-sentiment.p.mashape.com/analyze? Can you say a bit more about which algorithm they're using? I'm a data scientist and I'd be happy to collaborate a bit on this, but my specialties are Python and R so I'd have to write the machine learning backend in one of those languages for you.
  • [nodebb-plugin-beep] NodeBB Censor Curse Words Plugin

    NodeBB Plugins plugin
    40
    11 Votes
    40 Posts
    31k Views
    DownPWD
    Hello @baris thanks for the update. Would it be possible to delete the entire URL rather than just the domain ? Or maybe have the possibility to add a /* to an URL to ACP Example here a user posts a complete link but only the URL with the domain is deleted. ACP: [image: 1708899259249-2dc0f8a8-5deb-43b9-a81f-d77e5eb4a76c-image.png] On a post : [image: 1708899336714-9a1594a6-337f-4226-bac5-d9ad763cf266-image.png]

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