Packages

A sitemap XML builder for Gleam

Current section

Files

Jump to
sitemapb README.md
Raw

README.md

# sitemapb
A sitemap XML builder for Gleam
[![Package Version](https://img.shields.io/hexpm/v/sitemapb)](https://hex.pm/packages/sitemapb)
[![Hex Docs](https://img.shields.io/badge/hex-docs-ffaff3)](https://hexdocs.pm/sitemapb/)
```sh
gleam add sitemapb@1
```
```gleam
import sitemapb
pub fn main() {
let site = [
"https://example.com/one",
"https://example.com/two",
"https://example.com/three",
]
// Render it!
sitemapb.render_basic(site)
}
```
Further documentation can be found at <https://hexdocs.pm/sitemapb> and
<https://www.sitemaps.org/protocol.html>.