Web & HTTP5 exports
Raw Markdown/web/app/graph/sitemap
XML and plain-text sitemap generators and HTTP handlers constructed from an App-Graph.
Functions & symbols#
construct-sitemap-url-list-handler#
function
Construct a handler that serves a sitemap URL list.
| Parameter | Type | Optional | Description |
|---|---|---|---|
graph | Any | required | — |
base-url | Any | required | — |
rest | Any | optional | — |
Returns:
Anyconstruct-sitemap-xml-handler#
function
Construct a handler that serves sitemap XML.
| Parameter | Type | Optional | Description |
|---|---|---|---|
graph | Any | required | — |
base-url | Any | required | — |
rest | Any | optional | — |
Returns:
Anygraph->sitemap-url-list#
function
Render sitemap as a plain-text URL list.
| Parameter | Type | Optional | Description |
|---|---|---|---|
graph | Any | required | — |
base-url | Any | required | — |
rest | Any | optional | — |
Returns:
Anygraph->sitemap-urls#
function
Collect sitemap URLs from an App-Graph.
| Parameter | Type | Optional | Description |
|---|---|---|---|
graph | Any | required | — |
base-url | Any | required | — |
rest | Any | optional | — |
Returns:
Anygraph->sitemap-xml#
function
Render sitemap as XML content.
| Parameter | Type | Optional | Description |
|---|---|---|---|
graph | Any | required | — |
base-url | Any | required | — |
rest | Any | optional | — |
Returns:
Any