Skip to content

Instantly share code, notes, and snippets.

@AeroNotix
Created February 24, 2014 11:27
Show Gist options
  • Save AeroNotix/9186739 to your computer and use it in GitHub Desktop.
Save AeroNotix/9186739 to your computer and use it in GitHub Desktop.
(defn list-all [request]
(wc/connect!)
{:status 200
:body (html [:body
[:ul
(for [[channel urls] (get-all-entries)]
[:li channel
[:ul (for [url urls]
(let [v (escape-html url)]
[:li [:a {:href v} v]]))]])]])})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment