@@ -20,4 +20,4 @@ Adam Hyde, Coko Foundation cofounder and longtime web-based publishing platform
Word documents are essentially - and ironically - poorly structured XML documents, and it was a challenge to find a good XML programmer willing to try to impose order on such a chaotic input. After all, you can't go from unstructured to structured data, right? Enter Wendell Piez, a seasoned XML expert who wasn't afraid of ambiguity. Accepting that author inputs aren't nicely structured, it could still be possible extract content and formatting from the XML into HTML and CSS, and then given the proper tools, a human could take it the last mile and end up with a nicely structured HTML document.
Since then, Wendell and Alex Theg have developed XSweet for use with many Coko products including [Editoria](https://editoria.pub/"editoria.pub"), an open source, in-browser book production platform, and xpub - a journal platform. Editoria and xpub both use XSweet to ingest author Word files as HTML that can be edited and styled in a WYSIWYG editor, then instantly exported in a variety of formats. Today, XSweet has grown into a powerful tool that can support virtually any web-based publishing platform. We are excited to continue development and see how it is used.
\ No newline at end of file
Since then, Wendell and Alex Theg have developed XSweet for use with many Coko products including [Ketida](https://ketida.community/"ketida.community")(previously named Editoria), an open source, in-browser book production platform, and xpub - a journal platform. Ketida and xpub both use XSweet to ingest author Word files as HTML that can be edited and styled in a WYSIWYG editor, then instantly exported in a variety of formats. Today, XSweet has grown into a powerful tool that can support virtually any web-based publishing platform. We are excited to continue development and see how it is used.
Editoria Typescript transforms HTML into a format required for the Coko Foundation's [Wax](https://gitlab.coko.foundation/wax/wax"gitlab.coko.foundation/wax") WYSIWYG word processor for [Editoria](https://editoria.pub/"editoria.pub"). While Wax has been built specifically for book editing and publication, it is by no means its only application, and it could be repurposed. Other similar chains could be implemented to target another format.
Editoria Typescript transforms HTML into a format required for the Coko Foundation's [Wax](https://gitlab.coko.foundation/wax/wax"gitlab.coko.foundation/wax") WYSIWYG word processor for [Ketida](https://ketida.community/"ketida.community/")(previously named Editoria). While Wax has been built specifically for book editing and publication, it is by no means its only application, and it could be repurposed. Other similar chains could be implemented to target another format.
Editoria Typescript translates the document structure, inline and class formatting, endnotes and footnotes into a subset of near-HTML, while eliminating HTML attributes not used by Wax.
@@ -7,10 +7,10 @@ Intro : "There are a variety of ways to run XSweet, HTMLevator, and Editoria Typ
class:using
---
## XSweet with *nix and beyond
One of the powerful features of XSweet is that it can be run in a wide variety of environments. For example, XSWeet can be integrated into an application [see Editoria and Kotahi from Coko for examples](https://coko.foundation). XSweet can also be run using a Unix-like terminal and a few scripts; indeed, this was how much of the testing was done.
One of the powerful features of XSweet is that it can be run in a wide variety of environments. For example, XSWeet can be integrated into an application [see Ketida and Kotahi from Coko for examples](https://coko.foundation). XSweet can also be run using a Unix-like terminal and a few scripts; indeed, this was how much of the testing was done.
You can find some [example Bash and Ruby scripts here](https://gitlab.coko.foundation/XSweet/XSweet_runner_scripts/"gitlab.coko.foundation/XSweet/XSweet_runner_scripts") (not maintained or warrantied). These are used for XSweet's' testing and development to quickly convert many files and inspect each step's inputs and outputs.
Be aware that the above scripts aren't recommended for production; they're simply offered as an illustration of what is possible. XSweet can also be run as a very speedy PHP service, in an XML IDE, using XPL pipelines, and more. For Editoria and Kotahi (mentioned above) the team ran XSweet as a separate containerized microservice.
Be aware that the above scripts aren't recommended for production; they're simply offered as an illustration of what is possible. XSweet can also be run as a very speedy PHP service, in an XML IDE, using XPL pipelines, and more. For Ketida and Kotahi (mentioned above) the team ran XSweet as a separate containerized microservice.