15 votes

What is or isn't allowed in tags?

I was posting a something earlier and tried to use an apostrophe in a tag, and it told me off for doing so. Well, kind of, it didn't mention what was wrong, but it was pretty easy to deduce. Can the "tags: Invalid tags" maybe point/link somewhere about what is or isn't allowed?

(also I'm just really curious, what are the limits? I just found out accents [or at least 'tést'] aren't allowed either)

12 comments

  1. [11]
    Deimos
    Link
    I've got a doc about tagging in progress, I'll add a section to it about what's allowed. It's only ASCII numbers, letters, and spaces (or underscores, which will be treated as spaces). You can...

    I've got a doc about tagging in progress, I'll add a section to it about what's allowed. It's only ASCII numbers, letters, and spaces (or underscores, which will be treated as spaces). You can also use periods, but these aren't really part of the tag, they're used to indicate a hierarchy.

    This is described a bit in the Mechanics page, but basically the tag hierarchy allows "sub-tags". So you could do something like tag a song with rock.progressive, which is a more specific subgenre of rock. Doing it that way means that people looking for the tag rock will also see all sub-tags as well, instead of them knowing that they need to look for progressive rock separately, or topics needing to be tagged with both rock and progressive rock all the time.

    11 votes
    1. [7]
      Tenar
      Link Parent
      Thanks for the answer! as far as I understand the subgroups will have some "bubbling up" effect, but looking for tags won't have any such effect? Or will there be granular control of tag...

      Thanks for the answer! as far as I understand the subgroups will have some "bubbling up" effect, but looking for tags won't have any such effect? Or will there be granular control of tag searching, eventually?

      1 vote
      1. [6]
        Deimos
        Link Parent
        I'm not sure if I'm understanding you correctly, but tags do find sub-tags as well. For example, here's ~music filtered to the rock tag: https://tildes.net/~music?tag=rock&period=all You can see...

        I'm not sure if I'm understanding you correctly, but tags do find sub-tags as well. For example, here's ~music filtered to the rock tag: https://tildes.net/~music?tag=rock&period=all

        You can see that there are also posts in there with tags like rock.progressive even though they don't have a separate rock tag.

        1 vote
        1. [2]
          Tenar
          Link Parent
          I'm not sure I'm understanding myself correctly, a day later. I think what I was trying to ask is that, even though there's a similar subtag/subgroup system, there's a difference in that: if...

          I'm not sure I'm understanding myself correctly, a day later. I think what I was trying to ask is that, even though there's a similar subtag/subgroup system, there's a difference in that:
          if you're in the groups there's the bubbling up effect (e.g. a popular-enough post on ~food.coffee will bubble up to ~food), but there's nothing like that for tags, right? Looking for rock will show all rock.progressive?

          1 vote
          1. Deimos
            Link Parent
            Right now it always includes any sub-tags, yes. In the future we could probably add an option to only show exact tags or something similar.

            Right now it always includes any sub-tags, yes. In the future we could probably add an option to only show exact tags or something similar.

            2 votes
        2. [3]
          666
          Link Parent
          Somewhat related, would it ever be possible to combine tags? Something like this: https://tildes.net/~music?tag=rock,pop&period=all

          Somewhat related, would it ever be possible to combine tags? Something like this: https://tildes.net/~music?tag=rock,pop&period=all

          1. [2]
            Deimos
            Link Parent
            Yes, should be possible to support. It's probably the interface that's trickier than just making it work, since it's easy to do one tag (they just click on it from somewhere) but harder to let...

            Yes, should be possible to support. It's probably the interface that's trickier than just making it work, since it's easy to do one tag (they just click on it from somewhere) but harder to let people add/remove from the "current tag set".

            2 votes
            1. 666
              Link Parent
              Thanks for replying and sorry for replying so late, I haven't had a stable connection without data caps for several weeks.

              Thanks for replying and sorry for replying so late, I haven't had a stable connection without data caps for several weeks.

    2. [3]
      JustABanana
      Link Parent
      If I searxch for progressive rock will posts tagged as rock.progressive show up?

      If I searxch for progressive rock will posts tagged as rock.progressive show up?

      1 vote
      1. [2]
        cfabbro
        (edited )
        Link Parent
        No, not yet... but we have talked about potentially creating a tag synonym database so they would show up on the same results page. It's early alpha so everything is a bit disorganized, there are...

        No, not yet... but we have talked about potentially creating a tag synonym database so they would show up on the same results page.

        It's early alpha so everything is a bit disorganized, there are no tagging standards in place yet, nor is any metadata like tags auto-completed or auto-populated on submission but all that will likely be implemented eventually.

        E.g. Auto-completion of common tags is already on the feature list as high priority:
        https://gitlab.com/tildes/tildes/issues/142

        For now you have to manually search for synonymous tags if you want to see all the results though:
        https://tildes.net/~music?tag=progressive_rock
        https://tildes.net/~music?tag=rock.progressive

        3 votes
        1. zaphod
          Link Parent
          Auto-completion of common tags: I don't know (and haven't looked hard, sorry) what you're using as a backend, but to experiment with this you could try...

          Auto-completion of common tags: I don't know (and haven't looked hard, sorry) what you're using as a backend, but to experiment with this you could try https://www.algolia.com/doc/tutorials/search-ui/autocomplete/auto-complete/
          as a way of quickly experimenting on weightings, UI etc.

          1 vote
  2. Tenar
    Link
    And I just realised this is a terribly nondescript title. feel free to change, if possible.

    And I just realised this is a terribly nondescript title. feel free to change, if possible.

    1 vote