friendica_2021.01_tupambae_.../mod/rsd_xml.php

27 lines
654 B
PHP
Raw Normal View History

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