diff options
-rw-r--r-- | Zotlabs/Module/Rsd_xml.php | 17 | ||||
-rwxr-xr-x | view/tpl/head.tpl | 1 | ||||
-rw-r--r-- | view/tpl/rsd.tpl | 15 |
3 files changed, 0 insertions, 33 deletions
diff --git a/Zotlabs/Module/Rsd_xml.php b/Zotlabs/Module/Rsd_xml.php deleted file mode 100644 index e5059834b..000000000 --- a/Zotlabs/Module/Rsd_xml.php +++ /dev/null @@ -1,17 +0,0 @@ -<?php -namespace Zotlabs\Module; - -class Rsd_xml extends \Zotlabs\Web\Controller { - - function init() { - header ("Content-Type: text/xml"); - echo replace_macros(get_markup_template('rsd.tpl'),array( - '$project' => \Zotlabs\Lib\System::get_platform_name(), - '$baseurl' => z_root(), - '$apipath' => z_root() . '/api/' - )); - killme(); - } - -} - diff --git a/view/tpl/head.tpl b/view/tpl/head.tpl index a300a702f..5f874426c 100755 --- a/view/tpl/head.tpl +++ b/view/tpl/head.tpl @@ -7,7 +7,6 @@ {{$head_js}} {{$linkrel}} {{$plugins}} -<link rel="EditURI" type="application/rsd+xml" href="{{$baseurl}}/rsd.xml" /> <script> var updateInterval = {{$update_interval}}; var localUser = {{if $local_channel}}{{$local_channel}}{{else}}false{{/if}}; diff --git a/view/tpl/rsd.tpl b/view/tpl/rsd.tpl deleted file mode 100644 index 9fd02c472..000000000 --- a/view/tpl/rsd.tpl +++ /dev/null @@ -1,15 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<rsd version="1.0" xmlns="http://archipelago.phrasewise.com/rsd"> - <service> - <engineName>{{$project}}</engineName> - <engineLink>{{$baseurl}}</engineLink> - <apis> - <api name="Twitter" preferred="true" apiLink="{{$apipath}}" blogID=""> - <settings> - <docs>http://status.net/wiki/TwitterCompatibleAPI</docs> - <setting name="OAuth">true</setting> - </settings> - </api> - </apis> - </service> -</rsd>
\ No newline at end of file |