Paul, Thanks. I'll give it a try. I'll also display the configuration file. The last lines of that will be comments showing the commands actually used. John On Mon, Nov 23, 2009 at 12:14:57PM -0000, Paul Wood(Torch) wrote: > > John, > > Your example looks fine! And I think would work best. > And email sounds like the server as you say. > Paul > > -----Original Message----- > From: Paul Wood > Sent: 23 November 2009 10:54 > To: liblouis-liblouisxml@xxxxxxxxxxxxx > Subject: [liblouis-liblouisxml] Re: [liblouis-liblouisxml] Re: Web Demo > is Up! > > Paul, > > This is interesting. I'll have to study it more carefully. > > Saying that antiword puts its output on stdin was a typo. I meant to say > > that it puts its output on stdout, the standard output unit, which is > normally the screen. What I am asking is whether php will allow me to > redirect this output to a file using the > redirect character or pipe it > > directly to xml2brl using the | pipe character. > > For example, can I say something like > > shell_exec ("antiword $file1 >$file2") > shebl_exec ("xml2brl $file2 $file3"); > > Here is another question. The translate.php page is supposed to send me > mail if the user gives feedback. It is not doing so. You can see the > mail statement near the end of the page in the web-demo branch. It looks > > ok to me. I am now using php 2.5.11. My guess is that this is a server > problem. > > Thanks, > John > > On Sun, Nov 22, 2009 at 01:40:02PM -0000, Paul Wood (E-mail) wrote: > > Hi John, > > > > > > > > You can see from the following I've run a DAISY pipeline transform > that > > > > outputs to a temp file and then the next transform uses that as the > > > > input. This is all done in a temp folder which was created based on > the > > > > date and time, which I think I got from your code! > > > > > > > > > exec('c:\Progra~1\DAISYP~1\plugins\org.daisy.pipeline_1.0.8\pipeline-cli > > > > .bat > > > > > c:\Progra~1\DAISYP~1\plugins\org.daisy.pipeline_1.0.8\scripts\create_dis > > > > tribute\dtbook\RtfToDtbook.taskScript > > > > "--rtf='.$filePath.$userDir.$inputFile.'" > > > > "--dtbook='.$filePath.$userDir.'tempdtbook.xml" > > > > "--dtbookFixRunCategories=REPAIR_TIDY" "--simplifyHeadingLayout=true" > > > > "--documentLanguage=EN"', $output); > > > > > > > > > exec('c:\Progra~1\DAISYP~1\plugins\org.daisy.pipeline_1.0.8\pipeline-cli > > > > .bat > > > > > c:\Progra~1\DAISYP~1\plugins\org.daisy.pipeline_1.0.8\scripts\modify_imp > > > > rove\dtbook\DTBookfix(Poems).taskScript > > > > "--input='.$filePath.$userDir.'tempdtbook.xml" > > > > "--output='.$filePath.$userDir.$outputFile.'" ', $output); > > > > > > > > Hope this helps! > > > > What does 'stdin' mean in 'The output of antiword is on stdin.'? > > > > Paul > > > > > > > > -----Original Message----- > > > > From: Paul Wood > > > > Sent: 22 November 2009 12:56 > > > > To: liblouis-liblouisxml@xxxxxxxxxxxxx > > > > Subject: [liblouis-liblouisxml] Re: Web Demo is Up! > > > > > > > > Paul, > > > > > > > > At this point translation of MSWord files doesn't work. This brings up > a > > > > > > > > point I wanted to ask you about. The msword2brl script in the > > > > liblouisxml distribution pipes the output of antiword to xml2brl. Is > > > > this allowed in php? The output of antiword is on stdin. Can I > redirect > > > > it to a temporary file and then have xml2brl process that file? > > > > > > > > I've had another report about trouble with italics, but I haven't > > > > observed it myself. > > > > > > > > John > > > > > > > > On Sat, Nov 21, 2009 at 10:41:36PM -0000, Paul Wood(Torch) wrote: > > > > > Hi John, We are getting just failed translation. Is there any error > > > > report > > > > > that can be displayed to show what has happened? > > > > > I attach the test file we are trying. > > > > > On our system we are not getting proper translation of Italics. But > > > > wanted > > > > > to see what your setup showed. > > > > > Paul > > > > > -----Original Message----- > > > > > From: Paul Wood > > > > > Sent: 20 November 2009 19:14 > > > > > To: liblouis-liblouisxml@xxxxxxxxxxxxx > > > > > Subject: [liblouis-liblouisxml] Web Demo is Up! > > > > > > > > > > You can now run liblouisxml on the Web and get braille translations. > > > > Go > > > > > to www.abilitiessoft.com and pick the link "Try out the software." > > > > > Feedback is welcome, as this is just a first draft. It does use the > > > > > final test version of liblouisxml, so you could experiment with > > > > > user-defined styles, etc. The documentation still has to be updated > on > > > > > > > > > the site. > > > > > > > > > > John > > > > > > > > > > -- > > > > > John J. boyer; President, Chief Software Developer > > > > > Abilitiessoft, Inc. > > > > > http://www.abilitiessoft.com <http://www.abilitiessoft.com/> > > > > > Madison, Wisconsin USA > > > > > Developing software for people with disabilities > > > > > > > > > > For a description of the software and to download it go to > > > > > http://www.jjb-software.com <http://www.jjb-software.com/> > > > > > > > > > > > > > > > > > > > > > -- > > > > My websites: > > > > GodTouches Digital Ministry, Inc. http://www.godtouches.org > > <http://www.godtouches.org/> > > > > Abilitiessoft, Inc. http://www.abilitiessoft.com > > <http://www.abilitiessoft.com/> > > > > Location: Madison, WI, USA > > > > > > > > For a description of the software and to download it go to > > > > http://www.jjb-software.com <http://www.jjb-software.com/> > > > > > > > > > > > > Privileged/Confidential Information may be contained in this message. > > > > If you are not the intended recipient please destroy this message > > > > and kindly notify the sender by reply email. The computer from which > > > > this mail originates is equipped with virus screening software. > > > > However Torch Trust cannot guarantee that the mail and its attachments > > > > are free from virus infection. > > > > > > > > Privileged/Confidential Information may be contained in this message. > > > > If you are not the intended recipient please destroy this message > > > > and kindly notify the sender by reply email. The computer from which > > > > this mail originates is equipped with virus screening software. > > > > However Torch Trust cannot guarantee that the mail and its attachments > > > > are free from virus infection. > > > > > > > > > > > > > > > > > > > > > > > > ____________________________________________________ > > > > Paul Wood, Technical Services Leader > > > > Torch Trust > > > > Torch House, Torch Way, > > > > Market Harborough, Leics. LE16 9HL, UK > > > > Direct Line: +44(0)1858 438262 > > > > Tel: +44(0)1858 438260, Fax: +44(0)1858 438275 > > > > Email: <mailto:paulwtpaulw@xxxxxxxxxxxxxx> paulw@xxxxxxxxxxxxxx > > > > Website: <http://www.torchtrust.org/> www.torchtrust.org > > > > ____________________________________________________ > > > > Chief Executive: Dr Gordon Temple > > Charity No. 1095904 > > > > Privileged/Confidential Information may be contained in this message. > > If you are not the intended recipient please destroy this message > > and kindly notify the sender by reply email. The computer from which > > this mail originates is equipped with virus screening software. > > However Torch Trust cannot guarantee that the mail and its attachments > > > are free from virus infection. > > > > ____________________________________________________ > > > > > > > > Privileged/Confidential Information may be contained in this message. > If you > > are not the intended recipient please destroy this message and kindly > notify > > the sender by reply email. The computer from which this mail > originates is > > equipped with virus screening software. However Torch Trust cannot > guarantee > > that the mail and its attachments are free from virus infection. > > > > -- > John J. boyer; President, Chief Software Developer > Abilitiessoft, Inc. > http://www.abilitiessoft.com > Madison, Wisconsin USA > Developing software for people with disabilities > > For a description of the software and to download it go to > http://www.jjb-software.com > > > Privileged/Confidential Information may be contained in this message. > If you are not the intended recipient please destroy this message > and kindly notify the sender by reply email. The computer from which > this mail originates is equipped with virus screening software. > However Torch Trust cannot guarantee that the mail and its attachments > are free from virus infection. > -- John J. boyer; President, Chief Software Developer Abilitiessoft, Inc. http://www.abilitiessoft.com Madison, Wisconsin USA Developing software for people with disabilities For a description of the software and to download it go to http://www.jjb-software.com