changeset 3153:e0de1fdbc80a

mod_pubsub_post/README: Describe what happens to different data types
author Kim Alvefur <zash@zash.se>
date Wed, 27 Jun 2018 17:35:20 +0200
parents 882f7d5c3ce8
children 59dd0cdae560
files mod_pubsub_post/README.markdown
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mod_pubsub_post/README.markdown	Wed Jun 27 17:27:44 2018 +0200
+++ b/mod_pubsub_post/README.markdown	Wed Jun 27 17:35:20 2018 +0200
@@ -10,6 +10,11 @@
     --data-binary '{"musing":"To be, or not to be: that is the question"}'
 ```
 
+-   JSON data is wrapped in a [XEP-0335] container.
+-   An Atom feed may have many `<entry>` and each one is published as
+    its own PubSub item.
+-   Other XML is simply published to a randomly named item as-is.
+
 # Configuration
 
 ## Authentication