tags, you’re it posted in internet, oct 2, 2007

the concept of tags has been popping up more and more (i’m even using it here — the guides and photo album so far).  while i’m generally not into things that everyone is doing largely for the reason that a lot of people are idiots, but this one actually can be very useful.

there are really two parts to tags that are helpful — putting one thing into multiple groups without copying it, and making new groups on the fly.  i say groups here instead of tags because whatever i was using before probably had some sort of grouping, but didn’t allow for these two things.  really i probably could have made the new groups on the fly thing happen (here i’m using an enum column in a mysql table to say what group (category) each post is in, and i add a value to the column definition if i need a new category), and that one’s not as useful as the multiple groups.

so the real benefit is being able to put one post in multiple categories without making a copy.  i can’t do that currently with the way bln is set up, but as you can see from my to-do list, i have plans to use tags in more areas of the site.

since tags allow one item to have multiple tags, i can make it even easier to find the right items.  after filtering to items that have tag 1, i could look at the other tags that items with tag 1 have, and allow filtering for example to items with tag 1 and tag 2, or tag1 and not tag2.  i could even filter by more than two tags, but so far i haven’t taken it that far.  again i have plans to though.  who knows if i’ll get to the multi-tag filtering or the switching more parts of the site to using tags next though . . .

comments / complaints / compliments

Mav
am radio
posted:  5:54:34 pm, oct 02, 2007

I'm currently building my own custom tags class, and I keep running into the problem: How do I use the flexibility of tags, but still keep some sort of grouping/category system?

I found this site on my "quest" for existing tagging engines/classes to study them a bit: http://www.airtightinteractive.com/projects/related_tag_browser/app/

Which is visually very nice, and actually gave me some more ideas for my own tags class. What is interesting is how tags relate to each other, or how you could group tags together. Without going back to the old category->label system. How to store something like that is what's been bugging me. Can't just add a "parent" field for each tag, and iterate through all parent- or child-tags. That would cause too much queries.

Good luck with the tags, haan! :)

Mustang, this is Maverick requesting flyby?

Mav
am radio
posted:  6:06:12 pm, oct 02, 2007

I tried to edit previous post, but on submit I got this error (and my edit was not stored):

XML Parsing Error: junk after document element
Location: http://www.track7.org/comments.php
Line Number 100, Column 7:
       <p>
------^

Mustang, this is Maverick requesting flyby?

misterhaan
radar
posted:  8:11:52 pm, oct 02, 2007

i looked at the comment script and found a few places where it ends the page but doesn’t stop the script.  i’m not sure what happened with your edit, but i added a few die;s so hopefully if something goes wrong again you’ll at least get to see what it was...

please note that the above post is likely made up in its entirety.

Mav
am radio
posted:  4:13:57 pm, oct 15, 2007

Sorry for the late reply, but now I get to see an error when I try to edit:
unable to update comment:  either you are not logged in or this comment is not yours.

Edit: editing works now yay!

Mustang, this is Maverick requesting flyby?

misterhaan
radar
posted:  6:28:06 am, oct 16, 2007

i had id where it should have been ID — it should work now.

please note that the above post is likely made up in its entirety.

users online

3 guests

user list

statistics

hits today272
registered users184
forum posts408
comments153

powered by

  • dreamhost
  • linux
  • apache
  • php
  • mysql