Set tags automatically based on rules #2095
Replies: 4 comments 3 replies
-
I think this could be a plugin but I think the tags attribute is not editable any longer since v0.12.x, which IMHO reveals issues with Shaarli version numbers with respect to semantic versioning practices, as any breaking change should trigger a major version bump and because welcoming plugins is maybe no longer a priority, many plugins are broken and it's harder for users to find good ones, find reliable shaarli docs and make new plugins, so it could be harder for users to keep using Shaarli. @nodiscc any idea if it's doable through a plugin? I've asked a similar question in #2000 (comment) so feel free to answer wherever :-) Thanks! |
Beta Was this translation helpful? Give feedback.
-
Maybe I'm misunderstanding the issue, but you definitely can add or edit tags when you add a bookmark. I have a youtube plugin that automatically adds tags from the youtube metadata: |
Beta Was this translation helpful? Give feedback.
-
Thank you @kcaran , I've spent half a day yesterday trying to update tags through code and not succeeding, I mean only editing the title and description would work but never the tags. Then while troubleshooting I accidentally corrupted my shaarli db. Then I had to spend another few couple hours making my Shaarli work again. |
Beta Was this translation helpful? Give feedback.
-
For future reference, in case someone is interested in implementing a similar feature through the plugin system, here is my working POC, https://gitea.zoemp.be/sansguidon/shaarli_plugins/src/branch/main/auto_tag_plugin |
Beta Was this translation helpful? Give feedback.
-
I'm using both Wallabag and Shaarli but the benefit of Wallabag over Shaarli is that we can configure it to assign specific tags for links based on keywords in title, url or content, see https://github.com/wallabag/doc/blob/master/en/user/configuration/tagging_rules.md
I wonder if Shaarli could support this by design or via a plugin.
is there anyone else feeling this is needed ?
Beta Was this translation helpful? Give feedback.
All reactions