2017-06-04 19:06:22 +01:00
|
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
<feed xmlns="http://www.w3.org/2005/Atom">
|
2023-06-11 16:52:37 +01:00
|
|
|
|
<title>Atom feed for {{ config('user.display_name') }}’s blog</title>
|
2017-06-04 19:06:22 +01:00
|
|
|
|
<link rel="self" href="{{ config('app.url') }}/blog/feed.atom" />
|
|
|
|
|
<id>{{ config('app.url')}}/blog</id>
|
|
|
|
|
<updated>{{ $articles[0]->updated_at->toAtomString() }}</updated>
|
|
|
|
|
|
2017-11-04 12:10:46 +00:00
|
|
|
|
@foreach($articles as $article)
|
2017-06-04 19:06:22 +01:00
|
|
|
|
<entry>
|
|
|
|
|
<title>{{ $article->title }}</title>
|
|
|
|
|
<link href="{{ config('app.url') }}{{ $article->link }}" />
|
|
|
|
|
<id>{{ config('app.url') }}{{ $article->link }}</id>
|
|
|
|
|
<updated>{{ $article->updated_at->toAtomString() }}</updated>
|
|
|
|
|
<content>{{ $article->main }}</content>
|
|
|
|
|
<author>
|
2023-06-11 16:52:37 +01:00
|
|
|
|
<name>{{ config('user.display_name') }}</name>
|
2017-06-04 19:06:22 +01:00
|
|
|
|
</author>
|
|
|
|
|
</entry>
|
2017-11-04 12:10:46 +00:00
|
|
|
|
@endforeach
|
2017-06-04 19:06:22 +01:00
|
|
|
|
</feed>
|