{!! '<' . '?' . 'xml version="1.0" encoding="UTF-8"?>' . "\n" !!} {{ $channel['title'] }} {{ $channel['link'] }} sitemap @foreach ($items as $item) {{ $item['loc'] }} {{ $item['title'] }} {{ date('Y-m-d\TH:i:sP', strtotime($item['lastmod'])) }} {{ $item['freq'] }} {{ $item['priority'] }} @endforeach