diff options
Diffstat (limited to 'feed2podcast/feed2podcast.php')
-rw-r--r-- | feed2podcast/feed2podcast.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/feed2podcast/feed2podcast.php b/feed2podcast/feed2podcast.php index d7f137c..6f8f2a9 100644 --- a/feed2podcast/feed2podcast.php +++ b/feed2podcast/feed2podcast.php @@ -97,7 +97,7 @@ foreach ($xml->channel->item as $item) { echo '<item>'; echo ' <title>'.$item->title.'</title>'; echo ' <link>https://'.$_SERVER['HTTP_HOST'].'/'.$downloads.'/'.$filename.'</link>'; - echo ' <description>'.$item->description.'</description>'; + echo ' <description>'.str_replace("www.deutschlandfunk.de,", "", strip_tags($item->description)).'</description>'; echo ' <pubDate>'.$item->pubDate.'</pubDate>'; echo ' <guid>'.$item->guid.'</guid>'; echo ' <enclosure url="https://'.$_SERVER['HTTP_HOST'].'/'.$downloads.'/'.$filename.'" length="'.filesize($downloads.'/'.$filename).'" type="'.$filetype.'"/>'; |