{!! '<'.'?xml version="1.0" encoding="UTF-8"?'.'>' !!} {{url('/')}} {{str_replace(' ', 'T', date("Y-m-d H:i:s"))}}+07:00 @if(isset($dynamics)) @foreach($dynamics as $item) @if ($u = $item->getViewUrl()) {{$u}} {{str_replace(' ', 'T', $item->updated_at)}}+07:00 @endif @endforeach @endif @if(isset($categories)) @foreach($categories as $item) @if ($u = $item->getViewUrl()) {{$u}} {{str_replace(' ', 'T', $item->updated_at)}}+07:00 @endif @endforeach @endif @if(isset($posts)) @foreach($posts as $item) @if ($u = $item->getViewUrl()) {{$u}} {{str_replace(' ', 'T', str_replace(' ', 'T', $item->updated_at))}}+07:00 @endif @endforeach @endif {{-- @if(get_web_type() == 'ecommerce' && isset($products)) @foreach($products as $item) @if ($u = $item->getViewUrl()) {{$u}} {{str_replace(' ', 'T', str_replace(' ', 'T', $item->updated_at))}}+07:00 @endif @endforeach @endif --}}