mirror of
https://github.com/moparisthebest/xeps
synced 2025-01-30 15:00:09 -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>
|
||||
</section3>
|
||||
<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>
|
||||
<example caption="Subject Node"><![CDATA[
|
||||
<items node='urn:xmpp:mix:nodes:subject'>
|
||||
<item id='How to use Toads' />
|
||||
</items>
|
||||
]]></example>
|
||||
<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>
|
||||
<!-- TODO: Get someone who isn't Google Translate to make sure this doesn't say something it shouldn't… -->
|
||||
<example caption="Subject Node">
|
||||
<![CDATA[<items node='urn:xmpp:mix:nodes:subject'>
|
||||
<item>
|
||||
<text xml:lang="en">How to use Toads</text>
|
||||
<text xml:lang="de">Wie zu verwenden Kröten</text>
|
||||
</item>
|
||||
</items>]]></example>
|
||||
</section3>
|
||||
<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.
|
||||
|
Loading…
Reference in New Issue
Block a user