Размер файла: 805B
@extends('layout_rss')
@section('title')
{{ $blog->title }}
@stop
@section('content')
@foreach ($blog->lastComments as $data)
<?php $data->text = bbCode($data->text); ?>
<?php $data->text = str_replace('/uploads/stickers', siteUrl().'/uploads/stickers', $data->text); ?>
<item>
<title>{{ $data->text }}</title>
<link>{{ siteUrl() }}/articles/comments/{{ $blog->id }}</link>
<description>{{ $blog->title }}</description>
<author>{{ $data->user->login }}</author>
<pubDate>{{ date('r', $data->created_at) }}</pubDate>
<category>{{ __('main.comments') }}</category>
<guid>{{ siteUrl() }}/articles/comments/{{ $blog->id }}?pid={{ $data->id }}</guid>
</item>
@endforeach
@stop