Created
July 13, 2009 07:30
-
-
Save fffej/145985 to your computer and use it in GitHub Desktop.
RSS Merge
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defn rss-merge | |
"Join together the two feeds specified, using min-date as the selector which grabs the minimum | |
date from the published field" | |
[feed1 feed2] | |
(join-all | |
min-date | |
(get-entries-from-rss feed1) | |
(get-entries-from-rss feed2))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment