diff options
author | Friendika <info@friendika.com> | 2011-05-05 04:29:45 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-05-05 04:29:45 -0700 |
commit | 26d748f6d8d7616b4a337350df69898716ec043e (patch) | |
tree | 0d09b4644331432b59b5f75c0a0dad121b77c77a /mod/rsd_xml.php | |
parent | b3fa03d3b4175b565ae7ed9106cb83c43801b558 (diff) | |
parent | 976d1eaf4312f8c45af0e16205f573afc5be5136 (diff) | |
download | volse-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.php | 24 |
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 |