Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 08-17-2008, 08: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, 10: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: 848
Karma: 2852
Join Date: Jul 2007
Device: Sony Reader 500/505/300/350
It's a 'Reader,' not a 'Searcher'!
DrMoze is offline   Reply With Quote
Old 08-18-2008, 11: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, 12:44 PM   #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

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Searching questions? Starson17 Calibre 37 09-02-2010 08:58 PM
Searching for an old movie LucasCorso Lounge 2 04-09-2010 06:58 AM
GearLog: Searching for eBooks at Book Expo 2009 sirbruce News 12 06-01-2009 02:38 PM
Newbie Question on book searching jazz_jeff Sony Reader 6 09-22-2008 07:21 PM
Searching Dictionaries ggendel Workshop 1 03-03-2008 11:23 AM


All times are GMT -4. The time now is 04:53 AM.


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