Mercurial > libervia-pubsub
annotate README @ 153:753b8432460f
Work towards JEP-0060 1.8
- Remove subscription information from <affiliations/> result.
- Add handling of <subscriptions/> entity use case.
- Make <subscribe/> return <subscription/> instead of <entity/>.
- Move <purge/> and <delete/> to owner namespace.
- Don't use 'self' in interfaces.
author | Ralph Meijer <ralphm@ik.nu> |
---|---|
date | Sat, 06 May 2006 19:47:53 +0000 |
parents | f809b998c6f4 |
children | bd8e58c73370 |
rev | line source |
---|---|
88 | 1 Idavoll using Twisted Python. |
10 | 2 |
88 | 3 What is Idavoll? |
4 ================ | |
10 | 5 |
6 A pubsub service, as defined in JEP-0060, aiming to be fully compliant and | |
7 mostly complete. The goal is to build a /generic/ pubsub service, but of which | |
8 parts can be reused for building custom pubsub services for specific | |
9 applications. | |
10 | |
11 | |
12 Current Status | |
13 ============== | |
14 | |
88 | 15 There are two different backends: one using PostgreSQL for storage, and one |
16 just keeping everything in memory. | |
10 | 17 |
133 | 18 In Idavoll the mimimal requirements of JEP-0060 version 1.7 are implemented |
19 plus most optional features, as returned by Service Discovery. | |
10 | 20 |
21 Requirements | |
22 ============ | |
23 | |
151
f809b998c6f4
Add comments about uuid.py and the required Twisted modules.
Ralph Meijer <ralphm@ik.nu>
parents:
133
diff
changeset
|
24 - Twisted Core >= 2.0.0 |
f809b998c6f4
Add comments about uuid.py and the required Twisted modules.
Ralph Meijer <ralphm@ik.nu>
parents:
133
diff
changeset
|
25 - Twisted Xish >= 0.1.0 |
f809b998c6f4
Add comments about uuid.py and the required Twisted modules.
Ralph Meijer <ralphm@ik.nu>
parents:
133
diff
changeset
|
26 - Twisted Words >= 0.1.0 |
f809b998c6f4
Add comments about uuid.py and the required Twisted modules.
Ralph Meijer <ralphm@ik.nu>
parents:
133
diff
changeset
|
27 - uuid.py (http://ofxsuite.berlios.de/uuid.py) |
f809b998c6f4
Add comments about uuid.py and the required Twisted modules.
Ralph Meijer <ralphm@ik.nu>
parents:
133
diff
changeset
|
28 - A jabber server that supports the component protocol (JEP-0114) |
88 | 29 |
30 For the PostgreSQL backend, the following is also required: | |
31 | |
32 - PostgreSQL | |
33 - pyPgSQL | |
10 | 34 |
35 Usage | |
36 ===== | |
37 | |
38 For jabberd 1.4 configuration, put the following in jabber.xml: | |
39 | |
40 <service id='pubsub.localhost'> | |
41 <accept> | |
42 <ip>127.0.0.1</ip> | |
43 <port>1238</port> | |
44 <secret>mysecret</secret> | |
45 </accept> | |
46 </service> | |
47 | |
48 and restart jabberd. | |
49 | |
50 Then, in the same directory as this file run: | |
51 | |
52 mktap idavoll --rport=1238 --jid=pubsub.localhost --secret=1238 | |
53 twistd -rf idavoll.tap | |
54 | |
132 | 55 This uses the (default) memory based backend. You can ignore the deprecation |
56 warnings. | |
88 | 57 |
58 For using the PostgreSQL backend, create a database (for example named pubsub) | |
59 like so: | |
60 | |
61 createdb pubsub | |
62 psql pubsub <db/pubsub.db | |
63 | |
64 Then do: | |
65 | |
66 mktap idavoll --rport=1238 --jid=pubsub.localhost --secret=1238 \ | |
67 --backend=pgsql | |
68 twistd -rf idavoll.tap | |
69 | |
70 For viewing all options, run: | |
71 | |
72 mktap idavoll --help | |
73 | |
74 Contact | |
75 ======= | |
76 | |
77 Questions, comments or suggestions are welcome! | |
78 | |
79 Ralph Meijer | |
80 <xmpp:ralphm@ik.nu> |