30 lines
1.3 KiB
Smarty
Executable File
30 lines
1.3 KiB
Smarty
Executable File
<?xml version="1.0" encoding="utf-8"?>
|
|
<rss version="2.0">
|
|
<channel>
|
|
<title><![CDATA[{l s='Upcoming sales on' mod='privatesales'} {$shop_name|escape:html:'UTF-8'}]]></title>
|
|
<lastBuildDate>{$date}</lastBuildDate>
|
|
<link>{$base_dir_ssl}</link>
|
|
<language>{$language}</language>
|
|
|
|
{foreach $sales as $sale}
|
|
<item>
|
|
<title><![CDATA[{$sale->title[$lang]|escape:html:'UTF-8'}]]></title>
|
|
<description><![CDATA[
|
|
<div class="module-flux-rss">
|
|
<img src="{$base_dir}modules/privatesales/{$path}img/{$sale->id}/thumb_{$cookie->id_lang}.jpg" alt="{$sale->title[$lang]|escape:html:'UTF-8'}" />
|
|
<div class="module-flux-rss-text">
|
|
<h2>{$sale->title[$lang]|escape:html:'UTF-8'}</h2>
|
|
<p>{l s='To' mod='privatesales'} {$sale->date_end|date_format:'%A %e %b %H:%M'}</p>
|
|
</div>
|
|
</div>
|
|
]]></description>
|
|
<pubDate>{$sale->date_upd|strtotime|date_format:'Y-m-d\TH:i:sP'}</pubDate>
|
|
<link>{$base_dir_ssl}{if $rewriting}{$base_url}/{$sale->id}-{$sale->title[$lang]|str2url}{else}modules/privatesales/trailer.php?id_sale={$sale->id}{/if}</link>
|
|
<guid>{$base_dir_ssl}{if $rewriting}{$base_url}/{$sale->id}-{$sale->title[$lang]|str2url}{else}modules/privatesales/trailer.php?id_sale={$sale->id}{/if}</guid>
|
|
</item>
|
|
{/foreach}
|
|
</channel>
|
|
</rss>
|
|
|
|
|