mirror of
https://github.com/friendica/friendica
synced 2024-12-29 00:42:25 +00:00
22 lines
400 B
PHP
22 lines
400 B
PHP
|
<?php
|
||
|
|
||
|
namespace Friendica\Module;
|
||
|
|
||
|
use Friendica\BaseModule;
|
||
|
use Friendica\Core\Renderer;
|
||
|
|
||
|
/**
|
||
|
* Prints the rsd.xml
|
||
|
* @see http://danielberlinger.github.io/rsd/
|
||
|
*/
|
||
|
class ReallySimpleDiscovery extends BaseModule
|
||
|
{
|
||
|
public static function rawContent()
|
||
|
{
|
||
|
header ("Content-Type: text/xml");
|
||
|
$tpl = Renderer::getMarkupTemplate('rsd.tpl');
|
||
|
echo Renderer::replaceMacros($tpl, []);
|
||
|
exit();
|
||
|
}
|
||
|
}
|