Skip to content
jocelyn edited this page Mar 9, 2012 · 3 revisions

Tag: jabber, library, xmpp

Table of Contents

Eiffel XMPP library

  • This library is initially inspired by the xmpphp library (http://code.google.com/p/xmpphp)
  • This does not fully support XMPP (especially no TLS, and so on), but this is good start if you want to use basic XMPP functionalities (i.e: sending message, managing presence, building XMPP bot, ...)

Dependencies

  • EiffelStudio 6.7 (or greater)
  • included with EiffelStudio:
    • EiffelBase, EiffelNet, EiffelTime, Eiffel lite XML parser
    • Note: you should use a corrected version of the XML parser (after revision #86381)

F.A.Q

How to get the source code?

Git

Subversion

  mkdir xmpp_workspace
  cd xmpp_workspace
  mkdir library
  cd library
  svn co https://github.com/jocelyn/bricabrac/trunk/src/library/xmpp
  cd ..
  mkdir examples
  cd examples
  svn co https://github.com/jocelyn/bricabrac/trunk/src/example/xmpp

How can I try it

  • You can compile one of the examples:
  cd examples
  cd xmpp
  # Edit the '''example_parameters.e''' to set your own info (or copy this file under the override's folder, and edit this new file)
  ec -config xmpp_examples.ecf -target ex_jabber_bot -finalize -c_compile
  cd EIFGENs
  cd jabber_bot
  cd F_code
  jabber_bot