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 line
618 B

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