February 26, 2007
Machine Tags
Posted by bopuc at February 26, 2007 02:28 AM
super quick little PHP function to parse machine tags into an array. Barely useful. What I'd really like to see is code for querying them in a database. Flickr should share that... ;)
Comments
I think your code's pretty straightforward, but I wonder if you've got the names of the parts a little messed up. I'd probably call the parts of a machine tag, in order, "namespace", "predicate", "object". I think the tagged resource is always the subject.
Posted by: Evan Prodromou at February 26, 2007 11:29 PM
yeah i was scratching my chin there too. I coded it up as I was running ou the door and forgot the terms hahaha so I reverted to grammar.
You are of course right. Fixing now.
Posted by: Boris at February 26, 2007 11:42 PM