Sfoglia il codice sorgente

Merge pull request #1299 from pixelfed/frontend-ui-refactor

Update atom feed
daniel 6 anni fa
parent
commit
7dd239d37c
1 ha cambiato i file con 4 aggiunte e 1 eliminazioni
  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>
             <name> <![CDATA[{{ $item->profile->username }}]]></name>
         </author>
         </author>
         <summary type="html">
         <summary type="html">
-            {{ $item->caption }}
+        <![CDATA[
+            <img id="rss_item_{{$loop->iteration}}" src="{{ $item->thumb() }}">
+            <p style="padding:10px;">{{ $item->caption }}</p>
+          ]]>
         </summary>
         </summary>
         <updated>{{ $item->updated_at->toAtomString() }}</updated>
         <updated>{{ $item->updated_at->toAtomString() }}</updated>
     </entry>
     </entry>