Tag: Tagging
Tags are so cool! You think anyone would find it useful if I released my tagging library as open source? It's very easy to plug into another system as long as you create some tables with specific names. Only thing is, it's just a library, and can't possibly include the forms you'd need to integrate it into your system. I could bundle an administration interface, however...
Hey, check it out. I now have a tag cloud based on power laws 
Just tagified my site (does that make me web 2.0?). Incidentally, I just discovered that MySQL's API returns all result data as strings. So, even if your field is a number (say, your primary key), you get a string back. Weird.
Update: Incidentally, tag renaming is a pretty hard problem. You have to watch for recursive renames... and what happens if there's already a tag for the tag name you're trying to rename a tag to? You'll have to run through every associated tag table and update all the old ids to the new one, but it's not like there's only ever one association table (i.e. if I tag my weblog entries, and I make a tagged bookmark system, and have my wiki pages tagged, I'll have three different associated tables), so the tag library can't know what it has to update unless you tell it about all those tables. So, it's messy.
I realized tonight (while procrastinating[1]) that in writing my wiki pages I've been creating a controlled tag vocabulary.
So, if I still have the energy for this after finals are over, I may finally be implementing tags for my weblog and the rest of my site.
(Other things for me to look back on: 1 2 3 4 5 6 7 8 9)
I could have sworn there was some wiki I came across a while back that, in addition to doing the normal "backlinks" thing, created hierarchies out of analyzing the links in its pages. I may be thinking of DiamondWiki (linked in some of those "other things" links above), but I don't think so.
Footnotes:
[1]: I remember reading a while ago a web page by a professor who said he's extremely productive while procrastinating because he uses the time he procrastinates to take care of everything other than what he's procrastinating from doing. If anyone remembers what page I'm referring to, please leave a comment.
-
hello joseph / how i implemented tags: a de-normalized approach (to read), via Keith. I've had a tag-based bookmarking system running fine for a while. The only difficulty came in when I wanted to have parent/children tags ('perl is a child of 'proglang, for example, and you can do logic based on "siblings" and such). So, I haven't finished the whole thing yet.
Update: Read this piece last night. This seems like almost the worst way possible to implement tags.
¶ (0)
Tags: [Programming, Tagging]
I've been trying to come up with the best way to handle the singular vs. plural tags issue in a tag-based categorization system (such as del.icio.us, though this is actually for my own tag-based bookmark system which is not yet public).
This might be a problem just because of a peculiarity of English. I'm not sure how common this feature is to other languages. Say I want to keep track of wikis. So, I might have sets of tags like "php wikis", "python wikis", etc. But if I want to say "php wiki software", then wiki becomes singular. So, I might want to categorize different kinds of text editors with the tag 'text-editors'. I could also use "text-editor software", but that's worse, since it's much better if the url is plural rather than singular when possible (i.e. /text-editors rather than /text-editor).
Anyone have any suggestions?
|
Generated in about 0.124s. (Used 10 db queries) |
new⇒Court rejects death penalty for raping children - Yahoo! News
:)...
Keith: Jul 4, 11:32am