3 ms·
That makes no sense. Microformats 2 defines how to parse html into json form, and there are multiple implementations in different programming languages. http:/
by epeus 9y ago
That makes no sense. Microformats 2 defines how to parse html into json form, and there are multiple implementations in different programming languages.
http://microformats.org/wiki/microformats-2-parsing http://microformats.org/wiki/microformats-2-parsing
If you have problems with micropub, file issues with the spec.
https://github.com/w3c/Micropub/issues https://github.com/w3c/Micropub/issues
- tscs37 9y agoWhen you write a Micropub implementation the primary spec involves an unholy JSON format. About 80% of the code I wrote was just dedicated to finding out whether or not I'm updating an article, creating a new one, deleting the article entirely and which attributes need updating. The JSON format has an immense amount of issues relating to irregularity, some fields have html and text sub-attributes but this doesn't seem documented properly anywhere, not even the MF2 page, everything is an array even where it makes 0 sense to do so and as an implementer I'm somehow expected to then process and store this mess as a coherent article. Part of the spec validation involves storing a publication which contains almost no text and some user defined elements for some reason. And I'm expected to understand and properly update these custom elements if requested.