diff --git a/bl-plugins/rss/plugin.php b/bl-plugins/rss/plugin.php index c53e3dcc..d9d1316c 100644 --- a/bl-plugins/rss/plugin.php +++ b/bl-plugins/rss/plugin.php @@ -74,8 +74,10 @@ class pluginRSS extends Plugin { $page = new Page($pageKey); $xml .= ''; $xml .= ''.$page->title().''; - $xml .= ''.$this->encodeURL($page->permalink()).''; - $xml .= ''.$page->coverImage(true).''; + $xml .= ''.$this->encodeURL($page->permalink()).''; + $imagepath = parse_url($page->coverImage(true), PHP_URL_PATH); + $imagepath = $_SERVER['DOCUMENT_ROOT'] . $imagepath; + $xml .= ''; $xml .= ''.Sanitize::html($page->contentBreak()).''; $xml .= ''.date(DATE_RSS,strtotime($page->getValue('dateRaw'))).''; $xml .= ''.$page->uuid().'';