greenshot/project-feed.xml

25 lines
1.3 KiB
XML

---
permalink: project-feed/
---
<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Greenshot</title>
<link>https://getgreenshot.org</link>
<description>Greenshot update feed</description>
{% assign sorted-releases2 = site.github.releases | where: "draft", "false" | where: "prerelease", "false" %}
{% for release in sorted-releases2 limit:1 %}{% for asset in release.assets %}{% if asset.name contains 'Greenshot-INSTALLER' and asset.name contains 'RELEASE'%}<item>
<title>{{asset.name}}</title>
<link>{{asset.browser_download_url}}</link>
<pubDate>{{asset.created_at | date_to_rfc822}}</pubDate>
<description>{{asset.label}}</description>
</item>{% endif %}{% endfor %}{% endfor %}
{% assign sorted-releases = site.github.releases | where: "draft", "false" | where: "prerelease", "false" %}
{% for release in sorted-releases limit:1 %}{% for asset in release.assets %}{% if asset.name contains 'Greenshot-INSTALLER' and asset.name contains 'RELEASE'%}<item>
<title>{{asset.name}}</title>
<link>http://sourceforge/projects/greenshot/files/release/Greenshot/{{asset.name}}/download</link>
<pubDate>{{asset.created_at | date_to_rfc822}}</pubDate>
<description>{{asset.label}}</description>
</item>{% endif %}{% endfor %}{% endfor %}
</channel>
</rss>