Skip to content

RSS parser script [NodeBB]

Customisation
47 2 12.4k 2
  • Sorry Mark you’re going to hate me here…

    I know you’re a busy man, I was just wondering if there was any advancement on the RSS parser script?

    I’m sure once it’s done you’ll be able to pull a few people over here to ‘download’ or for 'instructions’😉

    Many thanks

  • Sorry Mark you’re going to hate me here…

    I know you’re a busy man, I was just wondering if there was any advancement on the RSS parser script?

    I’m sure once it’s done you’ll be able to pull a few people over here to ‘download’ or for 'instructions’😉

    Many thanks

    @jac Hi. Yes, I’m going to be taking a look at this over the coming days. Thanks for the patience…

  • @jac Hi. Yes, I’m going to be taking a look at this over the coming days. Thanks for the patience…

    @phenomlab said in RSS parser script [NodeBB]:

    @jac Hi. Yes, I’m going to be taking a look at this over the coming days. Thanks for the patience…

    Great to hear! Many thanks 😁

  • @phenomlab said in RSS parser script [NodeBB]:

    @jac Hi. Yes, I’m going to be taking a look at this over the coming days. Thanks for the patience…

    Great to hear! Many thanks 😁

    @jac I spent three hours looking into this today and sadly it’s not a simple affair in the sense that I can’t reuse the older Flarum script. Essentially, it’s a rewrite but not the end of the world.

    I’ve finished most of this, but have hit a stumbling block with the newer API so will need to research further before we can be ready for an initial release.

    There are some dependencies also, but nothing too major. Essentially, you will require nodebb-plugin-write-api (listed as the Write API) plugin to be able to use this new script. It also (currently) requires PHP to be installed (although future versions will probably make use of Python.

  • @jac I spent three hours looking into this today and sadly it’s not a simple affair in the sense that I can’t reuse the older Flarum script. Essentially, it’s a rewrite but not the end of the world.

    I’ve finished most of this, but have hit a stumbling block with the newer API so will need to research further before we can be ready for an initial release.

    There are some dependencies also, but nothing too major. Essentially, you will require nodebb-plugin-write-api (listed as the Write API) plugin to be able to use this new script. It also (currently) requires PHP to be installed (although future versions will probably make use of Python.

    @phenomlab said in RSS parser script [NodeBB]:

    @jac I spent three hours looking into this today and sadly it’s not a simple affair in the sense that I can’t reuse the older Flarum script. Essentially, it’s a rewrite but not the end of the world.

    I’ve finished most of this, but have hit a stumbling block with the newer API so will need to research further before we can be ready for an initial release.

    There are some dependencies also, but nothing too major. Essentially, you will require nodebb-plugin-write-api (listed as the Write API) plugin to be able to use this new script. It also (currently) requires PHP to be installed (although future versions will probably make use of Python.

    Amazing work Mark, can’t thank you enough for all the effort that’s going into releasing this and making it compatible.

    It’s a shame you’ve ran into a few issues, but can’t thank you enough! If this does get released I don’t see why more users wouldn’t want to use it.

  • @phenomlab said in RSS parser script [NodeBB]:

    @jac I spent three hours looking into this today and sadly it’s not a simple affair in the sense that I can’t reuse the older Flarum script. Essentially, it’s a rewrite but not the end of the world.

    I’ve finished most of this, but have hit a stumbling block with the newer API so will need to research further before we can be ready for an initial release.

    There are some dependencies also, but nothing too major. Essentially, you will require nodebb-plugin-write-api (listed as the Write API) plugin to be able to use this new script. It also (currently) requires PHP to be installed (although future versions will probably make use of Python.

    Amazing work Mark, can’t thank you enough for all the effort that’s going into releasing this and making it compatible.

    It’s a shame you’ve ran into a few issues, but can’t thank you enough! If this does get released I don’t see why more users wouldn’t want to use it.

    @jac ok, I spent some more time (another 2 hours) looking into this, and now have it working

    unknown.png
    unknown-1.png
    unknown-2.png

    Essentially, it works fine, but the issue here is that there is no text - it’s just videos. Looking at the structure of the XML file, it’s not the same as a standard RSS or ATOM file.

    Proving difficult. Work continues…

    I’ll keep you posted.

  • @jac ok, I spent some more time (another 2 hours) looking into this, and now have it working

    unknown.png
    unknown-1.png
    unknown-2.png

    Essentially, it works fine, but the issue here is that there is no text - it’s just videos. Looking at the structure of the XML file, it’s not the same as a standard RSS or ATOM file.

    Proving difficult. Work continues…

    I’ll keep you posted.

    @phenomlab said in RSS parser script [NodeBB]:

    @jac ok, I spent some more time (another 2 hours) looking into this, and now have it working

    unknown.png
    unknown-1.png
    unknown-2.png

    Essentially, it works fine, but the issue here is that there is no text - it’s just videos. Looking at the structure of the XML file, it’s not the same as a standard RSS or ATOM file.

    Proving difficult. Work continues…

    I’ll keep you posted.

    Wow!!!

    Absolute genius! 🤝 👏

    The work continues for you, but absolutely amazing work Mark! 👏🏻

  • @phenomlab said in RSS parser script [NodeBB]:

    @jac ok, I spent some more time (another 2 hours) looking into this, and now have it working

    unknown.png
    unknown-1.png
    unknown-2.png

    Essentially, it works fine, but the issue here is that there is no text - it’s just videos. Looking at the structure of the XML file, it’s not the same as a standard RSS or ATOM file.

    Proving difficult. Work continues…

    I’ll keep you posted.

    Wow!!!

    Absolute genius! 🤝 👏

    The work continues for you, but absolutely amazing work Mark! 👏🏻

    @jac thanks. I think I’ve found a way to get the description of the YouTube video from the XML structure in the URL, but this may cause issues with other URLs that are in fact RSS and atom compliant.

    I’ll look at this a bit more tomorrow.

  • @jac thanks. I think I’ve found a way to get the description of the YouTube video from the XML structure in the URL, but this may cause issues with other URLs that are in fact RSS and atom compliant.

    I’ll look at this a bit more tomorrow.

    @phenomlab said in RSS parser script [NodeBB]:

    @jac thanks. I think I’ve found a way to get the description of the YouTube video from the XML structure in the URL, but this may cause issues with other URLs that are in fact RSS and atom compliant.

    I’ll look at this a bit more tomorrow.

    Thanks very much mate for all the hard work especially on a weekend, it’s very much appreciated!

  • @phenomlab said in RSS parser script [NodeBB]:

    @jac thanks. I think I’ve found a way to get the description of the YouTube video from the XML structure in the URL, but this may cause issues with other URLs that are in fact RSS and atom compliant.

    I’ll look at this a bit more tomorrow.

    Thanks very much mate for all the hard work especially on a weekend, it’s very much appreciated!

    @jac No problems. Happy to help.

  • @jac No problems. Happy to help.

    @phenomlab said in RSS parser script [NodeBB]:

    @jac No problems. Happy to help.

    Many thanks mate, looking forward to its release, it’ll really make a great difference importing match interviews, highlights etc. 🍾

  • @phenomlab said in RSS parser script [NodeBB]:

    @jac No problems. Happy to help.

    Many thanks mate, looking forward to its release, it’ll really make a great difference importing match interviews, highlights etc. 🍾

    @jac 😁 will this be published on the node forum too?

  • @jac 😁 will this be published on the node forum too?

    @jac Possibly. Ideally as a plugin though if that does happen

  • @jac Possibly. Ideally as a plugin though if that does happen

    @phenomlab said in RSS parser script [NodeBB]:

    @jac Possibly. Ideally as a plugin though if that does happen

    Fantastic! Can’t wait 😁 it will be a fantastic addition!

  • @phenomlab said in RSS parser script [NodeBB]:

    @jac Possibly. Ideally as a plugin though if that does happen

    Fantastic! Can’t wait 😁 it will be a fantastic addition!

    Does this plugin currently work fine but you’re trying to develop it to pull in descriptions otherwise it would be bad for SEO etc?

    Is that right 🤔.

    I’m looking forward to its release as you know 😁.

  • Does this plugin currently work fine but you’re trying to develop it to pull in descriptions otherwise it would be bad for SEO etc?

    Is that right 🤔.

    I’m looking forward to its release as you know 😁.

    @jac Yes, pretty much that. The only part left to develop is the feed you provided me. It’s structured differently meaning I have to fetch the data from a large array, and it takes time to identify which array key holds the specific string you want.

    For other RSS and ATOM feeds it’ll work out of the box. However, it (currently) requires PHP and MySQL (as it was ported from Flarum) and ideally should be moved to native NodeJS and MongoDB. Sadly, work commitments mean I haven’t had as much time as I’d like to update all of this so inevitably, the release has been delayed.

  • @jac Yes, pretty much that. The only part left to develop is the feed you provided me. It’s structured differently meaning I have to fetch the data from a large array, and it takes time to identify which array key holds the specific string you want.

    For other RSS and ATOM feeds it’ll work out of the box. However, it (currently) requires PHP and MySQL (as it was ported from Flarum) and ideally should be moved to native NodeJS and MongoDB. Sadly, work commitments mean I haven’t had as much time as I’d like to update all of this so inevitably, the release has been delayed.

    @phenomlab said in RSS parser script [NodeBB]:

    @jac Yes, pretty much that. The only part left to develop is the feed you provided me. It’s structured differently meaning I have to fetch the data from a large array, and it takes time to identify which array key holds the specific string you want.

    For other RSS and ATOM feeds it’ll work out of the box. However, it (currently) requires PHP and MySQL (as it was ported from Flarum) and ideally should be moved to native NodeJS and MongoDB. Sadly, work commitments mean I haven’t had as much time as I’d like to update all of this so inevitably, the release has been delayed.

    Thanks for the update Mark, all sounds very interesting and of course promising, and I eagerly await it’s release 😁.

  • @phenomlab said in RSS parser script [NodeBB]:

    @jac Yes, pretty much that. The only part left to develop is the feed you provided me. It’s structured differently meaning I have to fetch the data from a large array, and it takes time to identify which array key holds the specific string you want.

    For other RSS and ATOM feeds it’ll work out of the box. However, it (currently) requires PHP and MySQL (as it was ported from Flarum) and ideally should be moved to native NodeJS and MongoDB. Sadly, work commitments mean I haven’t had as much time as I’d like to update all of this so inevitably, the release has been delayed.

    Thanks for the update Mark, all sounds very interesting and of course promising, and I eagerly await it’s release 😁.

    @jac said in RSS parser script [NodeBB]:

    @phenomlab said in RSS parser script [NodeBB]:

    @jac Yes, pretty much that. The only part left to develop is the feed you provided me. It’s structured differently meaning I have to fetch the data from a large array, and it takes time to identify which array key holds the specific string you want.

    For other RSS and ATOM feeds it’ll work out of the box. However, it (currently) requires PHP and MySQL (as it was ported from Flarum) and ideally should be moved to native NodeJS and MongoDB. Sadly, work commitments mean I haven’t had as much time as I’d like to update all of this so inevitably, the release has been delayed.

    Thanks for the update Mark, all sounds very interesting and of course promising, and I eagerly await it’s release 😁.

    Just checking in on this, is there any advancement? 👍🏻

  • @jac said in RSS parser script [NodeBB]:

    @phenomlab said in RSS parser script [NodeBB]:

    @jac Yes, pretty much that. The only part left to develop is the feed you provided me. It’s structured differently meaning I have to fetch the data from a large array, and it takes time to identify which array key holds the specific string you want.

    For other RSS and ATOM feeds it’ll work out of the box. However, it (currently) requires PHP and MySQL (as it was ported from Flarum) and ideally should be moved to native NodeJS and MongoDB. Sadly, work commitments mean I haven’t had as much time as I’d like to update all of this so inevitably, the release has been delayed.

    Thanks for the update Mark, all sounds very interesting and of course promising, and I eagerly await it’s release 😁.

    Just checking in on this, is there any advancement? 👍🏻

    @jac Still on my list. Going to be looking at this hopefully soon.

  • @jac Still on my list. Going to be looking at this hopefully soon.

    @phenomlab said in RSS parser script [NodeBB]:

    @jac Still on my list. Going to be looking at this hopefully soon.

    👏🏻👏🏻🤞🏻 Can’t wait pal!!


Related Topics
  • Custom Page - nodebb

    Solved Customisation custom-pages nodebb
    13
    2
    5 Votes
    13 Posts
    157 Views
    I’m happy to see this
  • 3 Votes
    1 Posts
    540 Views
    No one has replied
  • SEO and Nodebb

    Performance nodebb seo
    2
    2 Votes
    2 Posts
    783 Views
    @Panda It’s the best it’s ever been to be honest. I’ve used a myriad of systems in the past - most notably, WordPress, and then Flarum (which for SEO, was absolutely dire - they never even had SEO out of the box, and relied on a third party extension to do it), and NodeBB easily fares the best - see below example https://www.google.com/search?q=site%3Asudonix.org&oq=site%3Asudonix.org&aqs=chrome..69i57j69i60j69i58j69i60l2.9039j0j3&sourceid=chrome&ie=UTF-8#ip=1 However, this was not without significant effort on my part once I’d migrated from COM to ORG - see below posts https://community.nodebb.org/topic/17286/google-crawl-error-after-site-migration/17?_=1688461250365 And also https://support.google.com/webmasters/thread/221027803?hl=en&msgid=221464164 It was painful to say the least - as it turns out, there was an issue in NodeBB core that prevented spiders from getting to content, which as far as I understand, is now fixed. SEO in itself is a dark art - a black box that nobody really fully understands, and it’s essentially going to boil down to one thing - “content”. Google’s algorithm for indexing has also changed dramatically over the years. They only now crawl content that has value, so if it believes that your site has nothing to offer, it will simply skip it.
  • Forum Icons NodeBB

    Solved Customisation icons forum nodebb
    13
    0 Votes
    13 Posts
    2k Views
    @cagatay That matches what I see [image: 1667218162107-4f0f858d-9812-42b1-9f61-ffb13d31dccd-image.png]
  • Changing Background on NodeBB

    Solved Customisation background image nodebb
    4
    0 Votes
    4 Posts
    1k Views
    @cagatay You’d target the body tag and use the below line of CSS background: url(/assets/customcss/backgrounds/default/default.png) no-repeat center center fixed; Obviously, you need to change the path to suit where your image is being stored. More info around the background property can be found here https://www.w3schools.com/cssref/css3_pr_background.php
  • Fontawesome 5

    Unsolved Customisation fonts css nodebb
    14
    1 Votes
    14 Posts
    3k Views
    @pwsincd hi. Just following up on this thread (I know it’s old) but was curious to understand if it’s still an issue or not ?
  • [NODEBB] Scroll Button

    Solved Customisation css javascript html scroll button
    7
    1
    0 Votes
    7 Posts
    2k Views
    @downpw ooops. Forgot that. Thanks for adding.
  • How to set a signature in NodeBB?

    Solved Customisation
    4
    2 Votes
    4 Posts
    1k Views
    @phenomlab said in How to set a signature in NodeBB?: @jac No issues at all with copying. This is set using the signature for the user you are posting as. In the case of Hostrisk, it’s set like the below [image: 1633427929198-7bf04183-f6e8-4d72-b0eb-c9a05c9cd24b-image.png] You can set the signature by using https://domain.com/user/theuser/edit Mamy thanks Mark, I’ll set this up later .