jf2: Difference between revisions

From Microformats Wiki
Jump to navigation Jump to search
(→‎Basic Example: add category for full illustration (how plurals work))
Line 12: Line 12:
     "name": "Tantek Çelik",
     "name": "Tantek Çelik",
     "url": "http:\/\/tantek.com\/",
     "url": "http:\/\/tantek.com\/",
     "photo": "http:\/\/tantek.com\/photo.jpg",
     "photo": "http:\/\/tantek.com\/photo.jpg"
   },
   },
   "published": "2015-10-21T12:34-0700",
   "published": "2015-10-21T12:34-0700",

Revision as of 19:47, 21 October 2015

This article is a stub. You can help the microformats.org wiki by expanding it.


jf2 is a working name for a simplified more minimal JSON representation of microformats2.

Basic Example

{
  "type": "entry",
  "author": {
     "type": "card",
     "name": "Tantek Çelik",
     "url": "http:\/\/tantek.com\/",
     "photo": "http:\/\/tantek.com\/photo.jpg"
  },
  "published": "2015-10-21T12:34-0700",
  "category": ["simple", "example"],
  "content": "Example of a simple note"
}

Prior Work

Prior Simplifications

Output from:

  • webmention.io
  • webmention.herokuapp.com

(need specific examples from those two)

See Also