diff --git a/lib/feed.js b/lib/feed.js index 33d9c4b..56f247a 100644 --- a/lib/feed.js +++ b/lib/feed.js @@ -142,6 +142,9 @@ function formatRSS(json, options) { if (channel.ttl) { output.ttl = channel.ttl[0]; } + if (channel['itunes:image']) { + output.img = channel['itunes:image'][0].href; + } //ok, now lets get into the meat of the feed //just double check that it exists if (channel.item) {