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 }} - Journal Feed</title>
11 <description>A journal feed built for Fedica to cross-post, Mastodon flavoured with hashtags</description>{% comment %} See https://bmannconsulting.com/notes/fedica/ for cross-posting rules {% endcomment %}
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 sortedblog = site.journals | sort: 'date' | reverse %}
16 {% for post in sortedblog limit:20 %}
17 <item>
18 <dc:creator>Boris Mann</dc:creator>
19 {% comment %} Capture: we loop through all of the tags and make a list of hashtags separated by spaces {% endcomment %}
20 {% capture taglist %}{% for tag in post.tags %} #{{ tag }}{% endfor %}{% endcapture %}
21 {% if post.excerpt %}
22 {% assign description = post.excerpt | markdownify | append: taglist %}
23 {% else %}
24 {% assign description = post.content | append: taglist %}
25 {% endif %}
26 <description>{{ description | xml_escape | replace: 'src="/', 'src="https://bmannconsulting.com/' | replace: 'href="/', 'href="https://bmannconsulting.com/' }}</description>
27 {% if post.link %}
28 <link>{{ post.link | xml_escape }}</link>
29 {% else %}
30 <link>{{ site.url }}{{ post.url }}</link>
31 {% endif %}
32 {% comment %} somewhere we need to parse out all the image tags and add them as enclosures {% endcomment %}
33 <pubDate>{{ post.date | date_to_rfc822 }}</pubDate>
34 <guid isPermaLink="true">https://bmannconsulting.com{{ post.url }}</guid>
35 </item>
36 {% endfor %}
37 </channel>
38</rss>