generate_syndicated_feed: use local media in generated feeds if it is available

master
Andrew Dolgov 4 years ago
parent 040dfc71fc
commit f47998f569

@ -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 = "<div style=\"$note_style\">Article note: " . $line['note'] . "</div>" .
$content;

Loading…
Cancel
Save