No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

xep-0061.xml 2.9KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. <?xml version='1.0' encoding='UTF-8'?>
  2. <!DOCTYPE xep SYSTEM 'xep.dtd' [
  3. <!ENTITY % ents SYSTEM "xep.ent">
  4. %ents;
  5. ]>
  6. <?xml-stylesheet type='text/xsl' href='xep.xsl'?>
  7. <xep>
  8. <header>
  9. <title>Shared Notes</title>
  10. <abstract>A simplistic mechanism for shared notes, modeled after common stickie note applications.</abstract>
  11. &LEGALNOTICE;
  12. <number>0061</number>
  13. <status>Deferred</status>
  14. <type>Informational</type>
  15. <sig>Standards</sig>
  16. <dependencies><spec>XMPP Core</spec></dependencies>
  17. <supersedes/>
  18. <supersededby/>
  19. <shortname>Not yet assigned</shortname>
  20. <author>
  21. <firstname>Jeremie</firstname>
  22. <surname>Miller</surname>
  23. <email>jer@jabber.org</email>
  24. <jid>jer@jabber.org</jid>
  25. </author>
  26. <revision>
  27. <version>0.2</version>
  28. <date>2003-09-30</date>
  29. <initials>psa</initials>
  30. <remark>At the request of the author, changed the status of this document to Deferred pending development of an implementation; also changed the type to Informational.</remark>
  31. </revision>
  32. <revision>
  33. <version>0.1</version>
  34. <date>2002-12-06</date>
  35. <initials>jer</initials>
  36. <remark>Initial version.</remark>
  37. </revision>
  38. </header>
  39. <section1 topic='Introduction'>
  40. <p>A very simple namespace contaning display hints for the content in a message. Can be used for
  41. person-person collaboration, or by a service managing notes.</p>
  42. </section1>
  43. <section1 topic='Message Extension'>
  44. <p>Normal messages are sent, with a sharednote namespace extending them hinting to any supporting client on
  45. how to display the message as a note instead. Any changes to the note within that client should then be sent
  46. back to the sender, either automatically or when the user saves the note (depending on the update element, by
  47. default on a save action by the user).</p>
  48. <example caption='An Example Shared Note Message'><![CDATA[
  49. <message from="jer@jabber.org/foo" to="stpeter@jabber.org/bar">
  50. <thread>1X544O</thread>
  51. <subject>Council Votes</subject>
  52. <body>Need votes from bob, tom, and jane yet for XEP-0000</body>
  53. <note xmlns="http://www.jabber.org/protocol/sharednote">
  54. <color>#001122</color>
  55. <bgcolor>#221100</bgcolor>
  56. <font>font-name</font>
  57. <x>%left</x>
  58. <y>%top</y>
  59. <z>#</z>
  60. <width>%</width>
  61. <height>%</height>
  62. <update>auto|user</update>
  63. </note>
  64. </message>
  65. ]]></example>
  66. <p>Any element not specified in the note should use the last known setting or client defaults, so that when a
  67. change is sent, only the changed elements are returned.</p>
  68. </section1>
  69. <section1 topic='Implementation Notes'>
  70. <p>Each thread is a different shared note. Auto updates should use an internal client timer and batch large
  71. changes into chunks, when the user is typing every 5-10 seconds or so. When the user has made changes that
  72. haven't been sent and an update comes in on the same thread the client should prompt the user with the
  73. changes offering to replace or save their changes.</p>
  74. </section1>
  75. </xep>