First time here? Check out the FAQ!

Revision history  [back]

tag hierarchy filtering

We're trying to implement a "tree-like" taxonomy on our site.
One feature that would be useful would be the ability to have a hierarchical tag organization.
As an example, let's take a classification of linux distributions:

  • Linux - Red Hat - Entreprise Server - 4.1
  • Linux - Red Hat - Entreprise Server - 5.0
  • Linux - Ubuntu - 8.1
  • Linux - Ubuntu - 8.2
  • Linux - Ubuntu - 9.0
  • Windows - XP - SP1
    ...

There is no easy way to answer the following questions: - Tag Filter all the "Linux" distros - Tag Filter "Ubuntu 8.1" - Tag Filrer all the "Ubuntu" distros.

I would have to create a series of tags for each distro, and another tag for each version (ubuntu-8.1 ubuntu-8.2, etc...)

If when entering a tag we had the following notation:

  • "Linux/Ubuntu/8.1"
  • "Linux/Red-Hat/Entreprise-Server/4.1"
  • "Windows/XP/SP2"

Then, in the tag list, we could have the following "entries": "Linux/" "Linux/Ubuntu/" "Linux/Ubuntu/8.1", "Linux/Red-Hat/", "Linux/Red-Hat/Entreprise-Server/", ...

By selecting an entry with a "/", it would display all the tags part of that Category and everything "bellow" it.

This is just an example of how a hierarchy could be implemented. A different way that achieves the same goal would be just as good.

tag hierarchy filtering

We're trying to implement a "tree-like" taxonomy on our site.
One feature that would be useful would be the ability to have a hierarchical tag organization.
As an example, let's take a classification of linux distributions:

  • Linux - Red Hat - Entreprise Server - 4.1
  • Linux - Red Hat - Entreprise Server - 5.0
  • Linux - Ubuntu - 8.1
  • Linux - Ubuntu - 8.2
  • Linux - Ubuntu - 9.0
  • Windows - XP - SP1
    ...

There is no easy way to answer the following questions: - Tag Filter all the "Linux" distros - Tag Filter "Ubuntu 8.1" - Tag Filrer all the "Ubuntu" distros.

I would have to create a series of tags for each distro, and another tag for each version (ubuntu-8.1 ubuntu-8.2, etc...)

If when entering a tag we had the following notation:

  • "Linux/Ubuntu/8.1"
  • "Linux/Red-Hat/Entreprise-Server/4.1"
  • "Windows/XP/SP2"

Then, in the tag list, we could have the following "entries": "Linux/" "Linux/Ubuntu/" "Linux/Ubuntu/8.1", "Linux/Red-Hat/", "Linux/Red-Hat/Entreprise-Server/", ...

By selecting an entry with a "/", it would display all the tags part of that Category and everything "bellow" it.

This is just an example of how a hierarchy could be implemented. A different way that achieves the same goal would be just as good.