Update of /project/cl-xmpp/cvsroot/public_html In directory common-lisp.net:/tmp/cvs-serv32549
Modified Files: index.html Log Message: 0.7.0
Date: Fri Nov 18 23:35:26 2005 Author: eenge
Index: public_html/index.html diff -u public_html/index.html:1.23 public_html/index.html:1.24 --- public_html/index.html:1.23 Fri Nov 18 23:32:35 2005 +++ public_html/index.html Fri Nov 18 23:35:26 2005 @@ -50,8 +50,9 @@ <li><a href="http://cliki.net/trivial-sockets">trivial-sockets</a></li> <li><a href="http://common-lisp.net/project/cxml">cxml</a></li> <li><a href="http://cliki.net/ironclad">Ironclad</a></li> - <li><a href="http://cliki.net/cl-base64">cl-base64</a> (for cl-xmpp-sasl)</li> - <li><a href="http://cliki.net/cl-sasl">cl-sasl</a> (for cl-xmpp-sasl)</li> + <li><a href="http://cliki.net/cl-base64">cl-base64</a> (for cl-xmpp-{sasl,tls})</li> + <li><a href="http://cliki.net/cl-sasl">cl-sasl</a> (for cl-xmpp-{sasl,tls})</li> + <li><a href="http://common-lisp.net/project/cl-plus-ssl">cl+ssl</a> (for cl-xmpp-tls)</li> </ul> </div>
@@ -109,10 +110,17 @@ * (require :cl-xmpp)
* (defvar *connection* (xmpp:connect :hostname "jabber.org")) +;; or xmpp:connect-tls if you loaded cl-xmpp-tls + +;; note that for XMPP servers which do not have the same hostname +;; as the domain-part of the user's JID you will have to pass that +;; in. eg for Google Talk: +;; (defvar *connection* (xmpp:connect-tls :hostname "talk.google.com" + :jid-domain-part "gmail.com"))
* (xmpp:auth connection "password" "resource") ;; or pass :mechanism :sasl-plain, :digest-md5 or sasl-digest-md5 -;; if you loaded cl-xmpp-sasl. +;; if you loaded cl-xmpp-sasl or cl-xmpp-tls.
;; send someone a message * (xmpp:message connection "username@hostname" "what's going on?")