From a8c1e49c60653af7f8d06935c86aba26ba83b5ff Mon Sep 17 00:00:00 2001 From: Melvin Keskin Date: Thu, 7 Sep 2023 09:38:22 +0200 Subject: [PATCH] XEP-0060: Release version 1.26.0 Add examples for publishing item without ID --- xep-0060.xml | 47 ++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 46 insertions(+), 1 deletion(-) diff --git a/xep-0060.xml b/xep-0060.xml index 743079311..72e4101d3 100644 --- a/xep-0060.xml +++ b/xep-0060.xml @@ -50,6 +50,14 @@ &pgmillard; &stpeter; &ralphm; + + 1.26.0 + 2023-09-07 + melvo + +

Add examples for publishing item without ID

+
+
1.25.0 2023-03-22 @@ -2761,7 +2769,6 @@ And by opposing end them?
  • Depending on the node configuration, the <publish/> element MAY contain no &ITEM; elements or one &ITEM; element. The inclusion of more than one &ITEM; element is no longer allowed, given the removal of batch publishing from version 1.13 of this specification. It is not necessary for a publication request to include a payload or even an &ITEM; element in order to trigger an event notification. For example, the result of publishing to a transient, notification-only node will be an event notification that does not include even an &ITEM; element. However, for the sake of convenience we refer to the act of publication as "publishing an item" (rather than, say, "triggering an event notification") even though a publication request will not always contain an &ITEM; element.
  • The <item/> element provided by the publisher MAY possess an 'id' attribute, specifying a unique ItemID for the item. If an ItemID is not provided in the publish request, the pubsub service MUST generate one and MUST ensure that it is unique for that node.
  • -

    An example follows.

    +]]> + + + + + + Soliloquy + +To be, or not to be: that is the question: +Whether 'tis nobler in the mind to suffer +The slings and arrows of outrageous fortune, +Or to take arms against a sea of troubles, +And by opposing end them? + + + tag:denmark.lit,2003:entry-32397 + 2003-12-13T18:30:02Z + 2003-12-13T18:30:02Z + + + + + ]]> @@ -2798,6 +2833,16 @@ And by opposing end them? from='pubsub.shakespeare.lit' to='hamlet@denmark.lit/blogbot' id='publish1'> + + + + +]]> +