Skip to content

Instantly share code, notes, and snippets.

@fffej
Created July 13, 2009 06:57
Show Gist options
  • Save fffej/145975 to your computer and use it in GitHub Desktop.
Save fffej/145975 to your computer and use it in GitHub Desktop.
Finding RSS Entries
(defn get-entries-from-rss
"Get a list of entries from an RSS feed"
[src]
(xm/xml-> (zip/xml-zip (parse-trim src)) :entry))
(defn get-date
"Given an RSS entry, get the date"
[entry]
(xm/xml-> entry :published xm/text))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment