From b7b916e211e1153bf89d5cf4361b6049eb77eb57 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Tue, 29 May 2018 22:54:31 -0600 Subject: [PATCH] Add atom user feed Closes #37 --- resources/views/atom/user.blade.php | 41 +++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 resources/views/atom/user.blade.php diff --git a/resources/views/atom/user.blade.php b/resources/views/atom/user.blade.php new file mode 100644 index 000000000..dd639dd38 --- /dev/null +++ b/resources/views/atom/user.blade.php @@ -0,0 +1,41 @@ +` won't get parsed as short tags */ + ''.PHP_EOL +?> + + {{$profile->permalink('.atom')}} + {{$profile->username}} + {{$profile->bio}} + {{$profile->updated_at->toAtomString()}} + + + {{$profile->permalink()}} + http://activitystrea.ms/schema/1.0/person + {{$profile->permalink()}} + {{$profile->permalink()}} + {{$profile->emailUrl()}} + {{$profile->bio}} + + + {{$profile->username}} + {{$profile->name}} + {{$profile->bio}} + public + + + +@foreach($items as $item) + + <![CDATA[{{ $item->caption }}]]> + + {{ url($item->id) }} + + profile->username }}]]> + + + caption !!}]]> + + {{ $item->updated_at->toAtomString() }} + +@endforeach + \ No newline at end of file