18
18
<lastBuildDate >{{ now ()-> toRssString () } } </lastBuildDate >
19
19
<ttl >5</ttl >
20
20
@if ($torrents )
21
- @foreach ($torrents as $data )
21
+ @foreach ($torrents as $torrent )
22
22
<item >
23
- <title >{{ $data -> name } } </title >
24
- <category >{{ $data -> category -> name } } </category >
25
- <link >{{ route (' torrent.download.rsskey' , [' id' => $data -> id , ' rsskey' => $user -> rsskey ]) } } </link >
26
- <guid >{{ $data -> id } } </guid >
23
+ <title >{{ $torrent -> name } } </title >
24
+ <category >{{ $torrent -> category -> name } } </category >
25
+ <contentlength >{{ $torrent -> size } } </contentlength >
26
+ <link >{{ route (' torrent.download.rsskey' , [' id' => $torrent -> id , ' rsskey' => $user -> rsskey ]) } } </link >
27
+ <guid >{{ $torrent -> id } } </guid >
27
28
<description >
28
29
<![CDATA[<p>
29
- <strong>Name</strong>: {{ $data -> name } } <br>
30
- <strong>Category</strong>: {{ $data -> category -> name } } <br>
31
- <strong>Type</strong>: {{ $data -> type -> name } } <br>
32
- <strong>Resolution</strong>: {{ $data -> resolution -> name ?? ' No Res' } } <br>
33
- <strong>Size</strong>: {{ $data -> getSize () } } <br>
34
- <strong>Uploaded</strong>: {{ $data -> created_at -> diffForHumans () } } <br>
35
- <strong>Seeders</strong>: {{ $data -> seeders } } |
36
- <strong>Leechers</strong>: {{ $data -> leechers } } |
37
- <strong>Completed</strong>: {{ $data -> times_completed } } <br>
30
+ <strong>Name</strong>: {{ $torrent -> name } } <br>
31
+ <strong>Category</strong>: {{ $torrent -> category -> name } } <br>
32
+ <strong>Type</strong>: {{ $torrent -> type -> name } } <br>
33
+ <strong>Resolution</strong>: {{ $torrent -> resolution -> name ?? ' No Res' } } <br>
34
+ <strong>Size</strong>: {{ $torrent -> getSize () } } <br>
35
+ <strong>Uploaded</strong>: {{ $torrent -> created_at -> diffForHumans () } } <br>
36
+ <strong>Seeders</strong>: {{ $torrent -> seeders } } |
37
+ <strong>Leechers</strong>: {{ $torrent -> leechers } } |
38
+ <strong>Completed</strong>: {{ $torrent -> times_completed } } <br>
38
39
<strong>Uploader</strong>:
39
- @if (! $data -> anon && $data -> user )
40
- {{ __ (' torrent.uploaded-by' ) } } {{ $data -> user -> username } }
40
+ @if (! $torrent -> anon && $torrent -> user )
41
+ {{ __ (' torrent.uploaded-by' ) } } {{ $torrent -> user -> username } }
41
42
@else
42
43
{{ __ (' common.anonymous' ) } } {{ __ (' torrent.uploader' ) } }
43
44
@endif <br>
44
- @if (($data -> category -> movie_meta || $data -> category -> tv_meta ) && $data -> imdb != 0 )
45
- IMDB Link:<a href="https://anon.to?http://www.imdb.com/title/tt{{ $data -> imdb } } "
46
- target="_blank">tt{{ $data -> imdb } } </a><br>
45
+ @if (($torrent -> category -> movie_meta || $torrent -> category -> tv_meta ) && $torrent -> imdb != 0 )
46
+ IMDB Link:<a href="https://anon.to?http://www.imdb.com/title/tt{{ $torrent -> imdb } } "
47
+ target="_blank">tt{{ $torrent -> imdb } } </a><br>
47
48
@endif
48
- @if ($data -> category -> movie_meta && $data -> tmdb != 0 )
49
- TMDB Link: <a href="https://anon.to?https://www.themoviedb.org/movie/{{ $data -> tmdb } } "
50
- target="_blank">{{ $data -> tmdb } } </a><br>
51
- @elseif ($data -> category -> tv_meta && $data -> tmdb != 0 )
52
- TMDB Link: <a href="https://anon.to?https://www.themoviedb.org/tv/{{ $data -> tmdb } } "
53
- target="_blank">{{ $data -> tmdb } } </a><br>
49
+ @if ($torrent -> category -> movie_meta && $torrent -> tmdb != 0 )
50
+ TMDB Link: <a href="https://anon.to?https://www.themoviedb.org/movie/{{ $torrent -> tmdb } } "
51
+ target="_blank">{{ $torrent -> tmdb } } </a><br>
52
+ @elseif ($torrent -> category -> tv_meta && $torrent -> tmdb != 0 )
53
+ TMDB Link: <a href="https://anon.to?https://www.themoviedb.org/tv/{{ $torrent -> tmdb } } "
54
+ target="_blank">{{ $torrent -> tmdb } } </a><br>
54
55
@endif
55
- @if (($data -> category -> tv_meta ) && $data -> tvdb != 0 )
56
- TVDB Link:<a href="https://anon.to?https://www.thetvdb.com/?tab=series&id={{ $data -> tvdb } } "
57
- target="_blank">{{ $data -> tvdb } } </a><br>
56
+ @if (($torrent -> category -> tv_meta ) && $torrent -> tvdb != 0 )
57
+ TVDB Link:<a href="https://anon.to?https://www.thetvdb.com/?tab=series&id={{ $torrent -> tvdb } } "
58
+ target="_blank">{{ $torrent -> tvdb } } </a><br>
58
59
@endif
59
- @if (($data -> category -> movie_meta || $data -> category -> tv_meta ) && $data -> mal != 0 )
60
- MAL Link:<a href="https://anon.to?https://myanimelist.net/anime/{{ $data -> mal } } "
61
- target="_blank">{{ $data -> mal } } </a><br>
60
+ @if (($torrent -> category -> movie_meta || $torrent -> category -> tv_meta ) && $torrent -> mal != 0 )
61
+ MAL Link:<a href="https://anon.to?https://myanimelist.net/anime/{{ $torrent -> mal } } "
62
+ target="_blank">{{ $torrent -> mal } } </a><br>
62
63
@endif
63
- @if ($data -> internal == 1 )
64
+ @if ($torrent -> internal == 1 )
64
65
<comments>This is a high quality internal release!</comments>
65
66
@endif
66
67
</p>]] >
67
68
</description >
68
69
<dc:creator xmlns:dc =" http://purl.org/dc/elements/1.1/" >
69
- @if (! $data -> anon && $data -> user )
70
- {{ __ (' torrent.uploaded-by' ) } } {{ $data -> user -> username } }
70
+ @if (! $torrent -> anon && $torrent -> user )
71
+ {{ __ (' torrent.uploaded-by' ) } } {{ $torrent -> user -> username } }
71
72
@else
72
73
{{ __ (' common.anonymous' ) } } {{ __ (' torrent.uploader' ) } }
73
74
@endif
74
75
</dc:creator >
75
- <pubDate >{{ $data -> created_at -> toRssString () } } </pubDate >
76
+ <pubDate >{{ $torrent -> created_at -> toRssString () } } </pubDate >
76
77
</item >
77
78
@endforeach
78
79
@endif
79
80
</channel >
80
- </rss >
81
+ </rss >
0 commit comments