Browse Source

fix guid

main
ghost 10 months ago
parent
commit
a519fee8e9
  1. 2
      templates/default/rss/online.xml.twig
  2. 4
      templates/default/rss/players.xml.twig

2
templates/default/rss/online.xml.twig

@ -7,7 +7,7 @@ @@ -7,7 +7,7 @@
{% for value in online %}
<item>
<title>{{ 'Online changed!' | trans }}</title>
<guid>{{ value.id }}</guid>
<guid>online#{{ value.id }}</guid>
<description>
{{ 'Players' | trans }}: {{ value.players }}
{{ 'Bots' | trans }}: {{ value.bots }}

4
templates/default/rss/players.xml.twig

@ -6,8 +6,8 @@ @@ -6,8 +6,8 @@
<link>{{ url('main_index') }}</link>
{% for player in players %}
<item>
<title>{{ player.name }} {{ 'joined game!' | trans }}</title>
<guid>{{ player.id }}</guid>
<title>{{ player.name }} {{ 'joined' | trans }} {{ app.name }}!</title>
<guid>player#{{ player.id }}</guid>
<pubDate>{{ player.joined | date("D, d M Y h:i:s O") }}</pubDate>
</item>
{% endfor %}

Loading…
Cancel
Save