From 5a427dcee3ca9bce3fcb5de6a67292a405ee6736 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Thu, 21 Apr 2016 20:14:55 -0700 Subject: No idea how long RSD (Really Simple Discovery) has been broken. I had no idea it was even here. --- Zotlabs/Module/Rsd_xml.php | 30 +++++++++--------------------- 1 file changed, 9 insertions(+), 21 deletions(-) (limited to 'Zotlabs/Module') diff --git a/Zotlabs/Module/Rsd_xml.php b/Zotlabs/Module/Rsd_xml.php index 114ecc49b..06af39ad1 100644 --- a/Zotlabs/Module/Rsd_xml.php +++ b/Zotlabs/Module/Rsd_xml.php @@ -1,29 +1,17 @@ - - - Red - http://friendica.com/ - - - - http://status.net/wiki/TwitterCompatibleAPI - false - - - - - - '; - die(); + echo replace_macros(get_markup_template('rsd.tpl'),array( + '$project' => \Zotlabs\Project\System::get_platform_name(), + '$baseurl' => z_root(), + '$apipath' => z_root() . '/api/' + )); + killme(); } + } + -- cgit v1.2.3