Ordered rule chain selecting a parse profile for a fetched response.
A profile is data: {:profile/id :profile/format :profile/content-kind :profile/parser}. Adding a response shape means appending a rule, not editing the folder. The port is hive-spi.ingest.ports/IParserRule; rules a provider registered through hive-spi.ingest.registry run before the built-in chain.
Ordered rule chain selecting a parse profile for a fetched response.
A profile is data: {:profile/id :profile/format :profile/content-kind
:profile/parser}. Adding a response shape means appending a rule, not
editing the folder. The port is hive-spi.ingest.ports/IParserRule; rules a
provider registered through hive-spi.ingest.registry run before the
built-in chain.IWebsiteParser implementations for text/plain responses.
PlainTextParser preserves line structure verbatim. RfcTextParser strips RFC page furniture and extracts masthead fields, section headings and RFC cross-references.
IWebsiteParser implementations for text/plain responses. PlainTextParser preserves line structure verbatim. RfcTextParser strips RFC page furniture and extracts masthead fields, section headings and RFC cross-references.
Pure structural grammar of IETF RFC plaintext.
Depagination, masthead fields, section headings and section splitting. Consumed by the RFC text parser and by section-aware chunking.
Pure structural grammar of IETF RFC plaintext. Depagination, masthead fields, section headings and section splitting. Consumed by the RFC text parser and by section-aware chunking.
A fetched or read body as a Document, and the web-docs ISource over HTTP.
body->document is the seam every transport shares: the rule chain, the
parser and the document shape do not care whether the bytes arrived over
HTTP or off a local mirror, so a new transport is a new caller here.
A fetched or read body as a Document, and the `web-docs` ISource over HTTP. `body->document` is the seam every transport shares: the rule chain, the parser and the document shape do not care whether the bytes arrived over HTTP or off a local mirror, so a new transport is a new caller here.
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 |