Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Sony Reader > Sony Reader Dev Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 08-17-2008, 07:07 PM   #1
benjaminvm
Junior Member
benjaminvm began at the beginning.
 
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$"
should work shouldn't it! Even the UI could remain the same except you would have to select a file.

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.
benjaminvm is offline   Reply With Quote
Old 08-17-2008, 09:20 PM   #2
DrMoze
Booknut
DrMoze plays well with othersDrMoze plays well with othersDrMoze plays well with othersDrMoze plays well with othersDrMoze plays well with othersDrMoze plays well with othersDrMoze plays well with othersDrMoze plays well with othersDrMoze plays well with othersDrMoze plays well with othersDrMoze plays well with others
 
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'!
DrMoze is offline   Reply With Quote
Advert
Old 08-18-2008, 10:51 AM   #3
Peadar Ó Guilín
Author of The Inferior
Peadar Ó Guilín ought to be getting tired of karma fortunes by now.Peadar Ó Guilín ought to be getting tired of karma fortunes by now.Peadar Ó Guilín ought to be getting tired of karma fortunes by now.Peadar Ó Guilín ought to be getting tired of karma fortunes by now.Peadar Ó Guilín ought to be getting tired of karma fortunes by now.Peadar Ó Guilín ought to be getting tired of karma fortunes by now.Peadar Ó Guilín ought to be getting tired of karma fortunes by now.Peadar Ó Guilín ought to be getting tired of karma fortunes by now.Peadar Ó Guilín ought to be getting tired of karma fortunes by now.Peadar Ó Guilín ought to be getting tired of karma fortunes by now.Peadar Ó Guilín ought to be getting tired of karma fortunes by now.
 
Peadar Ó Guilín's Avatar
 
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.
Peadar Ó Guilín is offline   Reply With Quote
Old 08-18-2008, 11:44 AM   #4
dynamike
Enthusiast
dynamike began at the beginning.
 
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).
dynamike is offline   Reply With Quote
Reply

Tags
ebook, grep, prs-505, search


Forum Jump

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


All times are GMT -4. The time now is 08:49 AM.


MobileRead.com is a privately owned, operated and funded community.