]> git.wh0rd.org Git - tt-rss.git/commitdiff
misc export tweaks
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Tue, 27 Dec 2011 14:11:21 +0000 (18:11 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Tue, 27 Dec 2011 14:11:21 +0000 (18:11 +0400)
opml.php

index 103ec0ba617772e15f2cd6b30c32e54e71c071cb..2190b5652618d3ebc5f0b066aff15b24f9323596 100644 (file)
--- a/opml.php
+++ b/opml.php
 
                        print "</outline>";
 
-                       print "<outline title=\"tt-rss-labels\">";
+                       print "<outline title=\"tt-rss-labels\" schema-version=\"".SCHEMA_VERSION."\">";
 
                        $result = db_query($link, "SELECT * FROM ttrss_labels2 WHERE
                                owner_uid = " . $_SESSION['uid']);
 
                        print "</outline>";
 
-                       print "<outline title=\"tt-rss-filters\">";
+                       print "<outline title=\"tt-rss-filters\" schema-version=\"".SCHEMA_VERSION."\">";
 
                        $result = db_query($link, "SELECT filter_type,
                                        reg_exp,
                                        inverse,
                                        filter_param,
                                        cat_filter,
-                                       ttrss_feeds.title AS feed_title,
+                                       ttrss_feeds.feed_url AS feed_url,
                                        ttrss_feed_categories.title AS cat_title
                                        FROM ttrss_filters
                                                LEFT JOIN ttrss_feeds ON (feed_id = ttrss_feeds.id)