diff options
Diffstat (limited to 'view')
-rwxr-xr-x | view/tpl/head.tpl | 1 | ||||
-rw-r--r-- | view/tpl/rsd.tpl | 15 |
2 files changed, 16 insertions, 0 deletions
diff --git a/view/tpl/head.tpl b/view/tpl/head.tpl index 9fcdf1735..9502dd91c 100755 --- a/view/tpl/head.tpl +++ b/view/tpl/head.tpl @@ -11,6 +11,7 @@ {{$head_js}} <link rel="shortcut icon" href="{{$icon}}" /> <link rel="search" href="{{$baseurl}}/opensearch" type="application/opensearchdescription+xml" title="{{$osearch}}" /> +<link rel="EditURI" type="application/rsd+xml" href="{{$baseurl}}/rsd.xml" /> <script> var updateInterval = {{$update_interval}}; var localUser = {{if $local_channel}}{{$local_channel}}{{else}}false{{/if}}; diff --git a/view/tpl/rsd.tpl b/view/tpl/rsd.tpl new file mode 100644 index 000000000..9fd02c472 --- /dev/null +++ b/view/tpl/rsd.tpl @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<rsd version="1.0" xmlns="http://archipelago.phrasewise.com/rsd"> + <service> + <engineName>{{$project}}</engineName> + <engineLink>{{$baseurl}}</engineLink> + <apis> + <api name="Twitter" preferred="true" apiLink="{{$apipath}}" blogID=""> + <settings> + <docs>http://status.net/wiki/TwitterCompatibleAPI</docs> + <setting name="OAuth">true</setting> + </settings> + </api> + </apis> + </service> +</rsd>
\ No newline at end of file |