Re: [basex-talk] ePub zips via REST and functional XQuery

2019-08-22 Thread Christian Grün
Hi Steve, The following options may be helpful for importing EPUB files in one go: set parser html set createfilter *.htm,*.html,*.xhtml,*.xml,*.opf set addraw on create db db doc.epub They can all be set via the GUI as well (provided you find the corresponding checkboxes ;·). Cheers,

Re: [basex-talk] ePub zips via REST and functional XQuery

2019-08-21 Thread Majewski, Steven Dennis (sdm7g)
However, I neglected to notice that all of the html files in the EPUB container were all added as raw files. So it’s really just unpacking the EPUB zip into raw/ . Serving them up still works, but I’m guessing that will limit some of the search features on the unparsed files. — Steve. >

[basex-talk] ePub zips via REST and functional XQuery

2019-08-21 Thread Majewski, Steven Dennis (sdm7g)
BTW: I was pleasantly surprised to discover that when I made a BaseX database with an ePub zip file, and selected the appropriate options ( Parse files in archives, add other files as raw files ) I was able to serve and view the ePub files thru the rest interface, and links from the TOC to