]> git.mxchange.org Git - friendica.git/commitdiff
add rsd.xml (needs a template)
authorFabio Comuni <fabrix.xm@gmail.com>
Wed, 16 Feb 2011 07:56:29 +0000 (08:56 +0100)
committerFabio Comuni <fabrix.xm@gmail.com>
Thu, 21 Apr 2011 07:08:50 +0000 (09:08 +0200)
mod/rsd_xml.php [new file with mode: 0644]

diff --git a/mod/rsd_xml.php b/mod/rsd_xml.php
new file mode 100644 (file)
index 0000000..5bf4663
--- /dev/null
@@ -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