{!! '<' . '?' . "xml version='1.0' encoding='UTF-8'?>" !!} wpan.com Blogger 2016-06-10T04:33:36Z @for ($i = 1; $i <= $data['finishPage']; $i++) @php $key_cache = Cache::get($data['key'].$i); $step = (strtotime($data['start_date']) - strtotime($data['end_date'])) / ($data['finishPage'] * 20); $timestamp = range(strtotime($data['start_date']), strtotime($data['end_date']), $step); @endphp @foreach ($key_cache as $key => $item) admin post-{{ $item['id'] }} {{ date('Y-m-d', $timestamp[$key]) }}T{{ date('H:i:s', $timestamp[$key]) }}Z {{ do_template( $templates->find($data['template'])->title, $item ) }} {{ do_template( $templates->find($data['template'])->content, $item ) }} @endforeach @endfor