<?php
@ini_set( "default_charset", "utf-8" );
header( 'Expires: Mon, 26 Jul 1997 05:00:00 GMT' );
header( 'Last-Modified: ' . gmdate( 'D, d M Y H:i:s' ) . ' GMT' );
header( 'Cache-Control: no-store, no-cache, must-revalidate' );
header( 'Cache-Control: post-check=0, pre-check=0', false );
header( 'Pragma: no-cache' );
header('Content-type: text/xml; charset=utf-8');
?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>

<title><?if(hun()):?> ARCHLine.XP - Friss hírek<?else:?>ARCHLine.XP News<?endif;?></title>
<description> </description>
<link>http://cadline.hu/</link>
    <language>hu</language>
    <copyright>Copyright</copyright>
    <generator>RSS</generator>
    <ttl>5</ttl>
    <pubDate><?php echo gmdate( 'D, d M Y H:i:s' ) . ' GMT';?></pubDate>
<lastBuildDate><?php echo gmdate( 'D, d M Y H:i:s' ) . ' GMT';?></lastBuildDate>
	<?/*<atom:link href="http://<?=$_SERVER['SERVER_NAME']?>/rss/" rel="self" type="application/rss+xml" />*/?>


<?if($hirek_lista):?>
<?foreach($hirek_lista as $hir):?>
	<item>
        <title><?=$hir->title?></title>
        <description><?=$hir->short?></description>
        <pubDate><?=$hir->datum?></pubDate>
        <author><?if(hun()):?>info@cadline.hu (CadLine Kft.)<?else:?>info@archlinexp.com (CadLine Ltd.)<?endif;?></author>
        <link><?=$hir->url?></link>
        <guid><?=$hir->url?></guid>
        <source url="<?=$hir->url?>"><?=$hir->title?></source>
    </item>
<?endforeach;?>
<?endif;?>

</channel>
</rss>
