this post was submitted on 19 Jan 2024
11 points (76.2% liked)

Asklemmy

42527 readers
1126 users here now

A loosely moderated place to ask open-ended questions

Search asklemmy ๐Ÿ”

If your post meets the following criteria, it's welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

~Icon~ ~by~ ~@Double_[email protected]~

founded 5 years ago
MODERATORS
 

I want to discuss a better means of organizing tags for websites that use a generic tagging system. I propose a tag hierarchy.

Basically, if I search for #dog, I should find posts with #puppy, #pug, #baby_pugs, #cute_dogs, etc.

But, if I search for #pug, I should only get posts with #pug, or other tags like #baby_pugs, #cute_pugs, etc.

This would make adding 50+ similar tags to a post irrelevant and allow for normal people to put a single obscure tag and still gain visibility.

I want to bring this idea up to more people. Where should I discuss this? You can suggest any website, community, or Lemmy instance where I could possibly develop this further.

I'm happy to discuss this here as well.

[Edit for clarity]: I am not just talking about tags for the federation and Mastodon. I am talking about improving any and all websites with a generic tagging system. Twitter, Instagram, Facebook, etc. etc.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 4 points 5 months ago (1 children)

I don't think Lemmy or Mastodon would be a good place to start necessarily. Don't be discouraged, I just mean that I think this should be something separate, like a library, that other systems like Mastodon or Lemmy could then use. As a code library it could be maintained elsewhere and let these folks keep working on their projects.

However, the large architecture issue is that those tags must be added in secret - or dozens of queries would have to go off. Either:

  • When someone comments #pug you also need to add on all possible permutations of pug so it's queryable or
  • When someone searches for #pug you need to do a much more complex query for all possible permuations of pug.

It would be possible to do a lookup table in sql for this, but again that requires maintenance and again every instance keeping track of their own set of known lookups. Anyone else have alternative architectures?

[โ€“] [email protected] 1 points 5 months ago

I don't think Lemmy or Mastodon would be a good place to start necessarily. Don't be discouraged, I just mean that I think this should be something separate, like a library,

True. I meant suggesting this idea for generally any website that uses tagging. Will update post to show this better.

As a code library it could be maintained elsewhere and let these folks keep working on their projects.

We would need a group like the Wiki Foundation to set this up. Though I wouldn't know how to pitch this.