aboutsummaryrefslogtreecommitdiffstats
path: root/mod/rsd_xml.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-05-05 04:29:45 -0700
committerFriendika <info@friendika.com>2011-05-05 04:29:45 -0700
commit26d748f6d8d7616b4a337350df69898716ec043e (patch)
tree0d09b4644331432b59b5f75c0a0dad121b77c77a /mod/rsd_xml.php
parentb3fa03d3b4175b565ae7ed9106cb83c43801b558 (diff)
parent976d1eaf4312f8c45af0e16205f573afc5be5136 (diff)
downloadvolse-hubzilla-26d748f6d8d7616b4a337350df69898716ec043e.tar.gz
volse-hubzilla-26d748f6d8d7616b4a337350df69898716ec043e.tar.bz2
volse-hubzilla-26d748f6d8d7616b4a337350df69898716ec043e.zip
Merge pull request #96 from fabrixxm/api
Status.net Api
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