Browse Source

update message title format in rss

main 1.0.3
ghost 12 months ago
parent
commit
a5fa269d70
  1. 2
      .env
  2. 2
      templates/default/room/index.rss.twig

2
.env

@ -19,7 +19,7 @@ APP_ENV=dev
APP_SECRET=EDIT_ME APP_SECRET=EDIT_ME
###< symfony/framework-bundle ### ###< symfony/framework-bundle ###
APP_VERSION=1.0.2 APP_VERSION=1.0.3
APP_NAME=KevaChat APP_NAME=KevaChat

2
templates/default/room/index.rss.twig

@ -6,7 +6,7 @@
<link>{{ url('room_namespace', { namespace : request.get('namespace') }) }}</link> <link>{{ url('room_namespace', { namespace : request.get('namespace') }) }}</link>
{% for post in feed %} {% for post in feed %}
<item> <item>
<title>@{{ post.user }}</title> <title>#{{ post.id }}</title>
<author>@{{ post.user }}</author> <author>@{{ post.user }}</author>
<pubDate>{{ post.timestamp | date('D, d M Y h:i:s O') }}</pubDate> <pubDate>{{ post.timestamp | date('D, d M Y h:i:s O') }}</pubDate>
<guid>{{ url('room_namespace', { namespace : request.get('namespace') }) }}#{{ post.id }}</guid> <guid>{{ url('room_namespace', { namespace : request.get('namespace') }) }}#{{ post.id }}</guid>

Loading…
Cancel
Save