Software /
code /
prosody-modules
Diff
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 |
line wrap: on
line diff
--- a/mod_pubsub_feeds/README.markdown Wed Sep 02 16:43:34 2015 +0200 +++ b/mod_pubsub_feeds/README.markdown Wed Sep 02 17:30:33 2015 +0200 @@ -19,13 +19,15 @@ This module must be loaded on a Prosody pubsub component. Add it to `modules_enabled` and configure like so: - Component "pubsub.example.com" "pubsub" - modules_enabled = { "pubsub_feeds" } +``` lua +Component "pubsub.example.com" "pubsub" +modules_enabled = { "pubsub_feeds" } - feeds = { - planet_jabber = "http://planet.jabber.org/atom.xml"; - prosody_blog = "http://blog.prosody.im/feed/atom.xml"; - } +feeds = { + planet_jabber = "http://planet.jabber.org/atom.xml"; + prosody_blog = "http://blog.prosody.im/feed/atom.xml"; +} +``` This example creates two nodes, 'planet\_jabber' and 'prosody\_blog' that clients can subscribe to using