• Global Moderator Guru

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

  • Global Moderator Guru

    @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! 👏🏻

  • Global Moderator Guru

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

  • Global Moderator Guru

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


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

  • Global Moderator Guru

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


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

  • Global Moderator Guru

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


Suggested Topics