Calculations/Evaluations are not part of the lightweight template engine NodeBB uses. (AFAIK)
I guess the best would be to intercept the filter:post.getPosts hook and add your custom index values...
@baris I think I might know what caused this. I ran an npm audit fix --force
which may have downgraded as I was previously on 1.3.2
. Just updated to that, and am testing now.
EDIT - suspicion confirmed - works fine now Sorry for the fire drill.
I set it up with a podcast RSS, but instead of posting the description of an item, it posts a link instead in the topic. Is there anyway to change this?
Edit: Nevermind solved it, installed version 1.3.0
Why do need to spoil the plugin? Why doesn't it extract the contents of the channel now? What should I do about it? What is the point of using a non-working plugin?
Even discourse didn't think of such a thing
@volanar, can you give an example of an RSS feed that you use?
UPD. Tried out this plugin. It really creates the post with the only link to the original one
UPD2. Use [email protected]^1.3.2
- it supports the content parsing
@antosik The actual RSS feed content is no longer included in the post body since 1.3.3 onwards. I believe this route was taken to prevent database bloat from what would land up being hundreds of records from external RSS feeds.
https://community.nodebb.org/topic/396/nodebb-plugin-rss-rss-feed-plugin/175?_=1630255075551
@phenomlab Any new post and comment is a bloat of the database. This is the meaning of the forum, more useful content. 30 years ago, this was relevant, but not now. But if someone wants to save on disk space, it is better to use postgres
@volanar then if you need that functionality your should use version 1.3.2
@phenomlab 1. This version is outdated and not supported.
2. The question was, why spoil the plugin, if you can make an additional setting to disable or enable content extraction.
If this is a key function for any community, then developers will have to independently support the fork of the plugin or switch to a more loyal discourse
@volanar I understand. I took the other route and used a custom script I wrote that does this independently of NodeBB but uses the API to create the posts.
@phenomlab I have a wordpress site that is closed from search bots, which automatically extracts content from some sites and translates the content. I wanted to use this plugin to fill the forum with news from my site, but I see that this will not work. Now I'm also thinking of using a third-party script or switching to discourse before it's too late