add alink47 submodule

This commit is contained in:
Sakrecoer 2023-12-07 00:49:33 +01:00
parent cac102df59
commit 1626c14dd3
3 changed files with 30 additions and 0 deletions

3
.gitmodules vendored
View file

@ -1,3 +1,6 @@
[submodule "_data/wim"]
path = _data/wim
url = https://git.basspistol.org/hq/women-in-music.git
[submodule "_data/alink47"]
path = _data/alink47
url = https://git.basspistol.org/hq/AlinK-47

1
_data/alink47 Submodule

@ -0,0 +1 @@
Subproject commit d9168eac2f99dd2a14b5c218d6330efaea7d77e5

26
alink47.xml Normal file
View file

@ -0,0 +1,26 @@
---
---
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
>
<channel>
<title>{{ site.title | xml_escape }}</title>
<description>{% if site.description %}{{ site.description | xml_escape }}{% endif %}</description>
<sy:updatePeriod>{{ site.feed_update_period | default: "daily" | xml_escape }}</sy:updatePeriod>
<sy:updateFrequency>{{ site.feed_update_frequency | default: 1 | xml_escape }}</sy:updateFrequency>
<link>{{ site.url }}/wim.xml</link>
<atom:link href="{{ site.url }}/{{ page.path }}" rel="self" type="application/rss+xml" />
<lastBuildDate>{{ site.time | date_to_rfc822 }}</lastBuildDate>
{% assign feed_items = site.feed_items | default: 10 %}{% for post in site.data.alink47.alink47 reversed %}{% assign sitetimexml = site.time | date: "%s" %}{% assign now = post.date | date: "%s" %}{% if now <= sitetimexml %}
<item>
<title>{{ post.name | xml_escape }}</title>
<description>{{ post.content | xml_escape }}</description>
<pubDate>{{ post.date | date_to_rfc822 }}</pubDate>
<link>{{ post.link }}</link>
<guid isPermaLink="false">{{ now }}</guid>
</item>{% endif %}{% endfor %}
</channel>
</rss>