Commit 09f9d7fe by Bagus Pambudi

edit rss

parent 44985845
......@@ -9,16 +9,16 @@
<language>en</language>
<pubDate>{{ now() }}</pubDate>
@foreach($posts as $post)
<image>
{{-- <image>
<url>{{ $setting['url_static'] . '/' . $setting['directory'] . '/thumbnail/' . $post->thumbnail }}</url>
</image>
</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>{!! 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>
{{-- <author><![CDATA[{{ $post->slug }}]]></author>--}}
......
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