Feed XML to data: RSS 2.0, RSS 1.0 (RDF) and Atom 1.0. No IO.
The document is read by the JDK's DOM parser with DOCTYPEs refused, so an entity declaration (billion laughs, external entities) cannot be expanded.
Feed XML to data: RSS 2.0, RSS 1.0 (RDF) and Atom 1.0. No IO. The document is read by the JDK's DOM parser with DOCTYPEs refused, so an entity declaration (billion laughs, external entities) cannot be expanded.
(html->text html)The readable text of an HTML fragment: block ends become newlines, tags go, entities are decoded once, runs of blank space collapse.
The readable text of an HTML fragment: block ends become newlines, tags go, entities are decoded once, runs of blank space collapse.
(parse xml)Result of the feed in xml: {:feed/format :feed/title :feed/link :feed/description :feed/items}, items in document order. Items with no
guid, link, title or date have no identity and are dropped.
Errors: :rss/malformed (not XML, or a DOCTYPE) and :rss/unknown-format
(XML, but not a feed).
Result of the feed in `xml`: `{:feed/format :feed/title :feed/link
:feed/description :feed/items}`, items in document order. Items with no
guid, link, title or date have no identity and are dropped.
Errors: `:rss/malformed` (not XML, or a DOCTYPE) and `:rss/unknown-format`
(XML, but not a feed).(parse-date text)Epoch seconds of an RFC 1123 (RSS) or ISO 8601 (Atom, Dublin Core) date, or nil when the text is neither.
Epoch seconds of an RFC 1123 (RSS) or ISO 8601 (Atom, Dublin Core) date, or nil when the text is neither.
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 |