frames.xml 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. <!--
  2. This file is part of centurio.work/wiz.
  3. centurio.work/wiz is free software: you can redistribute it and/or modify it
  4. under the terms of the GNU General Public License as published by the Free
  5. Software Foundation, either version 3 of the License, or (at your option) any
  6. later version.
  7. centurio.work/wiz is distributed in the hope that it will be useful, but
  8. WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  9. FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
  10. more details.
  11. You should have received a copy of the GNU General Public License along with
  12. centurio.work/wiz (file LICENSE in the main directory). If not, see
  13. <http://www.gnu.org/licenses/>.
  14. -->
  15. <description xmlns="http://riddl.org/ns/description/1.0" xmlns:ann="http://riddl.org/ns/annotation/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
  16. <message name="input">
  17. <parameter name="style_url" type="string"/>
  18. <parameter name="document_url" type="string"/>
  19. <optional>
  20. <parameter name="info" type="string"/>
  21. </optional>
  22. </message>
  23. <message name="ui">
  24. <parameter name="ui" mimetype="text/html"/>
  25. </message>
  26. <message name="callback">
  27. <header name="CPEE-CALLBACK" type="boolean"/>
  28. </message>
  29. <message name="url">
  30. <parameter name="url" mimetype="text/plain"/>
  31. </message>
  32. <message name="langs">
  33. <parameter name="langs" mimetype="*/xml">
  34. <xi:include href="rngs/langs.rng"/>
  35. </parameter>
  36. </message>
  37. <message name="opa">
  38. <parameter name="op" fixed="error"/>
  39. <parameter name="reason" type="string"/>
  40. </message>
  41. <message name="opb">
  42. <parameter name="op" fixed="result"/>
  43. <parameter name="value" mimetype="application/json"/>
  44. </message>
  45. <message name="json">
  46. <parameter name="value" mimetype="application/json"/>
  47. </message>
  48. <resource>
  49. <resource>
  50. <get out="ui"/>
  51. <put in='input' out="callback"/>
  52. <delete in='opa'/>
  53. <delete in='opb'/>
  54. <resource relative='sse'>
  55. <sse/>
  56. </resource>
  57. <resource relative="languages">
  58. <get out="langs"/>
  59. </resource>
  60. <resource relative="style.url">
  61. <get out="url"/>
  62. </resource>
  63. <resource relative="documents">
  64. <resource relative="[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*">
  65. <get out="url"/>
  66. </resource>
  67. </resource>
  68. <resource relative="info.json">
  69. <get out="json"/>
  70. </resource>
  71. </resource>
  72. </resource>
  73. </description>