annotate mod_pubsub_hub/README.markdown @ 4738:5aee8d86629a

mod_bookmarks2: Fix handling of nick and password elements This form of child retrieval fails when the stanza elements internally don't have an 'xmlns' attribute, which can happen sometimes for some reason, including when they have been constructed via the stanza builder API. When that is the case then the explicit namespace arguemnt does not match the nil value of the internal attribute. Calling `:get_child()` without the namespace argument does the right thing here, with both nil and the parent namespace as valid values for the internal attribute.
author Kim Alvefur <zash@zash.se>
date Wed, 03 Nov 2021 21:11:55 +0100
parents f933e3909795
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1803
4d73a1a6ba68 Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1 ---
1986
9e268b4fba08 mod_pubsub_hub/README: Update a little bit
Kim Alvefur <zash@zash.se>
parents: 1803
diff changeset
2 summary: PubSubHubbub hub
1803
4d73a1a6ba68 Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
diff changeset
3 ...
4d73a1a6ba68 Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
diff changeset
4
4d73a1a6ba68 Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
diff changeset
5 Introduction
1986
9e268b4fba08 mod_pubsub_hub/README: Update a little bit
Kim Alvefur <zash@zash.se>
parents: 1803
diff changeset
6 ============
1803
4d73a1a6ba68 Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
diff changeset
7
4d73a1a6ba68 Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
diff changeset
8 This module implements a
2330
f933e3909795 mod_pubsub_hub/README: Update specification link
Kim Alvefur <zash@zash.se>
parents: 1986
diff changeset
9 [PubSubHubbub](http://pubsubhubbub.github.io/PubSubHubbub/pubsubhubbub-core-0.3.html)
1986
9e268b4fba08 mod_pubsub_hub/README: Update a little bit
Kim Alvefur <zash@zash.se>
parents: 1803
diff changeset
10 (PuSH) hub, allowing PuSH clients to subscribe to local XMPP
1803
4d73a1a6ba68 Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
diff changeset
11 [Publish-Subscribe](http://xmpp.org/extensions/xep-0060.html) nodes
1986
9e268b4fba08 mod_pubsub_hub/README: Update a little bit
Kim Alvefur <zash@zash.se>
parents: 1803
diff changeset
12 stored by [mod\_pubsub](http://prosody.im/doc/modules/mod_pubsub) and
9e268b4fba08 mod_pubsub_hub/README: Update a little bit
Kim Alvefur <zash@zash.se>
parents: 1803
diff changeset
13 receive real time updates to feeds.
1803
4d73a1a6ba68 Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
diff changeset
14
4d73a1a6ba68 Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
diff changeset
15 Configuration
1986
9e268b4fba08 mod_pubsub_hub/README: Update a little bit
Kim Alvefur <zash@zash.se>
parents: 1803
diff changeset
16 =============
1803
4d73a1a6ba68 Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
diff changeset
17
4d73a1a6ba68 Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
diff changeset
18 Component "pubsub.example.com" "pubsub"
4d73a1a6ba68 Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
diff changeset
19
4d73a1a6ba68 Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
diff changeset
20 modules_enabled = {
4d73a1a6ba68 Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
diff changeset
21 "pubsub_hub";
4d73a1a6ba68 Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
diff changeset
22 }
4d73a1a6ba68 Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
diff changeset
23
1986
9e268b4fba08 mod_pubsub_hub/README: Update a little bit
Kim Alvefur <zash@zash.se>
parents: 1803
diff changeset
24 The hub is then available on `http://pubsub.example.com:5280/hub`.
1803
4d73a1a6ba68 Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
diff changeset
25
4d73a1a6ba68 Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
diff changeset
26 Compatibility
1986
9e268b4fba08 mod_pubsub_hub/README: Update a little bit
Kim Alvefur <zash@zash.se>
parents: 1803
diff changeset
27 =============
1803
4d73a1a6ba68 Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
diff changeset
28
4d73a1a6ba68 Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
diff changeset
29 ------- --------------
4d73a1a6ba68 Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
diff changeset
30 trunk Works
1986
9e268b4fba08 mod_pubsub_hub/README: Update a little bit
Kim Alvefur <zash@zash.se>
parents: 1803
diff changeset
31 0.10 Should work
1803
4d73a1a6ba68 Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
diff changeset
32 0.9 Works
4d73a1a6ba68 Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
diff changeset
33 0.8 Doesn't work
4d73a1a6ba68 Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
diff changeset
34 ------- --------------
1986
9e268b4fba08 mod_pubsub_hub/README: Update a little bit
Kim Alvefur <zash@zash.se>
parents: 1803
diff changeset
35
9e268b4fba08 mod_pubsub_hub/README: Update a little bit
Kim Alvefur <zash@zash.se>
parents: 1803
diff changeset
36