#microformats 2015-04-13

2015-04-13 UTC
uf-wiki-visitor, bengo, tantek and ivc joined the channel
bengo, Soopaman, tantek, eschnou, csarven, kez, KevinMarks__, pfefferle, KevinMarks, chiui, TallTed, Acidnerd, Soopaman1, Soopaman2, ChiefRA, gRegor`, behind_you, Erkan_Yilmaz and hectorMcSpector joined the channel
#
tommorris
tantek: you might be interested in this - https://gist.github.com/tommorris/2983b0f7dd825ddf93c7 - proof of concept of how to use Django middleware to produce an "API" that's just parsing HTML. :)
#
tommorris
tantek: using both mf2py and rdfa.
#
tantek
fascinating!
#
tommorris
basically, you can send "Accept: application/json" and you'll get back that page's microformats2 representation
#
tommorris
JSON API for free with no 'API view', no DRY overhead
#
tommorris
I was wondering if we should consider registering application/microformats2+json, as it's basically a standardised JSON flavour.
#
tommorris
kinda like application/rdf+xml and application/xhtml+xml and application/atom+xml, or application/ld+json (for JSON-LD)
Erkan_Yilmaz joined the channel
#
tommorris
and there's registered IETF types for SPARQL results formats in JSON and XML, and a bunch of other JSON and XML formats
#
tantek
tommorris: is there already an application/microdata+json ?
#
tommorris
not sure
#
tantek
for the parsed JSON representation of microdata?
#
tantek
if so, you could copy/paste from there :)
#
tommorris
gonna start a page on the wiki. there are some advantages to json derivative MIME types
#
tantek
interesting - good to know
#
tommorris
there's some disadvantages too.
#
tommorris
edited /hnews-examples-in-wild (+55) "sorted a few into confirmed and dead"
(view diff)
ChiefRA, bengo, Erkan_Yilmaz and tantek joined the channel
#
LindsayMac
Is there any reason why I am getting a bunch of "nothing" with the google testing tools but not when I run it through other testing tools https://developers.google.com/webmasters/structured-data/testing-tool?url=http%253A%252F%252Fgreenwichaffair.com%252Fevents%252Fnew-york-lupus-handbag-luncheon%252F
bengo and gRegor` joined the channel