mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2026-03-31 17:15:38 +00:00
implement recent uploads RSS
This commit is contained in:
parent
7c28eaadd2
commit
643d643f46
5 changed files with 102 additions and 4 deletions
|
|
@ -2,6 +2,6 @@
|
|||
<title>{{ 'undefined event' | trans }} {{ 'by' | trans }} #{{ user.id }}</title>
|
||||
<author>#{{ user.id }}</author>
|
||||
<pubDate>{{ added | date('D, d M Y h:i:s O') }}</pubDate>
|
||||
<guid>{{ path('user_info', { userId : user.id }) }}#activity-{{ id }}</guid>
|
||||
<link>{{ path('user_info', { userId : user.id }) }}#activity</link>
|
||||
<guid>{{ url('user_info', { userId : user.id }) }}#activity-{{ id }}</guid>
|
||||
<link>{{ url('user_info', { userId : user.id }) }}#activity</link>
|
||||
</item>
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
|
||||
<channel>
|
||||
<atom:link href="{{ url('torrent_recent') }}" rel="self" type="application/rss+xml"></atom:link>
|
||||
<title>{{ name }}</title>
|
||||
<title>{{ name }} - {{ 'Activity' | trans }}</title>
|
||||
<link>{{ url('torrent_recent') }}</link>
|
||||
{% for activity in activities %}
|
||||
{{ render(controller(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue