5 ms·
It wouldn't be JSON, but semantic markup would be another option. (Not that I agree with the GP here, just saying.)
by jimktrains2 10y ago
It wouldn't be JSON, but semantic markup would be another option. (Not that I agree with the GP here, just saying.)
- agumonkey 10y agoI guess semantic markup is the full featured sibling to microformats.
- icebraining 10y agoMicroformats are actually a kind of limited semantic markup, but here they're using JSON-LD, which can represent/encode any Linked Data, as far as I know (though they only support the schema.org ontology).
- icebraining 10y agoYeah, they could use RDFa, which actually can represent the exact same info (they're both encodings of Linked Data). Still, this actually makes it easier for people who dislike them to filter them out of the emails.
- matt4077 10y agoThey do support Microdata as an alternative: https://developers.google.com/gmail/markup/reference/formats/microdata https://developers.google.com/gmail/markup/reference/formats... That allows markup for the regular html part of the mail to double as structured data for automation. I can't really decide what I prefer – this allows deduplication but gets complicated when the presentation doesn't follow the exact structure of the object you want to describe.