[WM] Feature request for WebMake.cgi: Live EtText preview

Justin Mason jm at jmason.org
Thu Aug 28 23:16:01 IST 2003


Wes Meltzer writes:
>Hey all! Time for another feature request (I know this goes 
>hand-in-hand with my request for Textile support):
>
>Is there any way that the 'Live Preview' window that you have in 
>WebMake.cgi could show a rendering of EtText [and later, Textile] input 
>as well as HTML input? It would involve some extra processing -- you'd 
>have to call EtText.pm, and we'd have to have it say 'Live Preview 
>(HTML)' and 'Live Preview (EtText)'  -- but it would be really, really 
>nice.
>
>Especially since I'm setting up webmake.cgi currently for my office, 
>and they don't know HTML. I'd like them to see what they're looking at.
>
>For the time being, I can set them up using the Textile-to-HTML 
>processor Dean Allen has released 
>(http://www.textism.com/tools/textile/), but that's not much of a 
>solution, if you ask me.

It would be easy enough to do -- but probably quite heavy on the
server, since it'd have to do a round-trip CGI invocation every few
seconds.  (although an "update preview" button which has to be clicked
would help.)

Basically, all that's required is a CGI script which takes EtText on
input and outputs HTML.  The rest is just javascript...

--j.



More information about the Webmake-talk mailing list