Commits

Miki Tebeka committed 69a8ed7

Category as string

  • Participants
  • Parent commits 3282486

Comments (0)

Files changed (1)

File src/feedme.clj

   (let [content (or (.getDescription e) (nth (.getContents e) 0))]
     {
      :author (.getAuthor e)
-     :categories (into [] (.getCategories e))
+     :categories (into [] (map #(.getName %) (.getCategories e)))
      :content-type (.getMode content)
      :content (.getValue content)
      :link (.getLink e)
      :type (.getFeedType feed)
      :published (.getPublishedDate feed)
      :title (.getTitle feed)
-     :entries (map entry (.getEntries feed))
-     }))
+     :entries (map entry (.getEntries feed))}))