08-17-2008, 07:07 PM | #1 |
Junior Member
Posts: 8
Karma: 10
Join Date: Jul 2008
Device: Sony Reader PRS-505
|
Searching within a E-Book
Hello Everyone,
As I was reading over the dictionary forum and it's autorun script, I thought of an idea. Wouldn't it be easy to search within a book using the same process that the DictioLauncher Application uses?? Something along the lines of Code:
$ cat ebook_file | grep "^search_term$" The only problem may be in parsing the PDF, LRF files to get plain text. Something like the 'strings' util should work though right? Tell me what you think. Thank you. |
08-17-2008, 09:20 PM | #2 |
Booknut
Posts: 858
Karma: 2852
Join Date: Jul 2007
Location: West Palm Beach, Florida!
Device: Sony Reader 500/505/300/350, Nook Glowlight Plus (6")
|
It's a 'Reader,' not a 'Searcher'!
|
Advert | |
|
08-18-2008, 10:51 AM | #3 |
Author of The Inferior
Posts: 121
Karma: 200001
Join Date: Aug 2008
Location: Ireland
Device: Sony PRS-505, Kindle 3 (soon...)
|
I just tried 'strings' on a pdf to no avail. There's bound to be a way, though. It would be remarkably useful.
|
08-18-2008, 11:44 AM | #4 |
Enthusiast
Posts: 47
Karma: 11
Join Date: Aug 2008
Device: DR800SG, PRS-505
|
One challenge with this approach would be to match the hits to the appropriate places/pages in the lrf/epub/pdf document -- if search is used to locate a particular location inside an ebook. Which is what I normally use it for (when using a pocketpc).
|
Tags |
ebook, grep, prs-505, search |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Searching questions? | Starson17 | Calibre | 37 | 09-02-2010 07:58 PM |
Searching for an old movie | LucasCorso | Lounge | 2 | 04-09-2010 05:58 AM |
GearLog: Searching for eBooks at Book Expo 2009 | sirbruce | News | 12 | 06-01-2009 01:38 PM |
Newbie Question on book searching | jazz_jeff | Sony Reader | 6 | 09-22-2008 06:21 PM |
Searching Dictionaries | ggendel | Workshop | 1 | 03-03-2008 10:23 AM |