aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-02-02 15:25:35 -0800
committerzotlabs <mike@macgirvin.com>2017-02-02 15:25:35 -0800
commita91e7cbe8d2f29bd73145b9a545b56e5dda95e18 (patch)
tree1fc9368cd9f8ca919ff08f5a6953b1028ef1e7ba
parent159f02ba07c6c78fe8bd6e15d9f802af3cfa5fef (diff)
downloadvolse-hubzilla-a91e7cbe8d2f29bd73145b9a545b56e5dda95e18.tar.gz
volse-hubzilla-a91e7cbe8d2f29bd73145b9a545b56e5dda95e18.tar.bz2
volse-hubzilla-a91e7cbe8d2f29bd73145b9a545b56e5dda95e18.zip
move rsd service to twitter_api plugin
-rw-r--r--Zotlabs/Module/Rsd_xml.php17
-rwxr-xr-xview/tpl/head.tpl1
-rw-r--r--view/tpl/rsd.tpl15
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