github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

bdainton / xmpp_talk

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 17
    • 0
  • Source
  • Commits
  • Network (0)
  • Issues (0)
  • Downloads (0)
  • Wiki (1)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (1)
    • master ✓
  • Tags (0)
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

Code samples supporting an XMPP talk I have given. — Read more

  cancel

http://www.slideshare.net/bdainton/a-change-in-protocol-exploring-xmpp-in-ruby-presentation

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

Additional disclaimer about xmpp4r-simple fork not being complete yet. 
bdainton (author)
Fri Sep 26 15:40:40 -0700 2008
commit  65f9e04bde85445a2dc2d9b373a9e64d158cfd93
tree    5632165c4347314048fe908bbb6a85e15679226b
parent  5e86e68613dadeb42d7d3af147b52ad5fdefdd4b
xmpp_talk /
name age
history
message
file README.rdoc Loading commit data...
directory pep_publisher/
directory pep_subscriber/
directory traffic/
directory twitter_gnip_client/
directory whassap/
directory whassap_rest_client/
directory whassap_status_bot/
README.rdoc

XMPP Talk

Synopsis

These are some chunks of code I wrote to support a talk on XMPP at Austin on Rails (2008/09/23).

You’ll see references to ‘tiamat.local’ herein. That’s the name of my development box. You’ll want to swap that out.

Dependencies

Nearly all of them are dependent upon the ‘xmpp4r’ gem and my fork of the ‘xmpp4r-simple’ gem (github.com/bdainton/xmpp4r-simple).

NOTE FOR EARLY ADOPTERS/CLONERS: my mods to xmpp4r-simple are still in progress. If you head over to the fork and don’t see the changes there…be patient. I’ll get em in soon. Until then, please just imagine them working. kthx!

Several examples depend on the awesome ‘httparty’ gem from jnunemaker (github.com/jnunemaker/httparty). If you don’t have it already, you want it.

Oh, and you’ll want to set up a Jabber server somewhere. I used a local ejabberd installation.

For the Gnip examples, grab the ‘gnip-ruby’ gem from github.com/gnip/gnip-ruby.

License

The MIT License

Copyright © 2008 Brian Dainton

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server