Commit d45f297e by Bagus Pambudi

add image rss

parent c24a451e
......@@ -14,6 +14,9 @@
</image>
<item>
<title>{{ $post->title }}</title>
<image>
<url>{{ $setting['url_static'] . '/' . $setting['directory'] . '/thumbnail/' . $post->thumbnail }}</url>
</image>
<link>{{ url('post/'.$post['slug'])}}</link>
<description><![CDATA[{!! strip_tags(substr(html_entity_decode($post->content,ENT_COMPAT,"UTF-8"),0 , 250)) !!}]]></description>
{{-- <description><![CDATA[{!! $post->content !!}]]></description>--}}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment