addapt xml content to it's purpose

This commit is contained in:
Sakrecoer 2023-12-07 00:55:49 +01:00
parent 1626c14dd3
commit 01c9fa7663

View file

@ -7,11 +7,11 @@
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
> >
<channel> <channel>
<title>{{ site.title | xml_escape }}</title> <title>LinkPistol</title>
<description>{% if site.description %}{{ site.description | xml_escape }}{% endif %}</description> <description>Blasting out the good stuff, one link at the time</description>
<sy:updatePeriod>{{ site.feed_update_period | default: "daily" | xml_escape }}</sy:updatePeriod> <sy:updatePeriod>{{ site.feed_update_period | default: "daily" | xml_escape }}</sy:updatePeriod>
<sy:updateFrequency>{{ site.feed_update_frequency | default: 1 | xml_escape }}</sy:updateFrequency> <sy:updateFrequency>6</sy:updateFrequency>
<link>{{ site.url }}/wim.xml</link> <link>{{ site.url }}/alink47.xml</link>
<atom:link href="{{ site.url }}/{{ page.path }}" rel="self" type="application/rss+xml" /> <atom:link href="{{ site.url }}/{{ page.path }}" rel="self" type="application/rss+xml" />
<lastBuildDate>{{ site.time | date_to_rfc822 }}</lastBuildDate> <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 %} {% 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 %}