View Single Post
Old 03-01-2022, 03:46 PM   #84
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 47,084
Karma: 169815798
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by KevinH View Post
Then use Sigil's regular expression Find and Replace to empty them before running Access Aide.

Something like:

Code:
Find set to use regular expressions with this in the Find field:
<title>[^<]+</title>

And Replace set to:
<title></title>
Then running ReplaceAll should do the trick. But I would make a Checkpoint (or save a copy) just in case it changes something unexpected.

Caveat: I have not tested that but somethin like that should do the trick.
AFAIR, an empty <title></title> will trigger an error in epubcheck.

Edit: Just checked using Sigil's empty EPUB3 and give the error:

Code:
OEBPS/Text/Section0001.xhtml, line 6,offset 158, Col: 10: ERROR(RSC-005): Error while parsing file: Element ""title"" must not be empty.

Last edited by DNSB; 03-01-2022 at 03:49 PM.
DNSB is online now   Reply With Quote