@php $i=0; @endphp
@foreach($rss->channel->item as $item)
@php
$mediaArray = $item->xpath('media:thumbnail');
$media = end($mediaArray);
$src = $media->attributes()->url;
$surl = str_replace('70x70', '768x432', $src);
@endphp
@if($i < 4)
{{ \Carbon\Carbon::parse($item->pubDate)->formatLocalized('%a, %d %b %Y')}}
{{$item->title}}
@php $i++; @endphp
@endif
@endforeach