Software / code / prosody-modules
Comparison
mod_pubsub_feeds/README.markdown @ 1820:8de50be756e5
Various README files: Correct indentation levels, fix syntax and other small fixes
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Wed, 02 Sep 2015 17:30:33 +0200 |
| parent | 1803:4d73a1a6ba68 |
| child | 1892:981143617dcf |
comparison
equal
deleted
inserted
replaced
| 1819:1b08597b5e6f | 1820:8de50be756e5 |
|---|---|
| 17 ------------- | 17 ------------- |
| 18 | 18 |
| 19 This module must be loaded on a Prosody pubsub component. Add it to | 19 This module must be loaded on a Prosody pubsub component. Add it to |
| 20 `modules_enabled` and configure like so: | 20 `modules_enabled` and configure like so: |
| 21 | 21 |
| 22 Component "pubsub.example.com" "pubsub" | 22 ``` lua |
| 23 modules_enabled = { "pubsub_feeds" } | 23 Component "pubsub.example.com" "pubsub" |
| 24 modules_enabled = { "pubsub_feeds" } | |
| 24 | 25 |
| 25 feeds = { | 26 feeds = { |
| 26 planet_jabber = "http://planet.jabber.org/atom.xml"; | 27 planet_jabber = "http://planet.jabber.org/atom.xml"; |
| 27 prosody_blog = "http://blog.prosody.im/feed/atom.xml"; | 28 prosody_blog = "http://blog.prosody.im/feed/atom.xml"; |
| 28 } | 29 } |
| 30 ``` | |
| 29 | 31 |
| 30 This example creates two nodes, 'planet\_jabber' and 'prosody\_blog' | 32 This example creates two nodes, 'planet\_jabber' and 'prosody\_blog' |
| 31 that clients can subscribe to using | 33 that clients can subscribe to using |
| 32 [XEP-0060](http://xmpp.org/extensions/xep-0060.html). Results are in | 34 [XEP-0060](http://xmpp.org/extensions/xep-0060.html). Results are in |
| 33 [ATOM 1.0 format](http://atomenabled.org/) for easy consumption. | 35 [ATOM 1.0 format](http://atomenabled.org/) for easy consumption. |