Im working in PHP Laravel to build an RSS FEED READER
I have read the XML file and it displays the title, description and link. But the description contains image which i don't know how to display as an image. Now the image part comes in html format as shown below:
Instead i want it to be displayed like this:
Here is my html code where the rss feed content display happens:
@foreach ($feed->item as $item)
<tbody>
<div class="card">
<div class="card-header">
<a href="{{ $item->link }}">{{ $item->title}}</a>
</div>
<div class="card-header">
<a href="{{ $item->link }}">{{ $item->thumbnail}}</a>
</div>
<div class="card-body">
{{$item->description}}
</div>
</div>
</tbody>
@endforeach
Can somebody please help me with this. Thanks in advance.

