diff options
author | Arno Richter <oelna@oelna.de> | 2022-12-13 22:27:21 +0100 |
---|---|---|
committer | Arno Richter <oelna@oelna.de> | 2022-12-13 22:27:44 +0100 |
commit | 0b075f3ea2616cfde4d976199a69ba631174a336 (patch) | |
tree | bb1feef58d9c714f6c3fb0b75f1e52b0181cf2af /lib/rsd.xml.php | |
parent | f0e3ff408db8ee40611f75cdf96892f90034bd60 (diff) | |
download | microblog-0b075f3ea2616cfde4d976199a69ba631174a336.tar.gz microblog-0b075f3ea2616cfde4d976199a69ba631174a336.tar.bz2 microblog-0b075f3ea2616cfde4d976199a69ba631174a336.zip |
gave up and sorted files into a directory structure. made snippets for header, nav and footer. made it easier to add additional css files as themes. prepare a little for addition of a real template engine. added a css reset file to share between themes, if warranted.
Diffstat (limited to 'lib/rsd.xml.php')
-rw-r--r-- | lib/rsd.xml.php | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/rsd.xml.php b/lib/rsd.xml.php new file mode 100644 index 0000000..f0f9c12 --- /dev/null +++ b/lib/rsd.xml.php @@ -0,0 +1,15 @@ +<?php + require_once(__DIR__.DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.'config.php'); + + header('Content-Type: text/xml; charset=utf-8'); +?><rsd xmlns="http://archipelago.phrasewise.com/rsd" version="1.0"> + <service> + <engineName>oelna/microblog</engineName> + <engineLink>https://github.com/oelna/microblog</engineLink> + <homePageLink><?= $config['url'] ?></homePageLink> + <apis> + <api name="Micro.blog" blogID="1" preferred="true" apiLink="<?= $config['url'] ?>/xmlrpc" /> + <api name="MetaWeblog" blogID="1" preferred="false" apiLink="<?= $config['url'] ?>/xmlrpc" /> + </apis> + </service> +</rsd> |