diff options
| author | Daniel Gnoutcheff <gnoutchd@softwarefreedom.org> | 2021-10-06 18:05:41 -0400 | 
|---|---|---|
| committer | Daniel Gnoutcheff <gnoutchd@softwarefreedom.org> | 2021-10-06 18:05:41 -0400 | 
| commit | 81bec92cadbe689c94ecc4279ed83f2f232111a6 (patch) | |
| tree | 83f0e8cd1eb7cf65adf4d372640ce38e0dc1109a | |
| parent | cd46edaf3e37da472965ef577667a946b99a3e4b (diff) | |
| -rw-r--r-- | sample-input.txt | 35 | 
1 files changed, 35 insertions, 0 deletions
| diff --git a/sample-input.txt b/sample-input.txt new file mode 100644 index 0000000..d8c4a31 --- /dev/null +++ b/sample-input.txt @@ -0,0 +1,35 @@ +<!-- A sequence of XML-RPC messages similar to what IkiWiki might send to --> +<!-- fast-pandoc's stdin. --> + +<!-- Initalization: IkiWiki calls import(). --> +<?xml version="1.0"?> +<methodCall><methodName>import</methodName></methodCall> + +<!-- fast-pandoc will issue a hook() call, which IkiWiki will respond to. --> +<?xml version="1.0"?> +<methodResponse><params><param><value><nil/></value></param></params></methodResponse> + +<!-- IkiWiki will call htmlize() zero or more times. --> + +<?xml version="1.0"?> +<methodCall> +  <methodName>htmlize</methodName> +  <params> +    <param><value><string>content</string></value></param> +    <param><value><string>This is *test* text!  This is still more test text.  This is even more test text. + +This is yet more test text.  This is still even more test text.  This is more test text than anyone ever asked for.</string></value></param> +</params></methodCall> + +<?xml version="1.0"?> +<methodCall> +  <methodName>htmlize</methodName> +  <params> +    <param><value><string>content</string></value></param> +    <param><value><string>This is *test* text!  This is still more test text.  This is even more test text. + + +This is text in "quotes", yay! + +This is yet more test text.  This is still even more test text.  This is more test text than anyone ever asked for.</string></value></param> +</params></methodCall> | 
