Show all projects!

Craft CMS um RSS Feed erweitern

Dazu gibt es eine gute anleitung
https://craftquest.io/lessons/...

Meine rss.xml die ich in den Ordner templates abgelegt habe sieht wie folgt aus

<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
  <title>Thomas Eimers projects</title>
  <link>https://notdefine.de</link>
  <description>Blog and Pojects</description>
  <pubDate>{{ now | rss }}</pubDate>
  <lastBuildDate>{{ now | rss}}</lastBuildDate>
  {% for item in craft.entries.section('projects').limit(200).all() %}  
  <item>
    <title>{{ item.title}}</title>
    <link>{{ item.url }}</link>
    <pubDate>{{ item.postDate | rss }}</pubDate>
    <guid isPermaLink="true">{{ item.url }}</guid>
    <description><![CDATA[{{ item.projectIntroduction }}]]></description>
    <content:encoded><![CDATA[ {{item.projectBody|raw}} {{item.projectBodyOld|raw}} ]]></content:encoded>
  </item>
  {% endfor %}
</channel>

</rss>
Der Feed ist erreichbar unter https://www.notdefine.de/rss.xml

Article relase date: / Last update: