Expand description
HTML parsing boundary for Index.
Milestone 1 uses scraper to parse hostile, malformed static HTML into a
small semantic representation. Terminal rendering concerns stay out of this
crate.
Structs§
- Html
Button - Button extracted from a form.
- Html
Document - Parsed HTML document.
- Html
Form - Form extracted from HTML.
- Html
Heading - Heading extracted from HTML.
- Html
Input - Input extracted from a form.
- Html
Link - Link extracted from HTML.
- Html
Metadata - Metadata extracted from the HTML head.
- Index
Content Hint - Content-level hints.
- Index
Date Hint - Date hint entry.
- Index
Field Hint - Field hint entry.
- Index
Form Hint - Form hint entry.
- Index
Manifest - Parsed
index.idxmanifest. - Index
Region Hint - Region hint entry.
Enums§
- Html
Node - Semantic HTML content node.
- Html
Section Role - Semantic HTML region role.
- Index
Date Style - Date style hint.
- Index
Manifest Error - Manifest parsing and validation errors.
Functions§
- discover_
index_ manifest_ link_ from_ html - Discovers a manifest URL from HTML
<link rel=\"index-manifest\">. - discover_
index_ manifest_ link_ from_ http_ link_ header - Discovers a manifest URL from an HTTP
Linkheader value. - parse_
html - Parses HTML into a semantic document representation.
- parse_
index_ manifest - Parses and validates an
index.idxmanifest body. - well_
known_ index_ manifest_ url - Returns the canonical same-origin
/.well-known/index.idxcandidate URL.