move rsd service to twitter_api plugin
This commit is contained in:
parent
159f02ba07
commit
a91e7cbe8d
@ -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();
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -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}};
|
||||
|
@ -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>
|
Reference in New Issue
Block a user