{*********************************************************
* Copyright (c) 2009 PHPLDTemplates.com
* Theme Author: http://www.PHPLDTemplates.com
* Theme URL: http://www.phpldtemplates.com/2009/07/free-phpld-template-dbs-3/
* 
* Report bug: Please email contact @ PHPLDTemplates.com
* License: Free, provided user keeps the footer links intake. Not to be resold.
* More free phpld templates are available at http://www.PHPLDTemplates.com
* 
**********************************************************}
<?xml version="1.0" encoding="UTF-8"?>
{strip}
<rss version="2.0">
 <channel>
		<title>{$smarty.const.DIRECTORY_TITLE}{$title|trim}</title>
		<link>{$url}</link>
		<description>{$smarty.const.SITE_DESC} {$description|trim}</description>
		{foreach from=$links item=link}
			<item>
        		<title>{$link.TITLE|trim}</title>
   {if $lart == 1} <link>{$url}{if $smarty.const.ENABLE_REWRITE}/{$link.SEO_URL1}{else}article.php?id={$link.ID}{/if}</link>{elseif $smarty.const.INTERNAL_RSS}
	   <link>{$url}{if $smarty.const.ENABLE_REWRITE}/{$link.SEO_URL}{else}detail.php?id={$link.ID}{/if}</link>{else} <link> {$link.URL}</link>{/if}			
	        	{if $link.DESCRIPTION}
	        	<description>{$link.DESCRIPTION|trim}</description>
	        	{/if}
	        	<pubDate>{$link.DATE_ADDED|date_format:"%a, %d %b %Y %H:%M:%S GMT"}</pubDate>
	        </item>
        {/foreach}
	
	</channel>
</rss>
{/strip}