From 9a4506c87de04bcde0d6da3da7c289f58d69312b Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 2 Sep 2005 11:18:45 +0100 Subject: OPML export --- opml.php | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 opml.php (limited to 'opml.php') diff --git a/opml.php b/opml.php new file mode 100644 index 000000000..05ad1943c --- /dev/null +++ b/opml.php @@ -0,0 +1,34 @@ +"; + print ""; + print "" . date("r", time()) . ""; + print ""; + + $result = pg_query("SELECT * FROM ttrss_feeds ORDER BY title"); + + while ($line = pg_fetch_assoc($result)) { + $title = $line["title"]; + $url = $line["feed_url"]; + + print ""; + } + + print ""; + } + +?> -- cgit v1.2.3-54-g00ecf