From: Andrew Dolgov Date: Wed, 30 Nov 2005 14:22:05 +0000 (+0100) Subject: xml-export: improved interface, fixes X-Git-Tag: schema_feature_freeze_for_1.1~15 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=618f424e8f20db158df9ba2e032d9c819864fd91;p=tt-rss.git xml-export: improved interface, fixes --- diff --git a/xml-export.php b/xml-export.php index c97b964f..f1100d39 100644 --- a/xml-export.php +++ b/xml-export.php @@ -7,11 +7,26 @@ require_once "functions.php"; require_once "db.php"; - define('SCHEMA_VERSION', 1); - - header("Content-Type: application/xml"); + if ($_GET["export"]) { + header("Content-Type: application/xml"); + } ?> + + + + +

XML Export

+
+ Export only starred
+ Export only unread
+

+
+ + + + + Source database schema is invalid (got version $schema_version; expected ".SCHEMA_VERSION.")"; print ""; return; - } + } */ print "$schema_version"; -?> + if ($schema_version > 1) { + $owner_uid = $_SESSION["uid"]; + print "$owner_uid"; + } - + print "" . time() . ""; +?> Source database schema is invalid + (got version $schema_version)"; + } + + print "" . db_num_rows($result) . ""; + +?> + + + +"; foreach (array_keys($line) as $key) { + $line[$key] = str_replace("", "", $line[$key]); + print "<$key>"; } @@ -81,3 +149,5 @@ + +