Mercurial > prosody-wiki
comparison mod_webpresence.wiki @ 141:9add3ebe92f4
Add installation section, and update compatibility table.
author | MWild1 |
---|---|
date | Wed, 07 Jul 2010 09:43:08 +0000 |
parents | 5cd506c117e9 |
children | 49c54511545a |
comparison
equal
deleted
inserted
replaced
140:9945dcf3e49e | 141:9add3ebe92f4 |
---|---|
7 | 7 |
8 = Details = | 8 = Details = |
9 | 9 |
10 This module uses Prosody's built-in HTTP server (it does not depend on mod_httpserver). It supplies a status icon representative of a user's online state. | 10 This module uses Prosody's built-in HTTP server (it does not depend on mod_httpserver). It supplies a status icon representative of a user's online state. |
11 | 11 |
12 = Installation = | |
13 | |
14 Simply copy mod_webpresence.lua to your modules directory, the image files are embedded within it. Then add "webpresence" to your modules_enabled list. | |
15 | |
12 = Usage = | 16 = Usage = |
13 | 17 |
14 Once loaded you can embed the icon into a page using a simple `<img>` tag, as follows: | 18 Once loaded you can embed the icon into a page using a simple `<img>` tag, as follows: |
15 | 19 |
16 {{{<img src="http://prosody.example.com:5280/status/john.smith" />}}} | 20 {{{<img src="http://prosody.example.com:5280/status/john.smith" />}}} |
17 | 21 |
18 = Compatibility = | 22 = Compatibility = |
23 ||0.8||Works|| | |
24 ||0.7||Works|| | |
19 ||0.6||Works|| | 25 ||0.6||Works|| |
20 ||0.5||Works|| | |
21 | 26 |
22 = Todo = | 27 = Todo = |
23 | 28 |
24 * Allow different formats, e.g. plain text, HTML, include status messages, etc. | 29 * Allow different formats, e.g. plain text, HTML, include status messages, etc. |
25 * Display PEP information (maybe a new plugin?) | 30 * Display PEP information (maybe a new plugin?) |