216
edits
Neustradamus (talk | contribs) |
Neustradamus (talk | contribs) m |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
= 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 | |||
= Web browsers = | = Web browsers = | ||
== Firefox == | == Firefox == | ||
To XMPP URIs clickable in the [http://www.mozilla.com/firefox/ Firefox] web browser, do this: | To XMPP URIs clickable in the [http://www.mozilla.com/firefox/ Firefox] web browser, do this: | ||
Line 17: | Line 14: | ||
== Opera == | == Opera == | ||
To make XMPP URIs clickable in the [http://www.opera.com/ Opera] web browser, do this: | To make XMPP URIs clickable in the [http://www.opera.com/ Opera] web browser, do this: | ||
# Open your opera6.ini file | # Open your opera6.ini file | ||
# find (or except add) "Trusted Protocols" section | # find (or except add) "Trusted Protocols" section | ||
Line 26: | Line 21: | ||
== Konqueror == | == Konqueror == | ||
In KDE4 create a file in $HOME/.kde4/share/kde4/services/xmpp.protocol | In KDE4 create a file in $HOME/.kde4/share/kde4/services/xmpp.protocol | ||
<pre> | |||
[Protocol] | |||
exec=psi --uri "%u" | |||
protocol=xmpp | |||
input=none | |||
output=none | |||
helper=true | |||
listing=false | |||
reading=false | |||
writing=false | |||
makedir=false | |||
deleting=false | |||
Icon="" | |||
</pre> | |||
In KDE3 is similar, but the file will be $HOME/.kde/share/services/xmpp.protocol and you might have to replace the exec line with ''exec=psi --uri `echo "%u" |sed s/%40/@/ `'' | In KDE3 is similar, but the file will be $HOME/.kde/share/services/xmpp.protocol and you might have to replace the exec line with ''exec=psi --uri `echo "%u" |sed s/%40/@/ `'' | ||
= Operating systems = | = Operating systems = | ||
== Linux == | == Linux == | ||
To follow. | To follow. | ||
== Mac OS X == | == Mac OS X == | ||
Install the XMPP-IRI helper application linked to from [http://www.deepdarc.com/ichat-jabber-tips/ here]. | Install the XMPP-IRI helper application linked to from [http://www.deepdarc.com/ichat-jabber-tips/ here]. | ||
[http://www. | [http://www.adium.im/ Adium] registered itself as a handler for XMPP URIs, "Just Works" with Camino. | ||
== 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 Jabber/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> | |||
Windows Registry Editor Version 5.00 | |||
[HKEY_CLASSES_ROOT\xmpp] | |||
@="URL:XMPP Protocol" | |||
"EditFlags"=dword:00000002 | |||
"URL Protocol"="" | |||
[HKEY_CLASSES_ROOT\xmpp\shell] | |||
[HKEY_CLASSES_ROOT\xmpp\shell\open] | |||
[HKEY_CLASSES_ROOT\xmpp\shell\open\command] | |||
@="<application to execute> %l" | |||
</pre> | |||
= Jabber/XMPP Clients = | |||
List clients supporting XMPP URIs here. | List clients supporting XMPP URIs here. | ||
== jabber.el == | == jabber.el == | ||
[http://emacs-jabber.sf.net jabber.el] supports XMPP URIs from version 0.7.1. How to set it up is described in the documentation. | [http://emacs-jabber.sf.net jabber.el] supports XMPP URIs from version 0.7.1. How to set it up is described in the documentation. | ||
== Gajim == | == Gajim == | ||
Using Firefox, set the string for network.protocol-handler.app.xmpp to 'gajim-remote handle_uri' in about:config. For Opera add 'xmpp=0,0,gajim-remote handle_uri' under [Trusted Protocols] (I had to add Trusted Protocols at the bottom) in opera6.ini. | Using Firefox, set the string for network.protocol-handler.app.xmpp to 'gajim-remote handle_uri' in about:config. For Opera add 'xmpp=0,0,gajim-remote handle_uri' under [Trusted Protocols] (I had to add Trusted Protocols at the bottom) in opera6.ini. | ||
== Coccinella == | == Coccinella == | ||
[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. | ||
== Miranda IM== | == Miranda IM == | ||
[http://miranda-im.org/ Miranda IM] supports handling of XMMP URIs since version 0.7.1.2 of jabber plugin. Implementation requires File Association Manager plugin which can be found at http://addons.miranda-im/. | |||
[http://miranda-im.org/ Miranda IM] supports handling of XMMP URIs since version 0.7.1.2 of jabber plugin. Implementation requires File Association Manager plugin which can be found at http://addons.miranda-im. | |||
= MediaWiki = | = MediaWiki = | ||
== Last version == | == Last version == | ||
=== Part 1 === | === Part 1 === | ||
Line 198: | Line 184: | ||
#bodyContent a[href ^="xmpp:"], | #bodyContent a[href ^="xmpp:"], | ||
.link-xmpp { | .link-xmpp { | ||
background: url(xmpp_icon. | background: url(xmpp_icon.png) center right no-repeat; | ||
padding-right: 10px; | padding-right: 10px; | ||
} | } | ||
</pre> | </pre> | ||
Result: | Result: | ||
Line 213: | Line 198: | ||
#bodyContent a[href ^="xmpp:"], | #bodyContent a[href ^="xmpp:"], | ||
.link-xmpp { | .link-xmpp { | ||
background: url(xmpp_icon. | 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. | 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 226: | Line 211: | ||
</pre> | </pre> | ||
That's all you technically need to do. It can also make things prettier though if you add the | 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> | <pre> | ||
#bodyContent a[href ^="xmpp:"], | #bodyContent a[href ^="xmpp:"], | ||
.link-xmpp { | .link-xmpp { | ||
background: url(xmpp_icon. | 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. | 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}} |
edits