<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" 
  xmlns:atom="http://www.w3.org/2005/Atom" 
  xmlns:spotify="http://www.spotify.com/ns/rss"
  xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd">

<channel>
<title>NH Gooi Gemist</title>
<description>Fragmenten en interviews eerder te horen op NH Gooi Radio</description>
<link>https://nhgooi.nl</link>
<language>nl-nl</language>
<itunes:author>NH Gooi Radio</itunes:author>
<itunes:explicit>no</itunes:explicit>
<itunes:image href="https://nhgooi.nl/images/logo.png" />
<itunes:owner>
  <itunes:email>info@nhgooi.nl</itunes:email>
</itunes:owner>
<itunes:category text="News &amp; Politics"></itunes:category>
<spotify:countryOfOrigin>nl</spotify:countryOfOrigin><spotify:countryOfOrigin>nl</spotify:countryOfOrigin>

@foreach($podcasts as $podcast)
<item>
    <title>{{$podcast->title}}</title>
    <itunes:summary>{{$podcast->content}}</itunes:summary>
    <description>{{$podcast->content}}</description>
    <link>https://nhgooi.nl/podcast/download/{{$podcast->url}}</link>
    <pubDate>{{$podcast->created->format('r')}}</pubDate>
    <itunes:author>NH Gooi Radio</itunes:author>
    <itunes:duration>{{$podcast->formatDuration()}}</itunes:duration>
    <itunes:explicit>no</itunes:explicit>
    @if($podcast->image)
    <itunes:image href="https://nhgooi.nl{{$podcast->image->url}}"/>
    @endif
    <guid>https://nhgooi.nl/podcast-{{$podcast->id}}</guid>
</item> 
@endforeach
   
</channel>
</rss>

