PHP code example of markussom / sitemap-generator
1. Go to this page and download the library: Download markussom/sitemap-generator library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
markussom / sitemap-generator example snippets
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['realurl']['_DEFAULT'] = [
'fileName' => [
'defaultToHTMLsuffixOnPrev' => 0,
'acceptHTMLsuffix' => 1,
'index' => [
'sitemap.xml' => [
'keyValues' => [
'type' => 1449874941,
]
]
]
]
]
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['realurl']['_DEFAULT'] = [
'fileName' => [
'defaultToHTMLsuffixOnPrev' => 0,
'acceptHTMLsuffix' => 1,
'index' => [
'sitemap_news.xml' => [
'keyValues' => [
'type' => 1451160842,
]
]
]
]
]