[cl-xmpp-cvs] CVS update: public_html/index.html

Erik Enge eenge at common-lisp.net
Sun Nov 13 02:55:15 UTC 2005


Update of /project/cl-xmpp/cvsroot/public_html
In directory common-lisp.net:/tmp/cvs-serv29070

Modified Files:
	index.html 
Log Message:
updating docs in preparation for new release

Date: Sun Nov 13 03:55:15 2005
Author: eenge

Index: public_html/index.html
diff -u public_html/index.html:1.18 public_html/index.html:1.19
--- public_html/index.html:1.18	Fri Nov 11 15:38:09 2005
+++ public_html/index.html	Sun Nov 13 03:55:15 2005
@@ -7,7 +7,7 @@
 
   <body>
     <div class="header">
-      <h1>cl-xmpp 0.5.0</h1>
+      <h1>cl-xmpp 0.6.0</h1>
     </div>
     <div class="body">
     
@@ -34,12 +34,16 @@
 	<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> (if you are using cl-xmpp-{sasl|tls}.asd)</li>
+	<li><a href="http://cliki.net/cl-sasl">cl-sasl</a> (if you are using cl-xmpp-{sasl|tls}.asd)</li>
+	<li><a href="http://common-lisp.net/project/cl-plus-ssl">cl+ssl</a> (if you are using cl-xmpp-tls.asd</li>
        </ul>
       </div>
 
       <h2>News</h2>
       <div class="level">
        <ul>
+	<li>Version 0.6.0 released (SASL and TLS support, better debugability + small test suite)
         <li>Version 0.5.0 released (Now depending on <a href="http://cliki.net/ironclad">Ironclad</a> for digest authentication)</li>
         <li>Version 0.4.0 released (Better support for JEP0030 (service discovery) and more exported symbols)</li>
         <li>Version 0.3.0 released (Added Allegro and LispWorks support)</li>
@@ -92,16 +96,18 @@
 	<pre>
   * (require :cl-xmpp)
 
-  * (defvar connection (xmpp:connect :hostname "jabber.org"))
-
-;; initiate XML stream with server
-  * (xmpp:begin-xml-stream connection)
+  * (defvar connection (xmpp:connect "username" :hostname "jabber.org"))
+;; or use xmpp:connect-tls with the exact same arguments to initiate
+;; a TLS connection.  there are operators in cl-xmpp-tls.lisp you
+;; can use manually if you want to check that this host supports
+;; TLS connections, first.
 
 ;; authenticate (or use xmpp:register to make an account)
-  * (xmpp:auth connection "username" "password" "resource")
+  * (xmpp:auth connection "password" "resource")
+;; defaults to plain non-sasl authentication but sasl is also available
 
 ;; let the server know you want to receive/send presence information
-;; (this makes you "come online" if others have a subscription with you
+;; (this makes you "come online" if others have a subscription with you)
   * (xmpp:presence connection)
 
 ;; send someone a message
@@ -109,8 +115,11 @@
 
 ;; then sit back and watch the messages roll in:
   * (xmpp:receive-stanza-loop connection)
-#<MESSAGE from=username at hostname to=me at myserver>
+<MESSAGE from=username at hostname to=me at myserver>
 [....]
+;; or use xmpp:receive-stanza if you're just wanting one stanza
+;; (note it will still block until you have received a complete
+;; stanza)
 
 ;; That's it.  Interrupt the loop to issue other commands, eg:
   * (xmpp:get-roster connection)
@@ -120,16 +129,16 @@
 
 ;; If you wish to handle the incoming messages or other objects simply
 ;; specify an xmpp:handle method for the objects you are interested in
-;; or (defmethod xmpp:handle (connection object) ...)  to get them all.  Or alternatively 
-;; specify :dom-repr t to receive-stanza-loop to get DOM-ish objects.
+;; or (defmethod xmpp:handle (connection object) ...)  to get them
+;; all.  Or alternatively specify :dom-repr t to receive-stanza-loop
+;; to get DOM-ish objects.
 
 ;; For example, if you wanted to create an annoying reply bot:
 
  * (defmethod xmpp:handle ((connection xmpp:connection) (message xmpp:message))
     (xmpp:message connection (xmpp:from message) 
-        (format nil "reply to: ~a~%" (xmpp:message object))))
-
-   </pre>
+        (format nil "reply to: ~a" (xmpp:message object))))
+       </pre>
       </div>      
 
 




More information about the Cl-xmpp-cvs mailing list