Illustrative compilation record
cr_7F3AArtifact emitted
Public HTML
example.com/docs <nav data-kind="presentation">
Product · Pricing · Sign in
</nav>
<main data-kind="content">
<h1>Reliable web context</h1>
<p>Structure software can use.</p>
</main>
<aside>Related · Subscribe</aside> - content
- retained
- presentation
- excluded
Compiler 1.0
Fetch Public target retrieved within explicit bounds.
Parse Reading order reconstructed as semantic nodes.
Analyze Excluded navigation and page chrome identified.
Optimize Normalized hierarchy and repeated noise reduced.
Emit Source provenance retained in the typed artifact.
Two stable forms
ir@1.0 text/markdown # Reliable web context
Structure software can use. application/json {
"version": "1.0",
"metadata": {
"title": "Reliable web context",
"canonicalUrl": "https://example.com/docs"
},
"contentGraph": {
"readingOrder": ["n_01"],
"nodes": {
"n_01": {
"id": "n_01",
"type": "heading",
"parent": "root",
"children": [],
"content": "Reliable web context",
"level": 1,
"provenance": { "tag": "h1", "selector": "h1" }
}
}
}
}