mirror of
https://github.com/YunoHost/apps.git
synced 2024-09-03 20:06:07 +02:00
Make RSS feed valid (#2338)
This commit is contained in:
parent
81909ed9fe
commit
b37c463c60
1 changed files with 5 additions and 5 deletions
|
@ -9,17 +9,17 @@
|
|||
>
|
||||
<channel>
|
||||
<title>YunoHost apps catalog News</title>
|
||||
<link>{{ url_for('news_rss')}}</link>
|
||||
<atom:link href="{{ url_for('news_rss')}}" rel="self" type="application/rss+xml" />
|
||||
<link>{{ url_for('news_rss', _external=True)}}</link>
|
||||
<atom:link href="{{ url_for('news_rss', _external=True)}}" rel="self" type="application/rss+xml" />
|
||||
<description>YunoHost apps catalog news</description>
|
||||
{%- for date, news in news_per_date.items() %}
|
||||
{%- for status in ("added", "repaired", "broke", "removed") %}i
|
||||
{%- for status in ("added", "repaired", "broke", "removed") %}
|
||||
{%- for app, url in news[status] %}
|
||||
{% set manifest = catalog["apps"][app]["manifest"] %}
|
||||
<item>
|
||||
<title>[{{ status|capitalize }}] {{ manifest['name'] }}</title>
|
||||
<link>{{ url_for('app_info', app_id=app) }}</link>
|
||||
<guid>{{ app }}#{{ date|format_datetime("%Y%m%d") }}</guid>
|
||||
<link>{{ url_for('app_info', app_id=app, _external=True) }}</link>
|
||||
<guid isPermaLink="false">{{ app }}#{{ date|format_datetime("%Y%m%d") }}</guid>
|
||||
<pubDate>{{ date|format_datetime("%a, %d %b %Y %H:%M:%S +0000") }}</pubDate>
|
||||
<description>{{ manifest["description"].get("en") }}</description>
|
||||
<content:encoded>{{ manifest["description"].get("en") }}</content:encoded>
|
||||
|
|
Loading…
Add table
Reference in a new issue