Tom Morris

26 June 2007

A pungent mix of programming, philosophy, pedanticism, procrastination, perplexity, peripheral political polemic, and platters of preposterousness.

How to solve the Triplr bug, PHP style

Yesterday, I described a Triplr bug.

You can solve it by using the stristr() function in PHP to check $SERVER[‘HTTP_USER_AGENT’] for “triplr”, then give Triplr only the profiles it wants (ie. non-microformat profiles).

|

Tags: