Commit 1852837a by Bagus Pambudi

update rss

parent cef88292
...@@ -10,9 +10,9 @@ ...@@ -10,9 +10,9 @@
<pubDate>{{ now() }}</pubDate> <pubDate>{{ now() }}</pubDate>
@foreach($posts as $post) @foreach($posts as $post)
<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><![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