rss-to-json
Advanced tools
Comparing version 1.0.3 to 1.0.4
{ | ||
"name": "rss-to-json", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "Rss to Json: RSS and Atom feed generator for Node.js", | ||
@@ -5,0 +5,0 @@ "author": { |
@@ -75,2 +75,26 @@ // Invoke 'strict' JavaScript mode | ||
if (val['itunes:subtitle']) { | ||
obj.itunes_subtitle = val['itunes:subtitle'][0]; | ||
} | ||
if (val['itunes:summary']) { | ||
obj.itunes_summary = val['itunes:summary'][0]; | ||
} | ||
if (val['itunes:author']) { | ||
obj.itunes_author = val['itunes:author'][0]; | ||
} | ||
if (val['itunes:explicit']) { | ||
obj.itunes_explicit = val['itunes:explicit'][0]; | ||
} | ||
if (val['itunes:duration']) { | ||
obj.itunes_duration = val['itunes:duration'][0]; | ||
} | ||
if (val['itunes:season']) { | ||
obj.itunes_season = val['itunes:season'][0]; | ||
} | ||
if (val['itunes:episode']) { | ||
obj.itunes_episode = val['itunes:episode'][0]; | ||
} | ||
if (val['itunes:episodeType']) { | ||
obj.itunes_episodeType = val['itunes:episodeType'][0]; | ||
} | ||
if (val.pubDate) { | ||
@@ -77,0 +101,0 @@ //lets try basis js date parsing for now |
19777
126