@foreach ($meta as $key => $metaItem) @if ($key === 'link') <{{ $key }} href="{{ url($metaItem) }}" rel="self" > @elseif($key === 'title') <{{ $key }}>{!! Botble\RssFeed\Helpers\Cdata::out($metaItem) !!} @elseif($key === 'description') {{ $metaItem }} @elseif($key === 'language') @elseif($key === 'image') @if (!empty($metaItem)) {!! $metaItem !!} @else @endif @else <{{ $key }}>{{ $metaItem }} @endif @endforeach @foreach ($items as $item) {!! Botble\RssFeed\Helpers\Cdata::out($item->title) !!} {{ url($item->id) }} {!! Botble\RssFeed\Helpers\Cdata::out($item->authorName) !!} @if (!empty($item->authorEmail)) {!! Botble\RssFeed\Helpers\Cdata::out($item->authorEmail) !!} @endif {!! Botble\RssFeed\Helpers\Cdata::out($item->summary) !!} @if ($item->__isset('enclosure')) @endif @foreach ($item->category as $category) @endforeach {{ $item->timestamp() }} @endforeach