Commit 0a18f876 by Bagus Pambudi

add image rss

parent f6046038
...@@ -15,7 +15,8 @@ ...@@ -15,7 +15,8 @@
<item> <item>
<title>{{ $post->title }}</title> <title>{{ $post->title }}</title>
<link>{{ url('post/'.$post['slug'])}}</link> <link>{{ url('post/'.$post['slug'])}}</link>
<description><![CDATA[{!! $post->content !!}]]></description> <description>{!! strip_tags(substr(html_entity_decode($post->content,ENT_COMPAT,"UTF-8"),0 , 250)) !!}</description>
<!-- <description><![CDATA[{!! $post->content !!}]]></description> -->
<category>{{ $post->rCategory->name }}</category> <category>{{ $post->rCategory->name }}</category>
{{-- <author><![CDATA[{{ $post->slug }}]]></author>--}} {{-- <author><![CDATA[{{ $post->slug }}]]></author>--}}
{{-- <guid>{{ $post->id }}</guid>--}} {{-- <guid>{{ $post->id }}</guid>--}}
......
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