On Wed, Oct 19, 2005 at 10:10:26AM +0200, Dan Kenigsberg wrote: > Of course hspell supports piping. Just try. It even has an ispell-like pipe > interface for programs, which is used by lyx, geresh, and the little demo > script > wassist.cs.technion.ac.il/~danken/cgi-bin/hspell.color.cgi > > That cgi is written in perl. It pipes the user text into another perl script > that uses hspell to color misspelled words in red. I can let you peek into the > scripts off list, if you want. I have no shred of knowledge in php, but I > guess > everything here can be translated to it. > > On Tue, Oct 18, 2005 at 11:23:21PM +0200, O.K wrote: > > Thanks for the suggestion, but I was looking for something more elegant as > > hspell requires file as input. It's not support piping. Or maybe I am wrong > > ?
A better solution would be to wrap hspell's API in PHP. I am not familiar at all with hspell and I don't know how well abstracted its API is, but it's a preferable method to using pipes. Regards, Yotam Rubin ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]