mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-09-01 02:38:55 +00:00
29 lines
1.3 KiB
Smarty
Executable File
29 lines
1.3 KiB
Smarty
Executable File
<?xml version="1.0" encoding="utf-8"?>
|
|
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:newznab="{$serverroot}rss-info/">
|
|
<channel>
|
|
<atom:link href="{$serverroot}{$smarty.server.REQUEST_URI|escape:"htmlall"|substr:1}" rel="self"
|
|
type="application/rss+xml"/>
|
|
<title>{$site->title|escape}</title>
|
|
<description>{$site->title|escape} Nzb Feed</description>
|
|
<link>{$serverroot}</link>
|
|
<language>en-gb</language>
|
|
<webMaster>{$site->email} ({$site->title|escape})</webMaster>
|
|
<category>{$site->meta_keywords}</category>
|
|
<image>
|
|
<url>{$serverroot}assets/images/tmux_logo.png</url>
|
|
<title>{$site->title|escape}</title>
|
|
<link>{$serverroot}</link>
|
|
<description>Visit {$site->title|escape} - {$site->strapline|escape}</description>
|
|
</image>
|
|
<item>
|
|
<title>{$release.searchname|escape:"htmlall"}</title>
|
|
<guid isPermaLink="true">{$serverroot}details/{$release.guid}</guid>
|
|
<link>{$serverroot}nfo/{$release.guid}</link>
|
|
<pubDate>{$release.postdate|phpdate_format:"DATE_RSS"}</pubDate>
|
|
<description>{$nfoutf|escape:"htmlall"}</description>
|
|
<enclosure url="{$serverroot}api?t=getnfo&id={$release.guid}&raw=1&i={$uid}&api_token={$rsstoken}"
|
|
length="{$nfoutf|count_characters:true}" type="text/x-nfo"/>
|
|
</item>
|
|
</channel>
|
|
</rss>
|