BrailleBlaster may need to handle zipped archives more directly. It looks like liblouisutdml will also need that functionality. It will decide which files to use by looking at the manifest for Daisy or epub or simply chosing the file based on the archive type, as in the case of docx files . There would be a new configuration setting archivetype . For both BrailleBlaster and liblouisutdml there is the problem of combining different files. For example, in epub archives, each chapter is in a different file. How are these combined to get a single file for a book? That is what we would want. John On Mon, Jan 07, 2013 at 01:11:21PM +0000, Keith Creasy wrote: > I prefer too handle ZIP archives from within BB rather than LibLouisUTDML. I > think we are going to need finer control than we get just by pumping ZIP > files through a translate function. Besides, how do we tell LibLouisUTDML > what file to translate? > > That isn't to say you can't add some kind of ZIP handling to the library I > just don't plan to use it in that way. > > > Keith Creasy > Software Developer > American Printing House for the Blind > KCreasy@xxxxxxx > Phone: 502.895.2405 > Skype: keith537 > > > -----Original Message----- > From: liblouis-liblouisxml-bounce@xxxxxxxxxxxxx > [mailto:liblouis-liblouisxml-bounce@xxxxxxxxxxxxx] On Behalf Of John J. Boyer > Sent: Saturday, January 05, 2013 12:12 AM > To: liblouis-liblouisxml@xxxxxxxxxxxxx > Subject: [liblouis-liblouisxml] Exensions to liblouisutdml > > Two extension have been discussed, a semantic action to callo a callback or > run an external program and the ability to extract an xml document from a zip > archive and translate it. > > The first seems fairly straightforward. The new semantic action would be > extprog and the name of the program would be in the third column. > > A problem with the second is that a zip archive may contain more than one xml > file. This is the case with docx and epub . In the case of the latter, there > are likely to be separate files for each chapter. How will the liblouisutdml > library know which file to use? How will it combine files to produce a > complete book? > > This feature will probably use the zlib library. I seem to remember that > there were difficulties in including it in a dll. It is not in the present > ones. > > John > > -- > 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, to download it and links to project pages > go to http://www.abilitiessoft.com > For a description of the software, to download it and links to > project pages go to http://www.abilitiessoft.com -- 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, to download it and links to project pages go to http://www.abilitiessoft.com