]> git.wh0rd.org - tt-rss.git/blobdiff - utils/xml-export.php
add ttrss_entries.date_updated; use date_updated instead of date_enered for expiry...
[tt-rss.git] / utils / xml-export.php
index a10c9e3dea6de9631432b09f4b5acbb63d9aeb7a..6926fd6c2f17bef379cebd800d6eaef73e42de71 100644 (file)
@@ -1,5 +1,5 @@
 <?
-       session_start();
+       require_once "sessions.php";
 
        define('MAX_SCHEMA_VERSION', 5);
 
@@ -97,7 +97,7 @@
                                updated,
                                guid,
                                link,
-                               SUBSTRING(date_entered,1,16) AS date_entered,
+                               SUBSTRING(date_updated,1,16) AS date_updated,
                                SUBSTRING(last_read,1,16) AS last_read, 
                                comments,
                                ttrss_feeds.feed_url AS feed_url,
                                updated,
                                guid,
                                link,
-                               SUBSTRING(date_entered,1,16) AS date_entered,
+                               SUBSTRING(date_updated,1,16) AS date_updated,
                                SUBSTRING(last_read,1,16) AS last_read, 
                                comments,
                                ttrss_feeds.feed_url AS feed_url,