Pure. Parse an RSS 2.0, RSS 1.0 or Atom document into items, through the hardened parser in hive.connectors.digest.xml.
Pure. Parse an RSS 2.0, RSS 1.0 or Atom document into items, through the hardened parser in hive.connectors.digest.xml.
(highlights html)(highlights html n)The first n list items of an HTML description (a changelog), as plain
text. A description without a list gives its first sentence.
The first `n` list items of an HTML description (a changelog), as plain text. A description without a list gives its first sentence.
(parse s)XML string -> {:title .. :items [{:title :url :id :published :categories :highlights}]}. Throws ex-info when the document is neither RSS nor Atom.
XML string -> {:title .. :items [{:title :url :id :published :categories
:highlights}]}. Throws ex-info when the document is neither RSS nor Atom.(parse-instant s)RFC 1123 (RSS) or ISO-8601 (Atom) date string -> Instant, or nil. The RSS day-of-week is dropped before parsing: feeds get it wrong often enough, and the date alone is unambiguous.
RFC 1123 (RSS) or ISO-8601 (Atom) date string -> Instant, or nil. The RSS day-of-week is dropped before parsing: feeds get it wrong often enough, and the date alone is unambiguous.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |