JSON Feed
I updated this blog to support JSON Feed, by Manton Reece and Brent Simmons.
You can find the new feed here.
If I had done this from scratch, it probably would have taken about an hour, including a quick test and deployment. Since I’m using Jekyll, I found a good example from Hafnia Times on github and shamelessly copied and customized it.
I created feedjson.html in the _layouts
folder:
Then I created a feeds
folder and put this feed.json file there:
The whole thing took about ten minutes.
I like JSON Feed for the reasons outlined here. It’s easier to create and consume than an XML feed like RSS or Atom. This is especially true if you’re embedding HTML within the feed. Doing this in XML is pain. In fact, XML in general is a pain. JSON Feed is a long-overdue evolution of blog feeds.
Where does this go from here? Don’t know yet.
Update: In addition to the Hafnia Times project mentioned above, here are some other implementations of JSON Feed for Jekyll (I have only looked at these briefly):
- JSON Feed for Jekyll by vallieres
- tidbits JSON Feed by tedchoward
- Jekyll JSON Feed Templates by snaptortoise (aside: he also has a Jekyll Pinboard plugin that looks interesting)
- Jekyll JSON Feed Plugin by lildude
Categories Technology Meta