author | Kim Alvefur <zash@zash.se> |
Sun, 27 May 2018 16:18:07 +0200 | |
changeset 3052 | 4e8f73402577 |
parent 1897 | 8064b5e346ab |
child 3053 | 268f55bd3c81 |
permissions | -rw-r--r-- |
1807 | 1 |
--- |
2 |
summary: Subscribe to Atom and RSS feeds over pubsub |
|
3052
4e8f73402577
mod_pubsub_feeds/README: Normalize Markdown syntax
Kim Alvefur <zash@zash.se>
parents:
1897
diff
changeset
|
3 |
--- |
1807 | 4 |
|
3052
4e8f73402577
mod_pubsub_feeds/README: Normalize Markdown syntax
Kim Alvefur <zash@zash.se>
parents:
1897
diff
changeset
|
5 |
# Introduction |
1807 | 6 |
|
7 |
This module allows Prosody to fetch Atom and RSS feeds for you, and push |
|
8 |
new results to subscribers over XMPP. |
|
9 |
||
10 |
This module also implements a |
|
11 |
[PubSubHubbub](http://pubsubhubbub.googlecode.com/svn/trunk/pubsubhubbub-core-0.3.html) |
|
12 |
subscriber, allowing updates be delivered without polling for supporting |
|
13 |
feed publishers. |
|
14 |
||
3052
4e8f73402577
mod_pubsub_feeds/README: Normalize Markdown syntax
Kim Alvefur <zash@zash.se>
parents:
1897
diff
changeset
|
15 |
# Configuration |
1807 | 16 |
|
1897
8064b5e346ab
mod_pubsub_feeds/README: Update wording to be clearer
Kim Alvefur <zash@zash.se>
parents:
1896
diff
changeset
|
17 |
This module needs to be be loaded together with |
8064b5e346ab
mod_pubsub_feeds/README: Update wording to be clearer
Kim Alvefur <zash@zash.se>
parents:
1896
diff
changeset
|
18 |
[mod\_pubsub][doc:modules:mod\_pubsub]. |
8064b5e346ab
mod_pubsub_feeds/README: Update wording to be clearer
Kim Alvefur <zash@zash.se>
parents:
1896
diff
changeset
|
19 |
|
8064b5e346ab
mod_pubsub_feeds/README: Update wording to be clearer
Kim Alvefur <zash@zash.se>
parents:
1896
diff
changeset
|
20 |
For example, this is how you could add it to an existing pubsub |
8064b5e346ab
mod_pubsub_feeds/README: Update wording to be clearer
Kim Alvefur <zash@zash.se>
parents:
1896
diff
changeset
|
21 |
component: |
1807 | 22 |
|
1824
8de50be756e5
Various README files: Correct indentation levels, fix syntax and other small fixes
Kim Alvefur <zash@zash.se>
parents:
1807
diff
changeset
|
23 |
``` lua |
8de50be756e5
Various README files: Correct indentation levels, fix syntax and other small fixes
Kim Alvefur <zash@zash.se>
parents:
1807
diff
changeset
|
24 |
Component "pubsub.example.com" "pubsub" |
8de50be756e5
Various README files: Correct indentation levels, fix syntax and other small fixes
Kim Alvefur <zash@zash.se>
parents:
1807
diff
changeset
|
25 |
modules_enabled = { "pubsub_feeds" } |
1807 | 26 |
|
1824
8de50be756e5
Various README files: Correct indentation levels, fix syntax and other small fixes
Kim Alvefur <zash@zash.se>
parents:
1807
diff
changeset
|
27 |
feeds = { |
8de50be756e5
Various README files: Correct indentation levels, fix syntax and other small fixes
Kim Alvefur <zash@zash.se>
parents:
1807
diff
changeset
|
28 |
planet_jabber = "http://planet.jabber.org/atom.xml"; |
8de50be756e5
Various README files: Correct indentation levels, fix syntax and other small fixes
Kim Alvefur <zash@zash.se>
parents:
1807
diff
changeset
|
29 |
prosody_blog = "http://blog.prosody.im/feed/atom.xml"; |
8de50be756e5
Various README files: Correct indentation levels, fix syntax and other small fixes
Kim Alvefur <zash@zash.se>
parents:
1807
diff
changeset
|
30 |
} |
8de50be756e5
Various README files: Correct indentation levels, fix syntax and other small fixes
Kim Alvefur <zash@zash.se>
parents:
1807
diff
changeset
|
31 |
``` |
1807 | 32 |
|
33 |
This example creates two nodes, 'planet\_jabber' and 'prosody\_blog' |
|
34 |
that clients can subscribe to using |
|
35 |
[XEP-0060](http://xmpp.org/extensions/xep-0060.html). Results are in |
|
36 |
[ATOM 1.0 format](http://atomenabled.org/) for easy consumption. |
|
37 |
||
38 |
Option Description |
|
39 |
---------------------- ------------------------------------------------------------------------- |
|
40 |
feeds A list of virtual nodes to create and their associated Atom or RSS URL. |
|
41 |
feed\_pull\_interval Number of minutes between polling for new results (default 15) |
|
42 |
use\_pubsubhubub If PubSubHubbub should be enabled, true by default. |
|
43 |
||
3052
4e8f73402577
mod_pubsub_feeds/README: Normalize Markdown syntax
Kim Alvefur <zash@zash.se>
parents:
1897
diff
changeset
|
44 |
# Compatibility |
1807 | 45 |
|
46 |
----- ------- |
|
47 |
0.9 Works |
|
48 |
----- ------- |