diff options
author | Fabio Comuni <fabrix.xm@gmail.com> | 2011-02-16 08:56:29 +0100 |
---|---|---|
committer | Fabio Comuni <fabrix.xm@gmail.com> | 2011-04-21 09:08:50 +0200 |
commit | 793fc60a65c27ffe405b8c4de85e144702165f33 (patch) | |
tree | 3166739004170548c1ad5fb5260aff5deaa4dc49 /mod/rsd_xml.php | |
parent | 3208a649a25cfb0b8fe4aaf50e254ef747aad718 (diff) | |
download | volse-hubzilla-793fc60a65c27ffe405b8c4de85e144702165f33.tar.gz volse-hubzilla-793fc60a65c27ffe405b8c4de85e144702165f33.tar.bz2 volse-hubzilla-793fc60a65c27ffe405b8c4de85e144702165f33.zip |
add rsd.xml (needs a template)
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 |