Difference between revisions of "XMPP URIs"

Jump to navigation Jump to search
734 bytes added ,  02:00, 24 December 2020
no edit summary
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
An XMPP URI is a [http://en.wikipedia.org/wiki/Uniform_Resource_Identifier Uniform Resource Identifier] that makes a Jabber ID "clickable" in web browsers and such. Unfortunately, support for XMPP URIs is not (yet!) common in popular software applications, so you need to set it up manually. This page describes how...
An XMPP URI is a [http://en.wikipedia.org/wiki/Uniform_Resource_Identifier Uniform Resource Identifier] that makes a Jabber ID (or XMPP Account) "clickable" in web browsers and such. Unfortunately, support for XMPP URIs is not (yet!) common in popular software applications, so you need to set it up manually. This page describes how...


= Formal Definition =
= Formal Definition =
For those interested in a formal definition of XMPP URIs, read RFC 5122, [http://xmpp.org/extensions/xep-0147.html XEP-0147] and the [http://xmpp.org/registrar/querytypes.html querytypes registry].
For those interested in a formal definition of XMPP URIs, read RFC 5122 (previously RFC 4622), [http://xmpp.org/extensions/xep-0147.html XEP-0147] and the [http://xmpp.org/registrar/querytypes.html querytypes registry].


= Web browsers =
= Web browsers =
Line 41: Line 41:
= Operating systems =
= Operating systems =
== Linux ==
== Linux ==
To follow.
Each client which supports xmpp: URIs should ship a .desktop file in /usr/share/applications containing this line:
MimeType=x-scheme-handler/xmpp;


== Mac OS X ==
== Mac OS X ==
Line 49: Line 50:


== Windows ==
== Windows ==
Paste the following in Notepad and save to a file with an ".reg" extension.  Then double-click on it and answer yes to the prompt to import the settings into your registry.  Be sure to enter the path to your XMPP-URI capable Jabber client.  See the [http://msdn.microsoft.com/workshop/networking/pluggable/overview/appendix_a.asp Registering an Application to a URL Protocol] article in [http://msdn.microsoft.com MSDN] for more details.
Paste the following in Notepad and save to a file with an ".reg" extension.  Then double-click on it and answer yes to the prompt to import the settings into your registry.  Be sure to enter the path to your XMPP-URI capable XMPP client.  See the [http://msdn.microsoft.com/workshop/networking/pluggable/overview/appendix_a.asp Registering an Application to a URL Protocol] article in [http://msdn.microsoft.com MSDN] for more details.
<pre>
<pre>
Windows Registry Editor Version 5.00
Windows Registry Editor Version 5.00
Line 62: Line 63:
</pre>
</pre>


= Jabber Clients =
= XMPP Clients =
List clients supporting XMPP URIs here.
List clients supporting XMPP URIs here.


Line 74: Line 75:
[http://Coccinella.im/ Coccinella] supports many of them but not all, see coccinella/components/ParseURI.tcl
[http://Coccinella.im/ Coccinella] supports many of them but not all, see coccinella/components/ParseURI.tcl
And the Mac desktop bindings may be flaky.
And the Mac desktop bindings may be flaky.
== Kaidan ==
[https://kaidan.im Kaidan] supports XMPP URIs.


== Miranda IM ==
== Miranda IM ==
Line 184: Line 188:
#bodyContent a[href ^="xmpp:"],
#bodyContent a[href ^="xmpp:"],
.link-xmpp {
.link-xmpp {
     background: url(xmpp_icon.gif) center right no-repeat;
     background: url(xmpp_icon.png) center right no-repeat;
     padding-right: 10px;
     padding-right: 10px;
}
}
Line 198: Line 202:
#bodyContent a[href ^="xmpp:"],
#bodyContent a[href ^="xmpp:"],
.link-xmpp {
.link-xmpp {
     background: url(xmpp_icon.gif) center right no-repeat;
     background: url(xmpp_icon.png) center right no-repeat;
     padding-right: 10px;
     padding-right: 10px;
}
}
</pre>
</pre>


And in the same folder as the CSS file, download and place [http://wiki.jabber.org/skins/jabberorg/xmpp_icon.gif this icon file].
And in the same folder as the CSS file, download and place [http://wiki.xmpp.org/images/xmpp_icon.png this icon file].


== older ==
== older ==
Line 211: Line 215:
</pre>
</pre>


That's it!
That's all you technically need to do. It can also make things prettier though if you add the XMPP icon next to all such links. To do this, locate the .css file for the skin you are using (e.g. skins/monobook/main.css) and append the following code:
<pre>
#bodyContent a[href ^="xmpp:"],
.link-xmpp {
        background: url(xmpp_icon.png) center right no-repeat;
        padding-right: 10px;
}
</pre>
 
And in the same folder as the CSS file, download and place [http://wiki.xmpp.org/images/xmpp_icon.png this icon file].


{{Technical Page}}
{{Technical Page}}
18

edits

Navigation menu