friendica-github/mod/rsd_xml.php

27 lines
656 B
PHP
Raw Normal View History

2011-02-16 07:56:29 +00:00
<?php
use Friendica\App;
2017-08-26 06:04:21 +00:00
use Friendica\Core\System;
2017-04-30 04:01:26 +00:00
function rsd_xml_content(App $a)
{
2011-02-16 07:56:29 +00:00
header ("Content-Type: text/xml");
echo '<?xml version="1.0" encoding="UTF-8"?>
2017-04-30 04:01:26 +00:00
<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="">
2017-04-30 04:01:26 +00:00
<settings>
<docs>http://status.net/wiki/TwitterCompatibleAPI</docs>
<setting name="OAuth">false</setting>
</settings>
</api>
</apis>
</service>
</rsd>';
killme();
2017-08-26 06:04:21 +00:00
}