Skip to content
This repository has been archived by the owner on Nov 21, 2023. It is now read-only.

Shadowfiend/Strophe.j

Repository files navigation

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.

About

An Objective-J wrapper around the strophe.js XMPP library.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published