Merge pull request #7091 from nupplaphil/task/mod_rsd
Move mod/rsd_xml to src/Module/ReallySimpleDiscovery
This commit is contained in:
commit
c830e4b300
4 changed files with 37 additions and 26 deletions
|
@ -1,26 +0,0 @@
|
|||
<?php
|
||||
|
||||
use Friendica\App;
|
||||
use Friendica\Core\System;
|
||||
|
||||
function rsd_xml_content(App $a)
|
||||
{
|
||||
header ("Content-Type: text/xml");
|
||||
echo '<?xml version="1.0" encoding="UTF-8"?>
|
||||
<rsd version="1.0" xmlns="http://archipelago.phrasewise.com/rsd">
|
||||
<service>
|
||||
<engineName>Friendica</engineName>
|
||||
<engineLink>http://friendica.com/</engineLink>
|
||||
<apis>
|
||||
<api name="Twitter" preferred="true" apiLink="'.System::baseUrl().'/api/" blogID="">
|
||||
<settings>
|
||||
<docs>http://status.net/wiki/TwitterCompatibleAPI</docs>
|
||||
<setting name="OAuth">false</setting>
|
||||
</settings>
|
||||
</api>
|
||||
</apis>
|
||||
</service>
|
||||
</rsd>';
|
||||
|
||||
exit();
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue