The bmannconsulting.com website
1--- 2--- 3<?xml version="1.0" encoding="UTF-8"?> 4<rss version="2.0" 5 xmlns:atom="http://www.w3.org/2005/Atom" 6 xmlns:dc="http://purl.org/dc/elements/1.1/" 7 xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" 8> 9 <channel> 10 <title>{{ site.name | xml_escape }} - Blog Feed</title> 11 <description>{% if site.description %}{{ site.description | xml_escape }}{% endif %}</description> 12 <link>{{ site.url }}</link> 13 <atom:link href="{{ site.url }}{{ page.url }}" rel="self" type="application/rss+xml" /> 14 <lastBuildDate>{{ site.time | date_to_rfc822 }}</lastBuildDate> 15 {% assign feed_items = site.feed_items | default: 10 %} 16 {% assign sortedblog = site.posts | sort: 'date' | reverse %} 17 {% assign blogcount = 0 %} 18 {% for post in sortedblog %} 19 {% if post.section == 'blog' and blogcount < feed_items %} 20 <item> 21 <title>{{ post.title | xml_escape }}</title> 22 {% if site.name %} 23 <dc:creator>{{ site.name | xml_escape }}</dc:creator> 24 {% endif %} 25 <description>{{ post.content | xml_escape }}</description> 26 <link>{{ site.url }}{{ post.url }}</link> 27 <pubDate>{{ post.date | date_to_rfc822 }}</pubDate> 28 <guid isPermaLink="true">https://bmannconsulting.com{{ post.url }}</guid> 29 </item> 30 {% assign blogcount = blogcount | plus: 1 %} 31 {% elsif blogcount >= feed_items %} 32 {% break %} 33 {% endif %} 34 {% endfor %} 35 </channel> 36</rss>