Skip to content

rimiti/symfony-jms-sitemap-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

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');

About

Generate your sitemap with your routes definitions.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages