We're very pleased to announce that the FindMeByIP litmus results are now available in JSON format for anyone who wants to access the results in code.
JSON Results: CSS3 & HTML5
http://fmbip.com/json/export?callback=myCallback
Using the Data
If you decide to use the data for anything we'd love to hear about it. Likewise if you would like the data organised in a different hierarchy, if you need the 'average update' results or any other changes you can think of please do let us know.
Matteo Lissandrini
url formatting and validation
I think it could be more confortable
to have a url like:
http://www.findmebyip.com/export/by_feature.json
or
http://www.findmebyip.com/export/by_browser.json
suchlike the way twitter does.
And to have it returning _only_ the valid JSON
Jim
Raw JSON & URL
Thanks for the suggestions @matteo.
I've updated the page so that you can get to the raw json, or indeed the json set as a var. The "callback" and the "var" modes are useful for cross-site requests.
So:
URL format - yes, completely agree. This was a bit of a quick hack for the guys over at modernizr but I'll look at tidying up the URLs as you suggest on Firday.
J.
Matteo Lissandrini
exporting error
I've tried
http://www.findmebyip.com/json/export
and it doesn't work (did you forget an echo ? ).
What about converting "1"/"0"
into true/false ?
Jim
Doh!!
Yes. In fact is was single quotes; echo '$json'. Oops.
I've fixed the zero strings to be booleans for you too.
Big update tomorrow; Modernizr 1.5 ... and more browsers; new Opera, Safari and IE9 preview etc.. I'll try not to break the json.
Jim
Format / Modernizr 1.5 Realignment
The JSON feed has changed slightly as a consequence of upgrading fmbip.com to Modernizr 1.5.
Basically we've realigned some of our database columns to fit more closely with the mz object structure.
Updates:
-- Input Types are "inputtypes_" prefixed, to match Modernizr's object hierarchy.
-- Inputs are now "input_" prefixed, to match Modernizr's object hierarchy.
-- Audio & Video codecs are already "audio_", "video_" prefixed so no change there
-- "webdatabase" has become "websqldatabase"
-- "workers" has become "webworkers"
-- "postmessage" has become "crosswindowmessaging" although I'm not so sure that's a good thing?