enjoyscms / sitemap
Installs: 1 107
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:enjoyscms-module
Requires
- php: ^8.1
- enjoyscms/core: ^6.0@dev
- samdark/sitemap: ^2.4
- symfony/console: ^5.4 | ^6.0
README
Commands
vendor/bin/sitemap generate
vendor/bin/sitemap status
Example yaml configuration
enjoyscms/sitemap: baseUrl: &baseUrl "http://localhost" filename: /sitemap.xml stylesheet: - *baseUrl - /stylesheet.xsl collectors: - \EnjoysCMS\Module\Sitemap\ExampleCollector
All parameters of configuration
baseUrl: 'set baseUrl in /config.yml' filename: /sitemap.xml maxUrls: 50000 #Maximum allowed number of URLs in a single file. useGzip: false #Whether to gzip the resulting files or not useIndent: true #if XML should be indented maxBytes: 10485760 #Maximum allowed number of bytes in a single file. default: 10485760 bufferSize: 10 #Number of URLs to be kept in memory before writing it to file stylesheet: null collectors: []