From f47998f569dd90a803d357bcc353219dc84c7299 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 13 Jan 2020 17:02:14 +0300 Subject: [PATCH] generate_syndicated_feed: use local media in generated feeds if it is available --- classes/handler/public.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/classes/handler/public.php b/classes/handler/public.php index 67c188142..7f3184403 100755 --- a/classes/handler/public.php +++ b/classes/handler/public.php @@ -111,6 +111,8 @@ class Handler_Public extends Handler { $content = sanitize($line["content"], false, $owner_uid, $feed_site_url, false, $line["id"]); + $content = DiskCache::rewriteUrls($content); + if ($line['note']) { $content = "
Article note: " . $line['note'] . "
" . $content;