# Module /web/app/graph/sitemap

XML and plain-text sitemap generators and HTTP handlers constructed from an App-Graph.

```tangu
(use /web/app/graph/sitemap)
```

## Functions & symbols

### construct-sitemap-url-list-handler

`(construct-sitemap-url-list-handler graph base-url ...rest)`

Construct a handler that serves a sitemap URL list.

| Parameter | Type | Optional | Description |
| :--- | :--- | :--- | :--- |
| `graph` | `Any` | no | — |
| `base-url` | `Any` | no | — |
| `rest` | `Any` | yes | — |

### construct-sitemap-xml-handler

`(construct-sitemap-xml-handler graph base-url ...rest)`

Construct a handler that serves sitemap XML.

| Parameter | Type | Optional | Description |
| :--- | :--- | :--- | :--- |
| `graph` | `Any` | no | — |
| `base-url` | `Any` | no | — |
| `rest` | `Any` | yes | — |

### graph->sitemap-url-list

`(graph->sitemap-url-list graph base-url ...rest)`

Render sitemap as a plain-text URL list.

| Parameter | Type | Optional | Description |
| :--- | :--- | :--- | :--- |
| `graph` | `Any` | no | — |
| `base-url` | `Any` | no | — |
| `rest` | `Any` | yes | — |

### graph->sitemap-urls

`(graph->sitemap-urls graph base-url ...rest)`

Collect sitemap URLs from an App-Graph.

| Parameter | Type | Optional | Description |
| :--- | :--- | :--- | :--- |
| `graph` | `Any` | no | — |
| `base-url` | `Any` | no | — |
| `rest` | `Any` | yes | — |

### graph->sitemap-xml

`(graph->sitemap-xml graph base-url ...rest)`

Render sitemap as XML content.

| Parameter | Type | Optional | Description |
| :--- | :--- | :--- | :--- |
| `graph` | `Any` | no | — |
| `base-url` | `Any` | no | — |
| `rest` | `Any` | yes | — |
