generate_syndicated_feed: use local media in generated feeds if it is available
This commit is contained in:
parent
040dfc71fc
commit
f47998f569
|
@ -111,6 +111,8 @@ class Handler_Public extends Handler {
|
||||||
$content = sanitize($line["content"], false, $owner_uid,
|
$content = sanitize($line["content"], false, $owner_uid,
|
||||||
$feed_site_url, false, $line["id"]);
|
$feed_site_url, false, $line["id"]);
|
||||||
|
|
||||||
|
$content = DiskCache::rewriteUrls($content);
|
||||||
|
|
||||||
if ($line['note']) {
|
if ($line['note']) {
|
||||||
$content = "<div style=\"$note_style\">Article note: " . $line['note'] . "</div>" .
|
$content = "<div style=\"$note_style\">Article note: " . $line['note'] . "</div>" .
|
||||||
$content;
|
$content;
|
||||||
|
|
Loading…
Reference in New Issue