CDATA en quotes in RSS was dubbelop

This commit is contained in:
2020-06-16 21:53:00 +02:00
parent cfa079ee25
commit e8adece8d8
2 changed files with 4 additions and 4 deletions

View File

@@ -21,8 +21,8 @@
@foreach($news as $item)
<item>
<guid>https://nhgooi.nl/news-{{$item->id}}</guid>
<title><![CDATA[{!!$item->title!!}]]></title>
<description><![CDATA[{!!$item->content!!}]]></description>
<title><![CDATA[{!!html_entity_decode($item->title)!!}]]></title>
<description><![CDATA[{!!html_entity_decode($item->content)!!}]]></description>
<link>https://nhgooi.nl{{$item->url}}</link>
<pubDate>{{$item->published->format('r')}}</pubDate>
@if($item->images)

View File

@@ -33,8 +33,8 @@
@foreach($podcasts as $podcast)
<item>
<guid>https://nhgooi.nl/podcast-{{$podcast->id}}</guid>
<title>{{$podcast->title}}</title>
<description>{{$podcast->content}}</description>
<title>{{html_entity_decode($podcast->title)}}</title>
<description>{{html_entity_decode($podcast->content)}}</description>
<link>https://nhgooi.nl/gemist/fragment/{{$podcast->url}}</link>
<enclosure url="{{url('podcast/download/' . $podcast->url . '?auth=' . $podcast->auth)}}" type="audio/mpeg" length="{{filesize($podcast->getSoundFile())}}"></enclosure>
<pubDate>{{$podcast->created->format('r')}}</pubDate>