20 lines
1.1 KiB
Smarty
Raw Normal View History

2016-01-04 12:48:08 +01:00
<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title><![CDATA[{l s='Upcoming sales on' mod='privatesales' js=1} {$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[{if strpos($sale->description[$cookie->id_lang], 'Ã')!==false}{$sale->description[$cookie->id_lang]|utf8_decode}{else}{$sale->description[$cookie->id_lang]}{/if}{if isset($HOOK_PRIVATESALES_LISTING_ITEM[$sale->id])}{$HOOK_PRIVATESALES_LISTING_ITEM[$sale->id]}{/if}]]></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>