View file resources/views/loads/rss_comments.blade.php

File size: 782B
@extends('layout_rss')

@section('title', $down->title)

@section('content')
    @foreach ($down->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() }}/downs/comments/{{ $down->id }}</link>
            <description>{{ $down->title }}</description>
            <author>{{ $data->user->getName() }}</author>
            <pubDate>{{ date('r', $data->created_at) }}</pubDate>
            <category>{{ __('main.comments') }}</category>
            <guid>{{ siteUrl() }}/downs/comment/{{ $down->id }}/{{ $data->id }}</guid>
        </item>
    @endforeach
@stop