mirror of https://github.com/4xmen/xshop.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
738 B
PHTML
20 lines
738 B
PHTML
1 week ago
|
<rss version="2.0">
|
||
|
<channel>
|
||
|
<title>{{config('app.name')}}</title>
|
||
|
<link>{{ url('/') }}</link>
|
||
|
<description>{{getSetting('description')}}</description>
|
||
|
<language>{{config('app.locale')}}</language>
|
||
|
<pubDate>{{ \Carbon\Carbon::now()->toRssString() }}</pubDate>
|
||
|
|
||
|
@foreach($posts as $post)
|
||
|
<item>
|
||
|
<title><![CDATA[{{ $post->title }}]]></title>
|
||
|
<link>{{ $post->webUrl() }}</link>
|
||
|
<description><![CDATA[{{ $post->subtitle }}]]></description>
|
||
|
<pubDate>{{ $post->created_at->toRssString() }}</pubDate>
|
||
|
<guid>{{ $post->webUrl() }}</guid>
|
||
|
</item>
|
||
|
@endforeach
|
||
|
</channel>
|
||
|
</rss>
|