Podcasts HTML entities
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
|
||||
<channel>
|
||||
<title>{{isset($program) ? $program->name : "NH Gooi Gemist"}}</title>
|
||||
<description>{{isset($program) ? $program->description : "Fragmenten en interviews eerder te horen op NH Gooi Radio"}}</description>
|
||||
<description><![CDATA[{!! isset($program) ? html_entity_decode($program->description) : "Fragmenten en interviews eerder te horen op NH Gooi Radio" !!}]]></description>
|
||||
<link>https://nhgooi.nl{{isset($program) ? $program->url : ""}}</link>
|
||||
<language>nl-nl</language>
|
||||
|
||||
@@ -36,21 +36,21 @@
|
||||
<item>
|
||||
<guid>https://nhgooi.nl/podcast-{{$podcast->id}}</guid>
|
||||
<title>{{html_entity_decode($podcast->title)}}</title>
|
||||
<description>{{html_entity_decode($podcast->content)}}</description>
|
||||
<description><![CDATA[{!! 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>
|
||||
|
||||
<itunes:title>{{$podcast->title}}</itunes:title>
|
||||
<itunes:author>NH Gooi Radio</itunes:author>
|
||||
<itunes:summary>{{$podcast->content}}</itunes:summary>
|
||||
<itunes:summary><![CDATA[{!! html_entity_decode($podcast->content) !!}]]></itunes:summary>
|
||||
<itunes:duration>{{$podcast->formatDuration()}}</itunes:duration>
|
||||
<itunes:explicit>no</itunes:explicit>
|
||||
@if($podcast->image)
|
||||
@if($podcast->image)
|
||||
<itunes:image href="https://nhgooi.nl{{$podcast->image->url}}"/>
|
||||
@elseif($podcast->program && $podcast->program->image)
|
||||
@elseif($podcast->program && $podcast->program->image)
|
||||
<itunes:image href="https://nhgooi.nl{{$podcast->program->image->url}}"/>
|
||||
@endif
|
||||
@endif
|
||||
</item>
|
||||
@endforeach
|
||||
|
||||
|
||||
Reference in New Issue
Block a user