Revision 2271,
1.3 KB
checked in by alexandrecorreia, 15 years ago
(diff) |
Ticket #986 - Reimplementar interface mais leve para o IM, sem a necessidades de plugins adicionais.
|
-
Property svn:executable set to
*
|
Line | |
---|
1 | Disco Dancing with XMPP |
---|
2 | |
---|
3 | There are many things one can do via XMPP. The list is |
---|
4 | endlist. But one thing that some forget about is discovering |
---|
5 | services a XMPP entity or server provides. In most cases a human or |
---|
6 | user does not care about this information and should not care. But |
---|
7 | you may have a website or web application that needs this |
---|
8 | information in order to decide what options to show to your |
---|
9 | users. You can do this very easily with JQuery, Strophe, and |
---|
10 | Punjab. |
---|
11 | |
---|
12 | We start with Punjab or a BOSH connection manager. This is |
---|
13 | needed so we can connect to a XMPP server. First, lets download |
---|
14 | punjab. |
---|
15 | |
---|
16 | svn co https://code.stanziq.com/svn/punjab/trunk punjab |
---|
17 | |
---|
18 | After we have punjab go into the directory and install punjab. |
---|
19 | |
---|
20 | cd punjab |
---|
21 | python setup.py install |
---|
22 | |
---|
23 | Then create a .tac file to configure Punjab. |
---|
24 | |
---|
25 | See punjab.tac |
---|
26 | |
---|
27 | Next, we will need Strophe. Lets download thelatest version from |
---|
28 | svn too. |
---|
29 | |
---|
30 | cd /directory/where/you/configured/punjab/html |
---|
31 | |
---|
32 | svn co https://code.stanziq.com/svn/strophe/trunk/strophejs |
---|
33 | |
---|
34 | In your html directory you will then begin to create your disco browser. |
---|
35 | |
---|
36 | Version 1 we take the basic example and modify it to do disco. |
---|
37 | |
---|
38 | Version 2 we add anonymous login |
---|
39 | |
---|
40 | Version 3 we make it pretty |
---|
41 | |
---|
42 | Version 4 we add handlers for different services |
---|
Note: See
TracBrowser
for help on using the repository browser.