Created
September 6, 2017 02:41
-
-
Save arathnim/2ad522a15a3f8b5e92884469ba145fe6 to your computer and use it in GitHub Desktop.
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
(quickload/use '(aphasia arrows alexandria drakma cl-ppcre cxml)) | |
(-> (read-file "~/rss") | |
(split "\\n") | |
(thread-map | |
(compose | |
(http-request) | |
(xml->sexp) | |
(map (recur-match-all 'item)))) | |
(flatten 1) | |
(sort (parse-date (recur-match ('date d) => d))) | |
(print)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment