Ejemplo n.º 1
0
<?php

require_once dirname(__FILE__) . '/app/lib/base.php';
$horde_apps_stable = HordeWeb_Utils::getStableApps();
header('Content-Type: text/xml');
echo '<?xml version="1.0"?>';
?>
<versions>
 <stable>
<?php 
foreach ($horde_apps_stable as $info) {
    ?>
  <application name="<?php 
    echo $info['application'];
    ?>
">
    <version><?php 
    echo $info['version'];
    ?>
</version>
    <url><?php 
    echo htmlspecialchars(HordeWeb_Utils::app_download_url($info['application'], $info));
    ?>
</url>
  </application>
<?php 
}
?>
 </stable>
</versions>