Browse Source

Update atom feed

Daniel Supernault 6 years ago
parent
commit
5379c462bf
1 changed files with 4 additions and 1 deletions
  1. 4 1
      resources/views/atom/user.blade.php

+ 4 - 1
resources/views/atom/user.blade.php

@@ -33,7 +33,10 @@
             <name> <![CDATA[{{ $item->profile->username }}]]></name>
         </author>
         <summary type="html">
-            {{ $item->caption }}
+        <![CDATA[
+            <img id="rss_item_{{$loop->iteration}}" src="{{ $item->thumb() }}">
+            <p style="padding:10px;">{{ $item->caption }}</p>
+          ]]>
         </summary>
         <updated>{{ $item->updated_at->toAtomString() }}</updated>
     </entry>