Greetings, Pardon for triple posting. Please ignore the following note of the previous message.
Therefore, reactions managed within Atom Syndication Format entries, would also reduce the number of items per node, which would save storage and bandwidth.
One might post comments several times, so there is no need to join comments and reactions, but to add a mean to classify comments and reaction. Kindly, Schimon On Thu, 5 Sep 2024 10:11:21 +0300 Schimon Jehudah <sch@fedora.email> wrote:
I have attached a screenshot to this message.
The screenshot is of Rivista which reads data posted at Movim. https://mov.im/node/pubsub.movim.eu/gamingopensource/cast-out-the-heretic-ga...
Observed node ------------- xmpp:comments.movim.eu?;node=urn:xmpp:microblog:0:comments/cast-out-the-heretic-gamingopensource-Of3VT1
Observed items -------------- yvelia Mon, 25 Jul 2022 06:20:15 GMT Also flathub exists, if one doesn't mind flatpaks.
kris Fri, 11 Feb 2022 20:40:36 GMT https://freegamedev.net and https://libregaming.org are nice open-source game communities.
kris Fri, 11 Feb 2022 20:39:24 GMT ♥
Notice that Kris has, in fact, posted a couple of comments, yet he probably had an intentention to post a single comment, and add a reaction to the post to which a comment was made.
Observed items -------------- xmpp:comments.movim.eu?;node=urn:xmpp:microblog:0:comments/cast-out-the-heretic-gamingopensource-Of3VT1;item=5c9bbf68-bc1a-41f7-b484-bed8a922d9eb xmpp:comments.movim.eu?;node=urn:xmpp:microblog:0:comments/cast-out-the-heretic-gamingopensource-Of3VT1;item=26726837-c3b1-4dee-9643-3042c0b54b8c
Therefore, reactions managed within Atom Syndication Format entries, would also reduce the number of items per node, which would save storage and bandwidth.
Kind regards, Schimon
On Thu, 5 Sep 2024 08:28:27 +0300 Schimon Jehudah <sch@fedora.email> wrote:
Good day!
I am working on Rivista[1], which is a journal publisher for XMPP.
I test instances of Libervia and Movim against Rivista.
Most of the tests are conducted against the official instance of Movim.
The matter of this message is concerning to Adding a Comment[2] (clause 3.2 to XEP-0277).
I have noticed that "reactions" are manifested exactly the same as comments, inside element title.
The couple of indications that a comment is a reaction are:
1) Element title has a single character; or 2) The character or character combination is included in the range of characters that are dedicated for reactions.
I would suggest to use a classifier.
1) Use element title as a classifier of post type, either a comment or a reaction, and use element summary as a handler for the comment itself; or
2) Use element category (e.g. xmpp:comment and xmpp:reaction); or
3) Utilize "Extension Elements" (clause 6.4 to RFC 4287).
I think that solution #3 would be the ideal solution.
Current ------- <entry xmlns='http://www.w3.org/2005/Atom'> <author> <name>Juliet Capulet</name> <uri>xmpp:juliet@capulet.lit</uri> </author> <title type='text'>She is so pretty!</title> <published>2008-05-08T18:39:02Z</published> </entry>
Title as an indicator --------------------- <entry xmlns='http://www.w3.org/2005/Atom'> <author> <name>Juliet Capulet</name> <uri>xmpp:juliet@capulet.lit</uri> </author> <title type='text'>comment</title> <summary type='text'>She is so pretty!</summary> <published>2008-05-08T18:39:02Z</published> </entry>
Category as an indicator ------------------------ <entry xmlns='http://www.w3.org/2005/Atom'> <author> <name>Juliet Capulet</name> <uri>xmpp:juliet@capulet.lit</uri> </author> <title type='text'>She is so pretty!</title> <category term='xmpp:comment'/> <published>2008-05-08T18:39:02Z</published> </entry>
A dedicated extension --------------------- <feed xmlns="http://www.w3.org/2005/Atom" xmlns:reactions="http://xmpp.org/2024/reactions">
For comments:
<!-- Custom Reactions Extension --> <entry xmlns='http://www.w3.org/2005/Atom'> <author> <name>Juliet Capulet</name> <uri>xmpp:juliet@capulet.lit</uri> </author> <title type='text'>She is so pretty!</title> <reactions:reaction type="💡️"/> <reactions:reaction type="👍️"/> <published>2008-05-08T18:39:02Z</published> </entry>
For posts:
<!-- Custom Reactions Extension --> <reactions:reaction type="✒️" count="10"/> <reactions:reaction type="💡️" count="2"/> <reactions:reaction type="👍️" count="5"/>
Kind regards, Schimon
[1]: https://git.xmpp-it.net/sch/Rivista [2]: https://xmpp.org/extensions/xep-0277.html#comment_add _______________________________________________ Standards mailing list -- standards@xmpp.org To unsubscribe send an email to standards-leave@xmpp.org