![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/syn.corals.io/Corals/modules/CMS/resources/views/feed/ |
<?= /* Using an echo tag here so the `<? ... ?>` won't get parsed as short tags */ '<?xml version="1.0" encoding="UTF-8"?>'.PHP_EOL ?> <rss version="2.0"> <channel> <title><![CDATA[{{ $meta['title'] }}]]></title> <link><![CDATA[{{ url($meta['link']) }}]]></link> <description><![CDATA[{{ $meta['description'] }}]]></description> <language>{{ $meta['language'] }}</language> <pubDate>{{ $meta['updated'] }}</pubDate> @foreach($items as $item) <item> <title><![CDATA[{{ $item->title }}]]></title> <link>{{ url($item->link) }}</link> <description><![CDATA[{!! $item->summary !!}]]></description> <author><![CDATA[{{ $item->author }}]]></author> <guid>{{ url($item->id) }}</guid> <pubDate>{{ $item->updated->toRssString() }}</pubDate> </item> @endforeach </channel> </rss>