move rsd service to twitter_api plugin

This commit is contained in:
zotlabs 2017-02-02 15:25:35 -08:00
parent 159f02ba07
commit a91e7cbe8d
3 changed files with 0 additions and 33 deletions

View File

@ -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();
}
}

View File

@ -7,7 +7,6 @@
{{$head_js}} {{$head_js}}
{{$linkrel}} {{$linkrel}}
{{$plugins}} {{$plugins}}
<link rel="EditURI" type="application/rsd+xml" href="{{$baseurl}}/rsd.xml" />
<script> <script>
var updateInterval = {{$update_interval}}; var updateInterval = {{$update_interval}};
var localUser = {{if $local_channel}}{{$local_channel}}{{else}}false{{/if}}; var localUser = {{if $local_channel}}{{$local_channel}}{{else}}false{{/if}};

View File

@ -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>