Publish spoilers as XEP-0382

This commit is contained in:
Sam Whited 2016-12-07 10:36:02 -06:00
parent b860bc6c36
commit 084bc5c31b
1 changed files with 20 additions and 16 deletions

View File

@ -13,8 +13,8 @@
such. such.
</abstract> </abstract>
&LEGALNOTICE; &LEGALNOTICE;
<number>xxxx</number> <number>0382</number>
<status>ProtoXEP</status> <status>Experimental</status>
<type>Standards Track</type> <type>Standards Track</type>
<sig>Standards</sig> <sig>Standards</sig>
<approver>Council</approver> <approver>Council</approver>
@ -23,7 +23,7 @@
</dependencies> </dependencies>
<supersedes/> <supersedes/>
<supersededby/> <supersededby/>
<shortname>NOT_YET_ASSIGNED</shortname> <shortname>spoilers</shortname>
<author> <author>
<firstname>Severino</firstname> <firstname>Severino</firstname>
<surname>Ferrer de la Peñita</surname> <surname>Ferrer de la Peñita</surname>
@ -36,6 +36,12 @@
<email>vaulor@openmailbox.org</email> <email>vaulor@openmailbox.org</email>
<jid>vaulor@blastersklan.com</jid> <jid>vaulor@blastersklan.com</jid>
</author> </author>
<revision>
<version>0.1</version>
<date>2016-12-07</date>
<initials>XEP Editor: ssw</initials>
<remark><p>Initial version approved by the council.</p></remark>
</revision>
<revision> <revision>
<version>0.0.2</version> <version>0.0.2</version>
<date>2016-10-31</date> <date>2016-10-31</date>
@ -123,18 +129,16 @@
]]></example> ]]></example>
</section1> </section1>
<section1 topic='Business Rules' anchor='rules'> <section1 topic='Business Rules' anchor='rules'>
<p> <ol>
<ol> <li>It MUST be clear that a message is in fact a spoiler and its content MUST only be displayed upon
<li>It MUST be clear that a message is in fact a spoiler and its content MUST only be displayed upon user's request.</li>
user's request.</li> <li>Clients MAY provide a way to display spoilers always uncovered, without the need of interaction
<li>Clients MAY provide a way to display spoilers always uncovered, without the need of interaction by the user (e.g. in the client's settings).</li>
by the user (e.g. in the client's settings).</li> <li>Clients SHOULD display spoiler's hint, if any, before showing message's content.</li>
<li>Clients SHOULD display spoiler's hint, if any, before showing message's content.</li> <li>Clients MAY display spoiler's hint even after showing message's content (e.g. as a header or
<li>Clients MAY display spoiler's hint even after showing message's content (e.g. as a header or title of the message).</li>
title of the message).</li> <li>Users SHOULD uncover or hide a spoiler message at will, anytime.</li>
<li>Users SHOULD uncover or hide a spoiler message at will, anytime.</li> </ol>
</ol>
</p>
</section1> </section1>
<section1 topic='Security Considerations' anchor='security'> <section1 topic='Security Considerations' anchor='security'>
<p> <p>
@ -161,7 +165,7 @@
<var> <var>
<name>urn:xmpp:spoiler:0</name> <name>urn:xmpp:spoiler:0</name>
<desc>Indicates that a message's content should not be displayed by default.</desc> <desc>Indicates that a message's content should not be displayed by default.</desc>
<doc>xxxx</doc> <doc>0382</doc>
</var> </var>
]]></code> ]]></code>
</section2> </section2>