public
Description: An Objective-J wrapper around the strophe.js XMPP library.
Homepage: http://shadowfiend.posterous.com/
Clone URL: git://github.com/Shadowfiend/Strophe.j.git
name age message
file .gitignore Fri Jul 31 13:50:52 -0700 2009 Initial commit with SRJabberConnection somewhat... [Shadowfiend]
file Info.plist Fri Aug 14 12:40:44 -0700 2009 Added basic plist file. [Shadowfiend]
file README Fri Jul 31 13:50:52 -0700 2009 Initial commit with SRJabberConnection somewhat... [Shadowfiend]
file README.rdoc Fri Aug 14 12:45:42 -0700 2009 Added some pointers in README. [Shadowfiend]
file SRJID.j Wed Aug 05 21:42:05 -0700 2009 Working MUC joining and theoretically occupants... [Shadowfiend]
file SRJabberConnection.j Fri Aug 14 12:40:15 -0700 2009 Better error-reporting during connection callba... [Shadowfiend]
file SRMessage.j Fri Aug 07 15:04:07 -0700 2009 Rooms can now send and receive messages correct... [Shadowfiend]
file SRMyUser.j Fri Aug 07 15:04:07 -0700 2009 Rooms can now send and receive messages correct... [Shadowfiend]
file SRObject.j Wed Aug 05 21:42:05 -0700 2009 Working MUC joining and theoretically occupants... [Shadowfiend]
file SRRoom.j Fri Aug 07 15:04:07 -0700 2009 Rooms can now send and receive messages correct... [Shadowfiend]
file SRRoomOccupant.j Wed Aug 05 21:42:05 -0700 2009 Working MUC joining and theoretically occupants... [Shadowfiend]
file SRUser.j Fri Aug 07 15:04:07 -0700 2009 Rooms can now send and receive messages correct... [Shadowfiend]
file b64.js Fri Jul 31 13:50:52 -0700 2009 Initial commit with SRJabberConnection somewhat... [Shadowfiend]
file jquery-1.3.2.min.js Tue Aug 04 22:08:33 -0700 2009 Basics are working, including basic SRUser and ... [Shadowfiend]
file md5.js Fri Jul 31 13:50:52 -0700 2009 Initial commit with SRJabberConnection somewhat... [Shadowfiend]
file sha1.js Fri Jul 31 13:50:52 -0700 2009 Initial commit with SRJabberConnection somewhat... [Shadowfiend]
file strophe.js Fri Jul 31 13:50:52 -0700 2009 Initial commit with SRJabberConnection somewhat... [Shadowfiend]
README.rdoc

Strophe.j

Strophe.j is an Objective-J wrapper around the strophe.js library. It mostly offers some decoration around the more class-like aspects of strophe.js while letting strophe.js do its thing for message assembly (since the strophe message assembly syntax is wonderfully concise).

Usage

Due to some issues with importing via Objective-J’s @import directive, currently you have to explicitly include the relevant scripts in your HTML page.

Add this wherever your scripts are included after putting Strophe in your Frameworks directory:

        <script src = "Frameworks/Strophe/sha1.js" type = "text/javascript"></script>
        <script src = "Frameworks/Strophe/md5.js" type = "text/javascript"></script>
        <script src = "Frameworks/Strophe/b64.js" type = "text/javascript"></script>
        <script src = "Frameworks/Strophe/jquery-1.3.2.min.js" type = "text/javascript"></script>
        <script src = "Frameworks/Strophe/strophe.js" type = "text/javascript"></script>

Then, you can @import any Strophe files regularly (e.g., @import <Strophe/SRJabberConnection.j>) and go from there.