{"id":18019,"date":"2017-05-17T16:11:20","date_gmt":"2017-05-17T20:11:20","guid":{"rendered":"https:\/\/mjtsai.com\/blog\/?p=18019"},"modified":"2019-08-05T16:35:18","modified_gmt":"2019-08-05T20:35:18","slug":"json-feed","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2017\/05\/17\/json-feed\/","title":{"rendered":"JSON Feed"},"content":{"rendered":"<p><a href=\"https:\/\/jsonfeed.org\/version\/1\">Brent Simmons and Manton Reece<\/a> (via <a href=\"https:\/\/daringfireball.net\/linked\/2017\/05\/17\/json-feed\">John Gruber<\/a>, <a href=\"https:\/\/news.ycombinator.com\/item?id=14360729\">Hacker News<\/a>):<\/p>\n<blockquote cite=\"https:\/\/jsonfeed.org\/version\/1\"><p>The JSON Feed format is a pragmatic syndication format, like <a href=\"http:\/\/cyber.harvard.edu\/rss\/rss.html\">RSS<\/a> and <a href=\"https:\/\/tools.ietf.org\/html\/rfc4287\">Atom<\/a>, but with one big difference: it&rsquo;s JSON instead of XML.<\/p>\n<p>For most developers, JSON is <em>far<\/em> easier to read and write than XML. Developers may groan at picking up an XML parser, but decoding JSON is often just a single line of code.<\/p>\n<p>Our hope is that, because of the lightness of JSON and simplicity of the JSON Feed format, developers will be more attracted to developing for the open web.<\/p>\n<\/blockquote>\n<p>Seems like a good idea. Sure, it&rsquo;s <a href=\"https:\/\/xkcd.com\/927\/\">another standard<\/a>, so if it catches on this will create more work for people writing code in this area. But the fact that it&rsquo;s so easy to use could open up more possibilities, and I assume that it will be more amenable to the needs of <a href=\"https:\/\/micro.blog\">new services<\/a>. There&rsquo;s a <a href=\"https:\/\/github.com\/manton\/jsonfeed-wp\">WordPress plug-in<\/a>.<\/p>\n<p>See also: <a href=\"http:\/\/scripting.com\/stories\/2012\/09\/10\/rssInJsonForReal.html\">Dave Winer<\/a> (2012).<\/p>\n<p>Update (2017-05-17): See also: <a href=\"http:\/\/inessential.com\/2017\/05\/17\/json_feed\">Brent Simmons<\/a>.<\/p>\n<p>Update (2017-05-18): See also: <a href=\"http:\/\/www.manton.org\/2017\/05\/json-feed.html\">Manton Reece<\/a>.<\/p>\n<p>Update (2017-05-30): <a href=\"https:\/\/daringfireball.net\/linked\/2017\/05\/23\/newsblur-json-feed\">John Gruber<\/a>:<\/p>\n<blockquote cite=\"https:\/\/daringfireball.net\/linked\/2017\/05\/23\/newsblur-json-feed\">\n<p>The DF RSS feed isn&rsquo;t going anywhere, so if you&rsquo;re already subscribed to it, there&rsquo;s no need to switch. But JSON Feed&rsquo;s spec makes it possible for me to specify both a <code>url<\/code> that points to the post on Daring Fireball (i.e. the permalink) and an <code>external_url<\/code> that points to the article I&rsquo;m linking to. The way I&rsquo;ve dealt with that in the RSS (technically Atom, but that&rsquo;s sort of beside the point) is a bit of a hack that&rsquo;s caused problems with numerous feed readers over the years.<\/p>\n<\/blockquote>\n\n<p><a href=\"https:\/\/feedbin.com\/blog\/2017\/05\/22\/feedbin-supports-json-feed\/\">Ben Ubois<\/a>:<\/p>\n<blockquote cite=\"https:\/\/feedbin.com\/blog\/2017\/05\/22\/feedbin-supports-json-feed\/\"><p>One of the criticisms I&rsquo;ve seen of JSON Feed is that there&rsquo;s no incentive for feed readers to support JSON Feed. This is not true. One of the largest-by-volume support questions I get is along the lines of &ldquo;Why does this random feed not work?&rdquo; And, 95% of the time, it&rsquo;s because the feed is broken in some subtle way. JSON Feed will help alleviate these problems, because it&rsquo;s easier to get right.<\/p><\/blockquote>\n\n<p>Update (2017-06-01): See also: <a href=\"https:\/\/daringfireball.net\/linked\/2017\/05\/31\/the-talk-show-192\">The Talk Show<\/a>.<\/p>\n\n<p>Update (2017-06-02): See also: <a href=\"https:\/\/utcc.utoronto.ca\/~cks\/space\/blog\/tech\/JSONFeedMyViews\">Chris Siebenmann<\/a>.<\/p>\n\n<p>Update (2017-06-12): See also: <a href=\"http:\/\/scripting.com\/2017\/06\/05.html#a080612\">Dave Winer<\/a>.<\/p>","protected":false},"excerpt":{"rendered":"<p>Brent Simmons and Manton Reece (via John Gruber, Hacker News): The JSON Feed format is a pragmatic syndication format, like RSS and Atom, but with one big difference: it&rsquo;s JSON instead of XML. For most developers, JSON is far easier to read and write than XML. Developers may groan at picking up an XML parser, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"2019-08-05T20:35:20Z","apple_news_api_id":"042eea90-3b29-4732-8f34-78d0f9599f66","apple_news_api_modified_at":"2019-08-05T20:35:23Z","apple_news_api_revision":"AAAAAAAAAAD\/\/\/\/\/\/\/\/\/\/w==","apple_news_api_share_url":"https:\/\/apple.news\/ABC7qkDspRzKPNHjQ-VmfZg","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[2],"tags":[1854,507,1524,52,96,740],"class_list":["post-18019","post","type-post","status-publish","format-standard","hentry","category-technology","tag-atom-syndication-format","tag-json","tag-json-feed","tag-rss","tag-web","tag-wordpress"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/18019","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=18019"}],"version-history":[{"count":8,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/18019\/revisions"}],"predecessor-version":[{"id":18135,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/18019\/revisions\/18135"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=18019"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=18019"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=18019"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}