opengraph
This commit is contained in:
parent
7b5ad40a8e
commit
0debdbf12b
|
|
@ -88,7 +88,8 @@ class Plugin extends PluginBase
|
||||||
"\t\t\t<link>" . Settings::get('link') . Settings::get('postPage') . "/" . $post->slug . "</link>\n" .
|
"\t\t\t<link>" . Settings::get('link') . Settings::get('postPage') . "/" . $post->slug . "</link>\n" .
|
||||||
"\t\t\t<guid isPermaLink='true''>" . Settings::get('link') . Settings::get('postPage') . "/" . $post->slug . "</guid>\n" .
|
"\t\t\t<guid isPermaLink='true''>" . Settings::get('link') . Settings::get('postPage') . "/" . $post->slug . "</guid>\n" .
|
||||||
"\t\t\t<pubDate>" . $published->format(DateTime::RFC2822) . "</pubDate>\n" .
|
"\t\t\t<pubDate>" . $published->format(DateTime::RFC2822) . "</pubDate>\n" .
|
||||||
"\t\t\t<description><![CDATA[ " . htmlspecialchars($description, ENT_QUOTES, 'UTF-8') . " ]]></description>\n" .
|
"\t\t\t<description><![CDATA[ <img src='".Settings::get('link')."/storage/app/media/'".$post->featured_image.">"
|
||||||
|
. htmlspecialchars($description, ENT_QUOTES, 'UTF-8') . " ]]></description>\n" .
|
||||||
"\t\t</item>\n";
|
"\t\t</item>\n";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue