METS sends data in REST, and the result is returned by JSON. Try typing a url into your browser's locator window something like
http://wme.cs.kent.edu/mathedit/mets/METS.php?reqFormat=latex&reqCode=\[\int^{\pi}_0\sin^2\theta d\theta =\frac{1}{2} \]&outFormat=gif&size =20pt
the return JSON
{"http://wme.cs.kent.edu/mathedit/mets/picture/1243234837256.gif"}
The key word reqFormat is the format to be converted, reqCode is the code to be converted, outFormat is the translating result, size is the size of picture. There are four reqFormats and nine outFormats to choose.
reqFormat |
content, presentation,latex, openmath |
outFormat |
content, presentation,latex, openmath, gif, png, pdf, dvi, ps |
|
|