aboutsummaryrefslogtreecommitdiffstats
path: root/mod/rsd_xml.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/rsd_xml.php')
-rw-r--r--mod/rsd_xml.php24
1 files changed, 24 insertions, 0 deletions
diff --git a/mod/rsd_xml.php b/mod/rsd_xml.php
new file mode 100644
index 000000000..5bf4663fd
--- /dev/null
+++ b/mod/rsd_xml.php
@@ -0,0 +1,24 @@
+<?php
+
+
+
+function rsd_xml_content(&$a) {
+ header ("Content-Type: text/xml");
+ echo '<?xml version="1.0" encoding="UTF-8"?>
+ <rsd version="1.0" xmlns="http://archipelago.phrasewise.com/rsd">
+ <service>
+ <engineName>Friendika</engineName>
+ <engineLink>http://friendika.com/</engineLink>
+ <apis>
+ <api name="Twitter" preferred="true" apiLink="'.$a->get_baseurl().'/api/" blogID="">
+ <settings>
+ <docs>http://status.net/wiki/TwitterCompatibleAPI</docs>
+ <setting name="OAuth">false</setting>
+ </settings>
+ </api>
+ </apis>
+ </service>
+ </rsd>
+ ';
+die();
+} \ No newline at end of file