spooner-web / just_sitemap
A Google sitemap extension
Installs: 226
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Type:typo3-cms-extension
pkg:composer/spooner-web/just_sitemap
Requires
- typo3/cms-core: ^8.7 || ^9.5
README
Installation
Install via composer
composer require spooner-web/just_sitemap
Install via Extension Manager
- Open Extension Manager in TYPO3 backend
- Search for
just_sitemap - Download and install it
Integrators Guide
Integrate extension
- Create page for the sitemap
- Hide page in menus
- Add a template record and include static template
- Add a content element and select
Google Sitemap - Select the root page(s) and the recursive level to get all pages
- Go to the page ``[yourdomain]/index.php?id=[page_with_sitemap]&type=711
Add doktype to pages not shown
By default the doktypes 3,4,6,199,254,255 are not shown in the sitemap.
You can add more doktypes, e.g. doktype 12 with:
plugin.tx_justsitemap.doktypesToIgnore := addToList(12)
Enhancing extension
By adding template, partial and layout paths to lib.fluidContent with their
subsections templateRootPaths, partialRootPaths and layoutRootPaths you can
create own templates and override the original ones.
To change the markup of the news listing you can add this code into TypoScript:
lib.fluidContent {
templateRootPaths {
40 = EXT:my_ext/Resources/Private/Templates
}
partialRootPaths {
40 = EXT:my_ext/Resources/Private/Partials
}
layoutRootPaths {
40 = EXT:my_ext/Resources/Private/Layouts
}
}
ToDo list
- Add priority into sitemap (would be best by handling it by the tree level)
- Add records (like news or other) to the sitemap
- Add frequency into sitemap (own field in page?)
Contribute
Feel free to contribute or test the extension! Here you can get in contact: