From 9be813d66890504a2378f46b40f2f321142764f8 Mon Sep 17 00:00:00 2001 From: Mitsukarenai Date: Sat, 23 Feb 2013 17:38:10 +0100 Subject: [PATCH] =?UTF-8?q?=09modified:=20=20=200.3/autoblog.php=20-=20con?= =?UTF-8?q?fig=20OPML=20(comment=C3=A9)=20TODO?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 0.3/autoblog.php | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/0.3/autoblog.php b/0.3/autoblog.php index 071689f..e45c2a5 100755 --- a/0.3/autoblog.php +++ b/0.3/autoblog.php @@ -589,6 +589,26 @@ if (isset($_GET['feed'])) // FEED exit; } +/*if (isset($_GET['opml'])) // OPML +{ + header('Content-Type: application/octet-stream'); + header('Content-Disposition: attachment; filename="'.escape($config->site_title).'.xml"'); +echo ' + + + '.escape($config->site_title).'.xml + '.date('r', time()).' + + + + + + + +'; + exit; +}*/ + if (isset($_GET['media'])) // MEDIA { header('Content-Type: application/json');