mirror of
https://github.com/moparisthebest/xeps
synced 2025-02-07 02:40:22 -05:00
XEP-0369: specify subjects natural language
This commit is contained in:
parent
6270772d6c
commit
41a14b0ae2
15
xep-0369.xml
15
xep-0369.xml
@ -204,12 +204,15 @@
|
|||||||
<p>Private Messages are not stored in the messages node.</p>
|
<p>Private Messages are not stored in the messages node.</p>
|
||||||
</section3>
|
</section3>
|
||||||
<section3 topic="Subject Node" anchor="subject-node">
|
<section3 topic="Subject Node" anchor="subject-node">
|
||||||
<p>The subject node publishes the current subject of channel. Subject history is stored in MAM. The id of each node is the current value of the channel subject. A single item is stored in this node at a time. Users subscribe to this node to receive subject updates. The following example shows the format of a item in the Subject node.</p>
|
<p>The subject node publishes the current subject of channel. Subject history is stored in MAM. A single item is stored in this node at a time which may contain one or more "text" elements that SHOULD posess an xml:lang attribute that describes the natural language of the subject. Users subscribe to this node to receive subject updates. The following example shows the format of a item in the subject node.</p>
|
||||||
<example caption="Subject Node"><![CDATA[
|
<!-- TODO: Get someone who isn't Google Translate to make sure this doesn't say something it shouldn't… -->
|
||||||
<items node='urn:xmpp:mix:nodes:subject'>
|
<example caption="Subject Node">
|
||||||
<item id='How to use Toads' />
|
<![CDATA[<items node='urn:xmpp:mix:nodes:subject'>
|
||||||
</items>
|
<item>
|
||||||
]]></example>
|
<text xml:lang="en">How to use Toads</text>
|
||||||
|
<text xml:lang="de">Wie zu verwenden Kröten</text>
|
||||||
|
</item>
|
||||||
|
</items>]]></example>
|
||||||
</section3>
|
</section3>
|
||||||
<section3 topic="Participants Node" anchor="participants-node">
|
<section3 topic="Participants Node" anchor="participants-node">
|
||||||
<p>Each channel participant is represented as an item of the 'urn:xmpp:mix:nodes:participants' channel node. Each item is named by the bare JID of the participant. For example 'coven+123456@mix.shakespeare.example' might name the node item associated with participant 'hag66@shakespeare.example'. The nick associated with the user is mandatory and is stored in the item.
|
<p>Each channel participant is represented as an item of the 'urn:xmpp:mix:nodes:participants' channel node. Each item is named by the bare JID of the participant. For example 'coven+123456@mix.shakespeare.example' might name the node item associated with participant 'hag66@shakespeare.example'. The nick associated with the user is mandatory and is stored in the item.
|
||||||
|
Loading…
Reference in New Issue
Block a user