Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rimiti/symfony-jms-sitemap-generator
Generate your sitemap with your routes definitions.
https://github.com/rimiti/symfony-jms-sitemap-generator
sitemap-generator symfony-jms symfony2
Last synced: 26 days ago
JSON representation
Generate your sitemap with your routes definitions.
- Host: GitHub
- URL: https://github.com/rimiti/symfony-jms-sitemap-generator
- Owner: rimiti
- Created: 2017-06-24T09:49:55.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-06-24T09:51:16.000Z (over 7 years ago)
- Last Synced: 2024-09-30T16:01:34.444Z (about 1 month ago)
- Topics: sitemap-generator, symfony-jms, symfony2
- Language: PHP
- Size: 1000 Bytes
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Symfony-jms-sitemap-generator
===================PHP script to generate your sitemap using your routes files.
This script small script only work with YAML.Very usefull if you use the *JMSI18nRoutingBundle* and *JMSTranslationBundle* Symfony2 bundle.
To use it, you just have to customize the lines below:
CONST ROUTE_PATH = "/var/www/website/src/Dim/YourBundle/Resources/translations/routes.__LANG__.yml";
CONST OUTPUT_FILE = "/var/www/website/web/sitemap.xml";
CONST WEBSITE_URL = "http://www.website.org";
CONST TRANSLATIONS = array('fr', 'en', 'es');