« Robynn - did you mean this one? | Main | Tomato and tangerine soup »
December 14, 2007
KnitML
KnitML is an attempt to create a standard markup language for knitting patterns.
The KnitML Project's main goal is to develop and promote adoption of a standard content model for knitting patterns. By developing a community-supported specification (KnitML) and providing basic rendering and transformation tools, the KnitML Project aims to make KnitML easy to use and valuable to the knitter.
There are many benefits to a standard content model. If KnitML were an adopted standard, there would be many available patterns in KnitML and many types of knitting software written to manipulate them. Imagine being able to do the following for any KnitML-based pattern:
- Render a pattern in either written directions or a chart, dependent on a preference setting
- Render a pattern in any language, using conventions familiar to that language and dialect
- Validate that a pattern is physically possible to knit (eliminating some types of errata)
- Automatically convert English measurements to and from metric measurements
- Size a pattern up or down to any size, not just the sizes that come with the pattern
- Recalculate a pattern for your gauge rather than the one that came with the pattern
- Explicitly write out mathematically complex directions (e.g., "increase 34 stitches evenly over 171 stiches")
- Alter the pattern using an easy-to-use graphical editor (or create new KnitML-based pattern from scratch)
- Preview the result of a pattern using graphics
- Integrate into your favorite knitting software (such as Sweater Wizard)
- Digitally sign the pattern to guarantee original authenticity<.li>
This would all be possible because KnitML would serve as a standard interchange format between various independently-developed software programs. Pattern designers could continue to make patterns in their current format and also provide a KnitML representation of the pattern.
KnitML was based on Laura Porter's vision to create a standard markup language for knitting patterns. She had noticed that patterns tended to be written using non-standard styles and abbreviations, so it was often difficult to convey meaning universally.
KnitML is not intended to promote the "right" way to render a knitting pattern. On the contrary, it is my hope to write and promote software which can be easily customized to a user's own rendering preferences. Rather, KnitML only hopes to standardize the underlying content model so that software everywhere can interpret and process knitting patterns.
Interesting and full of possibilities!
Posted by glittrgirl at December 14, 2007 11:56 AM
Comments
Post a comment
Thanks for signing in, . Now you can comment. (sign out)
(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)

