1
0
mirror of https://github.com/moparisthebest/xeps synced 2024-11-27 11:42:17 -05:00

Fix various XML issues

This commit is contained in:
Jonas Schäfer 2022-10-12 18:09:29 +02:00
parent 93a3b70196
commit 5600afd2ad

View File

@ -69,7 +69,7 @@
</section2> </section2>
<section2 topic='Publishing a Post' anchor='publish'> <section2 topic='Publishing a Post' anchor='publish'>
<p>The publication of a Post consist of a valid &rfc4287 entry embeded in a &xep0060; item.</p> <p>The publication of a Post consist of a valid &rfc4287; entry embeded in a &xep0060; item.</p>
<p>The post content itself can be either text (content element without "type" attribute or with "type" attribute with "text" value) or XHTML ("content" element "type" attribute with "xhtml" value). If Romeo publishes XHTML content, his client MUST publish two "content" elements: a text one, and a XHTML one. For XHTML publishing, see &xep0060;.</p> <p>The post content itself can be either text (content element without "type" attribute or with "type" attribute with "text" value) or XHTML ("content" element "type" attribute with "xhtml" value). If Romeo publishes XHTML content, his client MUST publish two "content" elements: a text one, and a XHTML one. For XHTML publishing, see &xep0060;.</p>
<example caption="Publishing a post"> <example caption="Publishing a post">
<![CDATA[ <![CDATA[
@ -316,7 +316,7 @@
<li>The "pubsub#deliver_payloads" SHOULD be set to `false`. The social content can be quite large so it is advised to let the clients to manually query the content if it is not already cached.</li> <li>The "pubsub#deliver_payloads" SHOULD be set to `false`. The social content can be quite large so it is advised to let the clients to manually query the content if it is not already cached.</li>
</ol> </ol>
</section3> </section3>
</secion2> </section2>
<section2 topic="Microblog profile" anchor="profile_microblog"> <section2 topic="Microblog profile" anchor="profile_microblog">
<p>This profile is defined by the PubSub type `urn:xmpp:microblog:0` as defined in &xep0277; and MUST be created and configured under the PEP `urn:xmpp:microblog:0` node.</p> <p>This profile is defined by the PubSub type `urn:xmpp:microblog:0` as defined in &xep0277; and MUST be created and configured under the PEP `urn:xmpp:microblog:0` node.</p>
@ -331,7 +331,7 @@
<li>The "pubsub#access_model" SHOULD be set to `presence` by default to allow the other presence JIDs to receive the newly published elements without an explicit subscription (using the +notify feature of &xep0163;).</li> <li>The "pubsub#access_model" SHOULD be set to `presence` by default to allow the other presence JIDs to receive the newly published elements without an explicit subscription (using the +notify feature of &xep0163;).</li>
</ol> </ol>
</section3> </section3>
</section> </section2>
<section2 topic="Gallery profile" anchor="profile_gallery"> <section2 topic="Gallery profile" anchor="profile_gallery">
<p>This profile is defined by the PubSub type `urn:xmpp:gallery:0` and can be hosted on any PubSub service.</p> <p>This profile is defined by the PubSub type `urn:xmpp:gallery:0` and can be hosted on any PubSub service.</p>
@ -341,7 +341,7 @@
<link rel='enclosure' href='https://capulet.lit/upload/romeo.jpg' type='image/jpeg' title='Romeo Portrait'/> <link rel='enclosure' href='https://capulet.lit/upload/romeo.jpg' type='image/jpeg' title='Romeo Portrait'/>
]]> ]]>
</example> </example>
</section> </section2>
</section1> </section1>
<section1 topic='Security Considerations' anchor='security'> <section1 topic='Security Considerations' anchor='security'>