Example #1
0
require_once '../../configuration/configure.php';
import('blargon.util.Atom');
$atom = new Atom();
echo '<?xml version="1.0" encoding="utf-8"?' . '>';
?>
<feed version="0.3" xml:lang="en-US" xmlns="http://purl.org/atom/ns#">
	<title><?php 
echo $atom->getSiteName();
?>
</title>
	<link rel="alternate" type="text/html" href="<?php 
echo $atom->getAlternateLink();
?>
" />
	<tagline><?php 
echo $atom->getDescription();
?>
</tagline>
	<generator url="<?php 
echo $atom->getBlargonUrl();
?>
" version="<?php 
echo $atom->getBlargonVersion();
?>
">Blargon</generator>
	<modified></modified>
	<? while( false !== ( $entry = $atom->getNextPost() ) ) { ?>
	<entry>
		<title type="text/plain" mode="xml"><?php 
echo $entry->getTitle();
?>