# XML-sitemap-generator

> Indsæt dine side-URL'er, og få et gyldigt sitemap.xml med lastmod, changefreq og priority. Dubletter fjernes, og ugyldige linjer rapporteres. Gratis.

Free tool by Orkosi. Page: https://orkosi.com/tools/sitemap-generator?lang=da

Et sitemap fortæller søgemaskiner, hvilke sider der findes. Indsæt listen, én adresse pr. linje, og download en fil, der er klar til at blive sendt til Google Search Console.

1. Indsæt én URL pr. linje (op til 2.000).
2. Vælg, om dato, ændringsfrekvens og prioritet skal tilføjes.
3. Tryk på Generér, download sitemap.xml, og upload den til dit websites rodmappe.

## Input

| Field | Type | Required | What it is |
| --- | --- | --- | --- |
| `urls` | text | yes | URL'er, én pr. linje. |
| `changefreq` | "none" \| "daily" \| "weekly" \| "monthly" \| "yearly" | no | Ændringsfrekvens. Default: "none". |
| `priority` | number | no | Prioritet. Valgfrit, 0,0 til 1,0. |
| `include_lastmod` | true \| false | no | Tilføj dagens dato som lastmod. Default: true. |

## Example

Input:

```json
{
  "urls": "https://example.com/\nhttps://example.com/pricing\nhttps://example.com/blog/launch\nexample.com/about"
}
```

Result:

```json
{
  "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<urlset xmlns=\"http://www.sitemaps.org/schemas/sitemap/0.9\">\n  <url>\n    <loc>https://example.com/</loc>\n    <lastmod>2026-11-25</lastmod>\n  </url>\n  <url>\n    <loc>https://example.com/pricing</loc>\n    <lastmod>2026-11-25</lastmod>\n  </url>\n  <url>\n    <loc>https://example.com/blog/launch</loc>\n    <lastmod>2026-11-25</lastmod>\n  </url>\n  <url>\n    <loc>http…",
  "url_count": 4,
  "skipped": 0,
  "skipped_lines": []
}
```

## Run it

It needs a free Orkosi account, nothing else. No credits are used.

- **A person**: open the page, enter an e-mail once, use the tool.
- **Claude or ChatGPT**: add the Orkosi connector `https://orkosi.com/api/v1/public/mcp` and sign in, or create the free account on the sign-in page. Then call `orkosi_run_free_tool` with `{ "tool": "sitemap-generator", "input": { … } }`.
- **Any agent or program that can make an HTTP request**:

  1. Once, create the account: `POST https://orkosi.com/api/v1/public/signup` with `{ "name": "…", "email": "…", "terms_accepted": true }` and no key. Ask the person for the e-mail and their agreement to the terms first. The answer carries `data.api_key`, shown once.
  2. Run the tool:

```bash
curl -X POST https://orkosi.com/api/v1/public/tools/sitemap-generator/run \
  -H "Authorization: Bearer $ORKOSI_API_KEY" -H "Content-Type: application/json" \
  -d '{"input":{"urls":"https://example.com/\nhttps://example.com/pricing\nhttps://example.com/blog/launch\nexample.com/about"}}'
```

The answer is `{ "data": { "tool": "…", "result": { … } } }`. A call without a key is answered 401 with the signup steps as data.

## Questions

**Har changefreq og priority betydning?**

Google ignorerer begge, mens Bing læser dem som tip. Datoen for den seneste ændring (lastmod) er den, de begge bruger, når den er korrekt.

**Hvordan indsender jeg sitemapet?**

Upload det som /sitemap.xml, tilføj linjen Sitemap: https://example.com/sitemap.xml til robots.txt, og indsend adressen i Search Console.

**Hvor mange URL'er kan et sitemap indeholde?**

Standarden tillader 50.000 pr. fil. Dette værktøj opretter filer på op til 2.000, mens større websites bør generere deres fra databasen.

All free tools: https://orkosi.com/tools.md
