Location: PHPKode > projects > NodbForum > 0.1 Alfa/klip.php
<?php 
#############################################################################################
#																																														#
#																					NodbForum																					#
#																																														#
#					NodbForum is based on EasyForum developed by Host-Tings.		 											#
#					This program is distributed under the GPL license. Please read this for 					#
#					obtain more information.																													#
#																																														#
#		NodbForum is created, maintained and Copyright Guillermo Espert Carrasquer (el-eles)		#
#																																														#
#############################################################################################

include "global.php";
$encoding = explode(":",$lang[1]);
$url = str_replace("klip.php","","$SERVER_NAME$SCRIPT_NAME");
$forum_name[$f] = strip_tags($forum_name[$f]);
$forum_desc[$f] = strip_tags($forum_desc[$f]);

header("Content-Disposition: attachment; filename=forum-$f.klip");
header("Content-Type: application/download");
?>
<klip>

<owner>
<author><?php echo $SERVER_NAME;?></author>
<copyright><?php echo $SERVER_NAME;?></copyright>
<email><?php echo 'info@'.$SERVER_NAME;?></email>
<web><?php echo $SERVER_NAME;?></web>
</owner>

<identity>
<title><?php echo $forum_name[$f];?></title>
<version>1.0</version>		
<lastmodified><?php echo date('Y.m.d:Hi');?></lastmodified>
<description><?php echo $forum_desc[$f];?></description>
</identity>
	
<locations>
<defaultlink><?php echo 'http://'.$url;?></defaultlink>
<contentsource><?php echo 'http://'.$url.'rdf.php?f='.$f;?></contentsource>
<icon><?php echo 'http://'.$url.'pics/b1.gif';?></icon>
<kliplocation><?php echo 'http://'.$url.'klip.php?f='.$f;?></kliplocation>	
</locations>
	
<setup>
<refresh>15</refresh>
<language><?php echo $encoding[1];?></language>
</setup>

<messages>
<loading>Obteniendo Contenidos...</loading>
<nodata>No hay datos para mostrar.</nodata>
</messages>

</klip>
Return current item: NodbForum