Sort out web syndication feeds, and add JSON feeds, fixes issue #52

This commit is contained in:
Jonny Barnes 2017-06-04 19:06:22 +01:00
parent b234e2133b
commit e848486b33
11 changed files with 301 additions and 41 deletions

View file

@ -2,9 +2,9 @@
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>{{ config('app.display_name') }}</title>
<atom:link href="{{ config('app.url') }}/feed" rel="self" type="application/rss+xml" />
<atom:link href="{{ config('app.url') }}/blog/feed.rss" rel="self" type="application/rss+xml" />
<description>An RSS feed of the blog posts found on {{ config('url.longurl') }}</description>
<link>{{ config('app.url') }}</link>
<link>{{ config('app.url') }}/blog</link>
<lastBuildDate>{{ $buildDate }}</lastBuildDate>
<ttl>1800</ttl>