PHPackages                             markussom/sitemap-generator - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. markussom/sitemap-generator

ActiveTypo3-cms-extension[Parsing &amp; Serialization](/categories/parsing)

markussom/sitemap-generator
===========================

Easy to use sitemap generator for pages and records.

1.5.2(6y ago)1164.9k10[12 issues](https://github.com/beardcoder/sitemap_generator/issues)[3 PRs](https://github.com/beardcoder/sitemap_generator/pulls)MITPHPPHP &gt;=7.1.0,&lt;7.4.99CI failing

Since Dec 23Pushed 6y ago1 watchersCompare

[ Source](https://github.com/beardcoder/sitemap_generator)[ Packagist](https://packagist.org/packages/markussom/sitemap-generator)[ Docs](https://www.creativeworkspace.de)[ RSS](/packages/markussom-sitemap-generator/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (10)Dependencies (4)Versions (31)Used By (0)

EXT:sitemap\_generator
======================

[](#extsitemap_generator)

Build Status
------------

[](#build-status)

[![https://travis-ci.org/beardcoder/sitemap_generator.svg?branch=master](https://camo.githubusercontent.com/543d7262588ee94864f4607087893f495c37d00dd5886ced7516336defe66f7d/68747470733a2f2f7472617669732d63692e6f72672f6265617264636f6465722f736974656d61705f67656e657261746f722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/beardcoder/sitemap_generator)[![](https://camo.githubusercontent.com/36e1cb87038e6d12f1879e224cfd8b43e33a222e531bcf122f2bac6b56687c2d/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f6265617264636f6465722f736974656d61705f67656e657261746f722f6261646765732f6770612e737667)](https://codeclimate.com/github/beardcoder/sitemap_generator)Installation
------------

[](#installation)

**Preparation: Include static TypoScript**

*The extension ships some TypoScript code which needs to be included.*

- Switch to the root page of your site.
- Switch to the Template module and select Info/Modify.
- Press the link Edit the whole template record and switch to the tab Includes.
- Select Sitemap Generator (sitemap\_generator) at the field Include static (from extensions)
- You can override the root page ID plugin.tx\_sitemapgenerator.settings.urlEntries.pages.rootPageId
- You can add custom doktypes. Per default the sitemap.xml only lists normal pages with "doktype=1". The option takes a comma-separated list of numbers. plugin.tx\_sitemapgenerator.settings.urlEntries.pages.allowedDoktypes
- sitemap is available on rootpage with pagetype 1449874941 "/index.php?id=1&amp;type=1449874941"

### Pages

[](#pages)

```
plugin.tx_sitemapgenerator {
    urlEntries {
        pages = 1
        pages {
            rootPageId = 1
            allowedDoktypes = 1
            additionalWhere = doktype!=6
        }
    }
}
```

### Plugin integration

[](#plugin-integration)

```
plugin.tx_sitemapgenerator {
    urlEntries {
        news = 1
        news {
            active = 1
            table = tx_news_domain_model_news
            additionalWhere = pid!=0
            orderBy = title DESC
            limit = 0,10
            lastmod = tstamp
            url = TEXT
            url {
                typolink.parameter = 9
                typolink.additionalParams = &tx_news_pi1[controller]=News&tx_news_pi1[action]=detail&tx_news_pi1[news]={field:uid}
                typolink.additionalParams.insertData = 1
                typolink.useCacheHash = 1
                typolink.returnLast = url
                typolink.forceAbsoluteUrl = 1
            }
        }
    }
}
```

### Hide if not translated

[](#hide-if-not-translated)

A record that has no translation will not be shown.

```
plugin.tx_sitemapgenerator.urlEntries.pages {
    hidePagesIfNotTranslated = 1
}

plugin.tx_sitemapgenerator.urlEntries.news {
    hideIfNotTranslated = 1
}
```

### Additional fields

[](#additional-fields)

```
plugin.tx_sitemapgenerator.urlEntries.news {
    changefreq = dbfield_for_changefreq
    priority = dbfield_for_priority
}
```

### Custom value for fields

[](#custom-value-for-fields)

You can use the TYPO3 TypoScript syntax to fill fields

```
plugin.tx_sitemapgenerator.urlEntries.news {
    changefreq = TEXT
    changefreq.value = daily
}
```

### RealURL for beautiful sitemap.xml url

[](#realurl-for-beautiful-sitemapxml-url)

```
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['realurl']['_DEFAULT'] = [
    'fileName' => [
        'defaultToHTMLsuffixOnPrev' => 0,
        'acceptHTMLsuffix' => 1,
        'index' => [
            'sitemap.xml' => [
                'keyValues' => [
                    'type' => 1449874941,
                ]
            ]
        ]
    ]
];
```

Google News-Sitemap
-------------------

[](#google-news-sitemap)

### Activate for tx\_news

[](#activate-for-tx_news)

```
plugin.tx_sitemapgenerator.googleNewsUrlEntry = 1
```

### RealURL for beautiful sitemap\_news.xml url

[](#realurl-for-beautiful-sitemap_newsxml-url)

```
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['realurl']['_DEFAULT'] = [
    'fileName' => [
        'defaultToHTMLsuffixOnPrev' => 0,
        'acceptHTMLsuffix' => 1,
        'index' => [
            'sitemap_news.xml' => [
                'keyValues' => [
                    'type' => 1451160842,
                ]
            ]
        ]
    ]
];
```

Speaking Urls for the sitemap with RealURL
------------------------------------------

[](#speaking-urls-for-the-sitemap-with-realurl)

If the speaking urls should not work within the sitemap, the following must be included in the typoscript

### Enable for pagetype 1449874941

[](#enable-for-pagetype-1449874941)

```
[globalVar = TSFE:type = 1449874941]
    config.tx_realurl_enable = 1
[global]
```

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity32

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity74

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~57 days

Recently: every ~139 days

Total

27

Last Release

2354d ago

Major Versions

0.9.2 → 1.0.02017-02-20

PHP version history (5 changes)0.8.0PHP &gt;=5.5.0

1.1.0PHP &gt;=5.5.0,&lt;7.2.0

1.2.0PHP &gt;=5.6.0,&lt;7.2.0

1.3.0PHP &gt;=5.6.0,&lt;7.2.99

1.5.0PHP &gt;=7.1.0,&lt;7.4.99

### Community

Maintainers

![](https://www.gravatar.com/avatar/7cdefd7af5296ba6c9b9dfbc172d808a587a8535c6ced4ad8dc962a3cc8df97f?d=identicon)[beardcoder](/maintainers/beardcoder)

---

Top Contributors

[![peterkraume](https://avatars.githubusercontent.com/u/4234704?v=4)](https://github.com/peterkraume "peterkraume (11 commits)")[![beardcoder](https://avatars.githubusercontent.com/u/9371658?v=4)](https://github.com/beardcoder "beardcoder (11 commits)")[![vertexvaar](https://avatars.githubusercontent.com/u/5594393?v=4)](https://github.com/vertexvaar "vertexvaar (4 commits)")[![mschwemer](https://avatars.githubusercontent.com/u/103594?v=4)](https://github.com/mschwemer "mschwemer (4 commits)")[![Konafets](https://avatars.githubusercontent.com/u/363363?v=4)](https://github.com/Konafets "Konafets (2 commits)")[![mhirdes](https://avatars.githubusercontent.com/u/915162?v=4)](https://github.com/mhirdes "mhirdes (1 commits)")[![einpraegsam](https://avatars.githubusercontent.com/u/89055?v=4)](https://github.com/einpraegsam "einpraegsam (1 commits)")[![gutschik](https://avatars.githubusercontent.com/u/29476?v=4)](https://github.com/gutschik "gutschik (1 commits)")

---

Tags

sitemaptypo3typo3-extensionxmlxmlextensionSitemaptypo3

### Embed Badge

![Health badge](/badges/markussom-sitemap-generator/health.svg)

```
[![Health](https://phpackages.com/badges/markussom-sitemap-generator/health.svg)](https://phpackages.com/packages/markussom-sitemap-generator)
```

###  Alternatives

[presta/sitemap-bundle

A Symfony bundle that provides tools to build your application sitemap.

3839.8M35](/packages/presta-sitemap-bundle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
