Friendica Communications Platform (please note that this is a clone of the repository at github, issues are handled there) https://friendi.ca
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

24 lines
610 B

  1. <?php
  2. function rsd_xml_content(App $a)
  3. {
  4. header ("Content-Type: text/xml");
  5. echo '<?xml version="1.0" encoding="UTF-8"?>
  6. <rsd version="1.0" xmlns="http://archipelago.phrasewise.com/rsd">
  7. <service>
  8. <engineName>Friendica</engineName>
  9. <engineLink>http://friendica.com/</engineLink>
  10. <apis>
  11. <api name="Twitter" preferred="true" apiLink="'.App::get_baseurl().'/api/" blogID="">
  12. <settings>
  13. <docs>http://status.net/wiki/TwitterCompatibleAPI</docs>
  14. <setting name="OAuth">false</setting>
  15. </settings>
  16. </api>
  17. </apis>
  18. </service>
  19. </rsd>';
  20. killme();
  21. }