this is aaronland

joshua is still wrong

rose:rose=rose

Hi, My Name Is Aaron

In June 2007 I traveled to London to speak at the Yahoo! Hack Day UK developer event about machine tags at Flickr.

folksonomeansno

dalek.exterminateByTag('chat')

Tagging is just another word for...

But what does it mean?

Who is on first?

Doing it with a candlestick?

Obligatory Flickr Hack

sounds:like=“triple tags”

Search

SEARCHIFIED!!!!

Syntax : Namespaces

/^([a-z](?:[a-z0-9_]+))$/i

Syntax : Predicates

/^([a-z](?:[a-z0-9_]+))$/i

Syntax : Value

.+

thisisthelessonofdelicious

joshua:hates=“machine tags”

(but he still wrong)

Tag as whatEV—AR

mt:search=“flickr.photos.search”

Photos using the 'dc' namespace

$search_args["machine_tags"] = "dc:";

Photos with a title in the “dc” namespace

$search_args["machine_tags"] = "dc:title=";

Photos titled “mr. camera” in the 'dc' namespace

$search_args["machine_tags"] = "dc:title=\"mr. camera\"";

Photos whose value is “mr. camera”

$search_args["machine_tags"] = "*:*=\"mr. camera\"";

Photos in any namespace with “title” predicate.

$search_args["machine_tags"] = "*:title=";

Photos titled “mr. camera” in any namespace.

$search_args["machine_tags"] = "*:title=\"mr. camera\"";

Photos whose value is “mr. camera” in the “dc” namespace.

$search_args["machine_tags"] = "dc:*=\"mr. camera\"";

No, really

Caveats

  • You can not do range queries
  • AND queries are limited to a maximum of 16 machine tags
  • OR queries are limited to a maximum of 8 machine tags
  • Wildcard search syntax is not available on the website
  • There is nothing sacred about namespaces

Ceci n'est pas une phone

Make it so