Hi,
I tried to use XY in normal search mode to look into an .epub file to search for the string "Page 5" but it couldn't find it. I had first tried a regex search for Page [0-9] but this didn't work either.
The contents of the .epub are just html files and the epub is just a zip file with another name so I thought this would work. XY did find the string Page 5 when I searched the .mobi file in both normal mode and in regex mode. I renamed the .epub to .zip and repeated the search it works - so is it a file association thing?
How can I search the epub's without renaming them?
Tested in 10.70.0203
Finding text inside epub files
-
Steadyhands
- Posts: 24
- Joined: 13 Sep 2006 11:47
- Location: Brisbane, Australia
- Contact:
-
serendipity
- Posts: 3360
- Joined: 07 May 2007 18:14
- Location: NJ/NY
Re: Finding text inside epub files
Hi,Steadyhands wrote:Hi,
I tried to use XY in normal search mode to look into an .epub file to search for the string "Page 5" but it couldn't find it. I had first tried a regex search for Page [0-9] but this didn't work either.
The contents of the .epub are just html files and the epub is just a zip file with another name so I thought this would work. XY did find the string Page 5 when I searched the .mobi file in both normal mode and in regex mode. I renamed the .epub to .zip and repeated the search it works - so is it a file association thing?
How can I search the epub's without renaming them?
Tested in 10.70.0203
First, maybe you can try to include .epub in the same place as .zip in Tools>Config>Previewed formats.
Second, there is a key called "TextPreviewCustomExtensions" in the ini file (Tools>Open configuration file). Add your extension here, save ini file and restart without saving (File>Restart without saving).
Note: Save you config first before opening ini file, as you see in the second part you have restart XY without saving.
Hope that helps.
XYplorer Beta Club