/dev/trunk

To get this branch, use:
bzr branch http://darksoft.org/webbzr/dev/trunk

« back to all changes in this revision

Viewing changes to services/format.php

  • Committer: Suren A. Chilingaryan
  • Date: 2008-04-02 10:23:22 UTC
  • Revision ID: csa@dside.dyndns.org-20080402102322-okib92sicg2dx3o3
Initial import

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?php
 
2
require("../config.php");
 
3
 
 
4
header("Content-type: text/xml");
 
5
header("Cache-Control: no-cache, must-revalidate");
 
6
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
 
7
 
 
8
echo "<?xml version=\"1.0\"?>\n";
 
9
echo "<result>";
 
10
foreach ($EXPORT_FORMATS as $id => $val) {
 
11
    echo "<Value value=\"$id\" name=\"" . $val['title'] . "\"/>";
 
12
}
 
13
echo "</result>";
 
14
 
 
15
?>
 
 
b'\\ No newline at end of file'