Support Atom feeds
(cherry picked from commit 2b42c183469ac9f2ef84117cbd5546707eddd60a)