danielauener / wpbot.wptoots.social

WordPress Mastodon bot on https://wptoots.social, posting hourly WordPress content from well selected sources!
https://wpbot.wptoots.social
1 stars 3 forks source link

Limit Hastags #3

Closed sebastienserre closed 1 year ago

sebastienserre commented 1 year ago

Hello,

Thank you for this bot.

I think the bot should limit the number of hastags in message: https://wptoots.social/@wpbot/109425874510546395

[#WordPress](https://wptoots.social/tags/WordPress) [#wpmisc](https://wptoots.social/tags/wpmisc) [#Sustainability](https://wptoots.social/tags/Sustainability) [#Breakdance](https://wptoots.social/tags/Breakdance) [#BuddyPress](https://wptoots.social/tags/BuddyPress) [#ButterCMS](https://wptoots.social/tags/ButterCMS) [#Diversity](https://wptoots.social/tags/Diversity) [#Gutenberg](https://wptoots.social/tags/Gutenberg) [#WordPress](https://wptoots.social/tags/WordPress) [#Mastodon](https://wptoots.social/tags/Mastodon) [#security](https://wptoots.social/tags/security) [#WPBuilds](https://wptoots.social/tags/WPBuilds) [#hosting](https://wptoots.social/tags/hosting) [#podcast](https://wptoots.social/tags/podcast) [#Amazon](https://wptoots.social/tags/Amazon) [#GiveWP](https://wptoots.social/tags/GiveWP) [#Tumblr](https://wptoots.social/tags/Tumblr) [#Alexa](https://wptoots.social/tags/Alexa) [#News](https://wptoots.social/tags/News)

There are more Hashtags than message and some unrelated with the post embedded

danielauener commented 1 year ago

Hi, agree totally. Problem is that the engine I'm using (feet2toot) has no option for limiting hashtags, only to disable them entirely. There is a hashtag-list feature, but as I understand it, it is just for the formatting of the hashtags not the filtering. Might be worth opening an issue or requesting a PR on feed2toot.

I've deactivated tags from the posts entirely now, so it's only #wordpress and one of our own hashtags #wpdev, #wpnotices or #wpmisc. It's not perfect but seems much better than before. Plus with this solution we avoid possible hashtags that might get us blocked on other instances.

Closing this, feel free to open if you have other ideas.