mirror of
https://github.com/moparisthebest/xeps
synced 2024-11-28 12:12:22 -05:00
Merge branches 'feature/xep-0144', 'feature/xep-0277' and 'feature/xep-0373'
This commit is contained in:
commit
0fed18bac5
@ -34,6 +34,12 @@
|
|||||||
<jid>valerian@jappix.com</jid>
|
<jid>valerian@jappix.com</jid>
|
||||||
<uri>https://valeriansaliou.name/</uri>
|
<uri>https://valeriansaliou.name/</uri>
|
||||||
</author>
|
</author>
|
||||||
|
<revision>
|
||||||
|
<version>0.6.2</version>
|
||||||
|
<date>2017-11-28</date>
|
||||||
|
<initials>fs (XEP Editor: jwi)</initials>
|
||||||
|
<remark>Editing</remark>
|
||||||
|
</revision>
|
||||||
<revision>
|
<revision>
|
||||||
<version>0.6.1</version>
|
<version>0.6.1</version>
|
||||||
<date>2015-12-09</date>
|
<date>2015-12-09</date>
|
||||||
@ -98,10 +104,11 @@
|
|||||||
|
|
||||||
<section1 topic='Protocol' anchor='proto'>
|
<section1 topic='Protocol' anchor='proto'>
|
||||||
<section2 topic='Location' anchor='location'>
|
<section2 topic='Location' anchor='location'>
|
||||||
<p>A person's microblog SHOULD be located at a personal eventing (PEP) node whose name is "urn:xmpp:microblog:0" but MAY be located at a generic publish-subscribe node that is not attached to a user's IM account. For instance, if the Shakespearean character Romeo has a JabberID of <romeo@montague.lit> then his microblog would be located at that JID with a node of "urn:xmpp:microblog:0". Outside of native XMPP systems, this node can be referred to as the following XMPP URI (the ":" character from the namespace URN is percent-encoded in the query component; see &rfc5122; and &rfc3986;).</p>
|
<p>A person's microblog SHOULD be located at a personal eventing (PEP) node whose name is "urn:xmpp:microblog:0" but MAY be located at a generic publish-subscribe node that is not attached to a user's IM account. For instance, if the Shakespearean character Romeo has a JabberID of <romeo@montague.lit> then his microblog would be located at that JID with a node of "urn:xmpp:microblog:0". Outside of native XMPP systems, this node can be referred to as the following XMPP URI (see <cite>XEP-0060 § 12.21</cite>).</p>
|
||||||
<code><![CDATA[
|
<code><![CDATA[
|
||||||
xmpp:romeo@montague.lit?;node=urn%3Axmpp%3Amicroblog%3A0
|
xmpp:romeo@montague.lit?;node=urn%3Axmpp%3Amicroblog%3A0
|
||||||
]]></code>
|
]]></code>
|
||||||
|
<p>Note that the ":" character from the namespace URN is percent-encoded in the query component (see &rfc5122; and &rfc3986;).</p>
|
||||||
<p>Naturally, this node can be discovered by contacting romeo@montague.lit directly using &xep0030;.</p>
|
<p>Naturally, this node can be discovered by contacting romeo@montague.lit directly using &xep0030;.</p>
|
||||||
</section2>
|
</section2>
|
||||||
<section2 topic='Subscribing to a Microblog' anchor='subscribe'>
|
<section2 topic='Subscribing to a Microblog' anchor='subscribe'>
|
||||||
|
36
xep-0373.xml
36
xep-0373.xml
@ -18,7 +18,7 @@
|
|||||||
devices.</abstract>
|
devices.</abstract>
|
||||||
&LEGALNOTICE;
|
&LEGALNOTICE;
|
||||||
<number>0373</number>
|
<number>0373</number>
|
||||||
<status>Deferred</status>
|
<status>Experimental</status>
|
||||||
<type>Standards Track</type>
|
<type>Standards Track</type>
|
||||||
<sig>Standards</sig>
|
<sig>Standards</sig>
|
||||||
<approver>Council</approver>
|
<approver>Council</approver>
|
||||||
@ -46,6 +46,17 @@
|
|||||||
<email>look@my.amazin.horse</email>
|
<email>look@my.amazin.horse</email>
|
||||||
<jid>valodim@stratum0.org</jid>
|
<jid>valodim@stratum0.org</jid>
|
||||||
</author>
|
</author>
|
||||||
|
<revision>
|
||||||
|
<version>0.2.1</version>
|
||||||
|
<date>2017-11-13</date>
|
||||||
|
<initials>fs</initials>
|
||||||
|
<remark>
|
||||||
|
<ul>
|
||||||
|
<li>Recommend setting the PubSub configuration field 'send_last_published_item' to 'on_sub'.</li>
|
||||||
|
<li>Only recommend persistent PubSub nodes.</li>
|
||||||
|
</ul>
|
||||||
|
</remark>
|
||||||
|
</revision>
|
||||||
<revision>
|
<revision>
|
||||||
<version>0.2</version>
|
<version>0.2</version>
|
||||||
<date>2017-09-11</date>
|
<date>2017-09-11</date>
|
||||||
@ -265,9 +276,9 @@
|
|||||||
child element of the <pubkeys/> element qualified by the
|
child element of the <pubkeys/> element qualified by the
|
||||||
'urn:xmpp:openpgp:0' namespace. Note that OpenPGP's ASCII Armor is
|
'urn:xmpp:openpgp:0' namespace. Note that OpenPGP's ASCII Armor is
|
||||||
not used, instead the XMPP client MUST encode the public key using
|
not used, instead the XMPP client MUST encode the public key using
|
||||||
Base64. Client SHOULD only try to store the public key if the
|
Base64. Clients MAY only try to store the public key if the
|
||||||
Personal Eventing Protocol service supports persistent-items, thus
|
Personal Eventing Protocol service supports persistent-items, thus
|
||||||
it SHOULD check if the service reports the
|
they possibly check if the service reports the
|
||||||
'http://jabber.org/protocol/pubsub#persistent-items' feature.</p>
|
'http://jabber.org/protocol/pubsub#persistent-items' feature.</p>
|
||||||
|
|
||||||
<example caption='Saving the public key in the PEP node.'><![CDATA[
|
<example caption='Saving the public key in the PEP node.'><![CDATA[
|
||||||
@ -487,6 +498,9 @@
|
|||||||
<field var='pubsub#access_model'>
|
<field var='pubsub#access_model'>
|
||||||
<value>whitelist</value>
|
<value>whitelist</value>
|
||||||
</field>
|
</field>
|
||||||
|
<field var='pubsub#send_last_published_item'>
|
||||||
|
<value>on_sub</value>
|
||||||
|
</field>
|
||||||
</x>
|
</x>
|
||||||
</configure>
|
</configure>
|
||||||
</pubsub>
|
</pubsub>
|
||||||
@ -556,6 +570,16 @@
|
|||||||
|
|
||||||
</section2>
|
</section2>
|
||||||
|
|
||||||
|
<section2 topic='PubSub Node Configuration' anchor='pubsub-node-configuration'>
|
||||||
|
|
||||||
|
<p>The PubSub nodes specified by herein SHOULD be configured to either never send the latest
|
||||||
|
item, or to send the latest item only when a new entity subscribed. Thus the nodes
|
||||||
|
'send_last_published_item' configuration option SHOULD be set to either 'never' or 'on_sub' (see
|
||||||
|
<cite>XEP-0060</cite> <link
|
||||||
|
url='https://xmpp.org/extensions/xep-0060.html#registrar-formtypes-config'>§ 16.4.4</link>).</p>
|
||||||
|
|
||||||
|
</section2>
|
||||||
|
|
||||||
</section1>
|
</section1>
|
||||||
|
|
||||||
<section1 topic='Implementors Advice' anchor='implementors-advice'>
|
<section1 topic='Implementors Advice' anchor='implementors-advice'>
|
||||||
@ -619,7 +643,6 @@
|
|||||||
|
|
||||||
<section2 topic='XMPP Address Normalization' anchor='xmpp-address-normalization'>
|
<section2 topic='XMPP Address Normalization' anchor='xmpp-address-normalization'>
|
||||||
|
|
||||||
<!-- TODO s/6122/7622/ after https://github.com/xsf/xeps/pull/138 -->
|
|
||||||
<p>The format of XMPP addresses, sometimes called JIDs, is well
|
<p>The format of XMPP addresses, sometimes called JIDs, is well
|
||||||
defined. Thus they need to be normalized, as defined in
|
defined. Thus they need to be normalized, as defined in
|
||||||
&rfc7622;. When implementations are required to compare XMPP
|
&rfc7622;. When implementations are required to compare XMPP
|
||||||
@ -781,3 +804,8 @@
|
|||||||
|
|
||||||
</section1>
|
</section1>
|
||||||
</xep>
|
</xep>
|
||||||
|
|
||||||
|
<!-- Local Variables: -->
|
||||||
|
<!-- fill-column: 100 -->
|
||||||
|
<!-- indent-tabs-mode: nil -->
|
||||||
|
<!-- End: -->
|
||||||
|
Loading…
Reference in New Issue
Block a user