comparison mod_pubsub_post/README.markdown @ 4636:6bcccc63b542

mod_pubsub_post: fix incorrect claim The code clearly publishes to ID current, not to a random ID.
author Jonas Schäfer <jonas@wielicki.name>
date Thu, 29 Jul 2021 17:23:08 +0200
parents c87181a98f29
children 8d4b91a703af
comparison
equal deleted inserted replaced
4635:415264707251 4636:6bcccc63b542
12 indicated via the `Content-Type` header. 12 indicated via the `Content-Type` header.
13 13
14 - JSON data is wrapped in a [XEP-0335] container. 14 - JSON data is wrapped in a [XEP-0335] container.
15 - An Atom feed may have many `<entry>` and each one is published as 15 - An Atom feed may have many `<entry>` and each one is published as
16 its own PubSub item. 16 its own PubSub item.
17 - Other XML is simply published to a randomly named item as-is. 17 - Other XML is simply published to the item with ID `current`.
18 18
19 ## JSON example 19 ## JSON example
20 20
21 ``` {.bash} 21 ``` {.bash}
22 curl http://localhost:5280/pubsub_post/princely_musings \ 22 curl http://localhost:5280/pubsub_post/princely_musings \