Mapping RSS and Atom to JSON Feed

Though RSS and Atom are XML and JSON Feed isn’t, there are a number of similarities. Here’s how to map them.

RSS

Channel

While RSS has a channel top-level element, JSON Feed puts the corresponding information at the top level.

Item

RSS has an array of item objects, and so does JSON Feed.

Atom

Feed

Unlike RSS's channel element, Atom puts many of the elements to describe a feed at the top level of the document, just like JSON Feed.

Entry

Atom has an array of entry objects. In JSON Feed these are item objects.