PHP Classes

File: resources/views/post/feed.blade.php

Recommend this page to a friend!
  Classes of Pierre-Henry Soria   Heloise Laravel Blog Package   resources/views/post/feed.blade.php   Download  
File: resources/views/post/feed.blade.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Heloise Laravel Blog Package
Simple blog system with comments and RSS feed
Author: By
Last change:
Date: 1 year ago
Size: 378 bytes
 

Contents

Class file image Download
@extends('layouts.rss')

@section('content')
    @foreach($posts as $post)
        <item>
            <title>{{ $post->title }}</title>
            <link>{{ route('post.show', $post->id) }}</link>
            <pubDate>{{ $post->created_at->format('r') }}</pubDate>
            <description><![CDATA[{{ $post->body }}]]></description>
        </item>
    @endforeach
@endsection