File: D:/HostingSpaces/SBogers14/coeveringmatrijzen.nl/app/views/seo/sitemap.blade.php
<?php echo '<?xml version="1.0" encoding="UTF-8"?>' ?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>{{ URL::to('/') }}</loc>
<lastmod>{{ \Carbon\Carbon::now()->format('Y-m-d') }}</lastmod>
<changefreq>weekly</changefreq>
<priority>0.5</priority>
</url>
<url>
<loc>{{ URL::to('/') }}/{{ $menuService->getRouteByController('CompanyController@index') }}</loc>
<lastmod>{{ \Carbon\Carbon::now()->format('Y-m-d') }}</lastmod>
<changefreq>weekly</changefreq>
<priority>0.5</priority>
</url>
@foreach(['projectDevelopment','projectManagement','stackMolds','moldDesign','production','threeDimensionalLaserCutters','polish','repairAndMaintenance'] as $service)
<url>
<loc>{{ URL::to('/') }}/{{ $menuService->getRouteByController('ServicesController@' . $service)}}</loc>
<lastmod>{{ \Carbon\Carbon::now()->format('Y-m-d') }}</lastmod>
<changefreq>weekly</changefreq>
<priority>0.5</priority>
</url>
@endforeach
@foreach(['general','preProductionMolds','productionMolds','stackMolds','twoKMolds','precisionMechanicalParts'] as $product)
<url><loc>{{ URL::to('/') }}/{{ $menuService->getRouteByController('ProductsController@' . $product)}}</loc>
<lastmod>{{ \Carbon\Carbon::now()->format('Y-m-d') }}</lastmod>
<changefreq>weekly</changefreq>
<priority>0.5</priority></url>
@endforeach
@foreach(['milling','lathing','deepHoleDrilling','grinding','zincSparkErosion','wireSparkErosion','laserMilling','cadCam','other'] as $machinery)
<url><loc>{{ URL::to('/') }}/{{ $menuService->getRouteByController('MachineryController@' . $machinery) }}">
{{ Lang::get('app/menus.' . $machinery)}}</loc>
<lastmod>{{ \Carbon\Carbon::now()->format('Y-m-d') }}</lastmod>
<changefreq>weekly</changefreq>
<priority>0.5</priority></url>
@endforeach
@foreach(['preProductionMolds','productionMolds','stackMolds','twoKMolds','precisionMechanicalParts','machines'] as $gallery)
<url>
<loc>{{ URL::to('/') }}/{{ $menuService->getRouteByController('GalleryController@' . $gallery) }}</loc>
<lastmod>{{ \Carbon\Carbon::now()->format('Y-m-d') }}</lastmod>
<changefreq>weekly</changefreq>
<priority>0.5</priority>
</url>
@endforeach
<url>
<loc>{{ URL::to('/') }}/{{ $menuService->getRouteByController('ContactController@index') }}</loc>
<lastmod>{{ \Carbon\Carbon::now()->format('Y-m-d') }}</lastmod>
<changefreq>weekly</changefreq>
<priority>0.5</priority>
</url>
</urlset>