Exemple #1
0
<?php

header('Content-type: application/atom+xml');
require_once '../../configuration/configure.php';
import('blargon.util.Atom');
$atom = new Atom();
echo '<?xml version="1.0" encoding="utf-8"?>';
?>
<feed xmlns="http://purl.org/atom/ns#draft-ietf-atompub-format-09">
	<title type="text"><?php 
echo $atom->getSiteName();
?>
</title>
	<subtitle type="html"><?php 
echo $atom->getSubTitle();
?>
</subtitle>
	<updated><?php 
echo $atom->getUpdated();
?>
</updated>
	<id><?php 
echo $atom->getId();
?>
</id>
	<link rel="alternate" type="text/html" hreflang="en" href="<?php 
echo $atom->getAlternateLink();
?>
"/>
	<rights><?php 
echo $atom->getRights();