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

Go Back   MobileRead Forums > E-Book Devices > Fictionwise eBookwise

Welcome to the MobileRead Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community today, you will have fewer ads, access to post topics, communicate privately with other members, respond to polls, upload content and access many other special features.

If you have any problems with the registration process or your account login, please contact us.

Hint: Don't have time to visit us daily? Subscribe to our main RSS feed to receive our frontpage posts at your convenience.

Notices

Fictionwise eBookwise Includes the eBookwise-1150, GEB 1100, GEB 1150, GEB 2150, and REB 1200

Reply
 
Thread Tools Search this Thread Display Modes
Old 08-28-2008, 10:47 AM   #16
nrapallo
GuteBook/Mobi2IMP Creator
nrapallo can name that song in three notesnrapallo can name that song in three notesnrapallo can name that song in three notesnrapallo can name that song in three notesnrapallo can name that song in three notesnrapallo can name that song in three notesnrapallo can name that song in three notesnrapallo can name that song in three notesnrapallo can name that song in three notesnrapallo can name that song in three notesnrapallo can name that song in three notes
 
nrapallo's Avatar
 
Posts: 2,386
Karma: 24580
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200, EBW1150 Device: REB1100, iLiad v2 System: WinXP SP3
Surf the internet from within a .imp ebook?

I'm playing with the idea of embedding weblinks in a .imp ebook, and then loading it onto the ebook reader with Linreb after putting the .imp ebook into the 'shelf' directory.

I wanted to see how I could enable the reader to access the internet, not from the content html pages, but from an opened .imp ebook.

I failed (for now...) since the 'register.ebooksystem.net' was not being forwarded to the internet, but to Linreb. Linreb cannot yet fetch webpages.

I tried to forward just this request to privoxy, but got into an endless loop. Requires a bit more study.

BTW, the HTTP request sent by the ebook reader was logged as:
Code:
http://register.ebooksystem.net/form/redirect.asp?target=http%3A%2F%2Fwiki%2Emobileread%2Ecom%2Fwiki%2FMain_Page&pubid=None%3Aebook%3Aguid-237ceaa3f5cb49b281ca33724a38bc5b
The sample .imp ebook I used is attached below. Your mileage may vary...

EDIT: Oops, I carelessly uploaded a .imp that was only for the REB1200. These attachments correct that! Please note that the .imp below is for the EBW1150 and _1200.imp for REB1200.
Attached Files
File Type: imp next.imp (36.4 KB, 120 views)
File Type: imp next_1200.imp (34.5 KB, 152 views)
__________________
-Nick The REB1200 Guy›
Like Gargantuan ebooks? See previews of
my work-in-progress 2006 Wikipedia ebooks!
Have you tried GuteBook yet?

Last edited by nrapallo; 08-30-2008 at 03:00 PM. Reason: Corrected/uploaded .imp for EBW1150 and _1200.imp for REB1200
nrapallo is offline   Reply With Quote
Old 08-28-2008, 03:23 PM   #17
nrapallo
GuteBook/Mobi2IMP Creator
nrapallo can name that song in three notesnrapallo can name that song in three notesnrapallo can name that song in three notesnrapallo can name that song in three notesnrapallo can name that song in three notesnrapallo can name that song in three notesnrapallo can name that song in three notesnrapallo can name that song in three notesnrapallo can name that song in three notesnrapallo can name that song in three notesnrapallo can name that song in three notes
 
nrapallo's Avatar
 
Posts: 2,386
Karma: 24580
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200, EBW1150 Device: REB1100, iLiad v2 System: WinXP SP3
Quote:
Originally Posted by nrapallo View Post
the HTTP request sent by the ebook reader was logged as:
Code:
http://register.ebooksystem.net/form/redirect.asp?target=http%3A%2F%2Fwiki%2Emobileread%2Ecom%2Fwiki%2FMain_Page&pubid=None%3Aebook%3Aguid-237ceaa3f5cb49b281ca33724a38bc5b
Reading the privoxy documentation and config files, I have noticed a "rule" or action that could possibly handle that HTTP register.ebooksystem.net request and "fast-direct" just the tail URL (http%3A%2F%2Fwiki%2Emobileread%2Ecom%2Fwiki%2FMai n_Page).

This is the description in the "default.action" file that is giving me hope to get this to work:
Code:
# +fast-redirects{check-decoded-url}
# +fast-redirects{simple-check}
#    Many sites, like yahoo.com, don't just link to other sites.
#    Instead, they will link to some script on their own server,
#    giving the destination as a parameter, which will then redirect
#    you to the final target. 
#
#    URLs resulting from this scheme typically look like:
#    http://some.place/some_script?http://some.where-else
#
#    Sometimes, there are even multiple consecutive redirects encoded
#    in the URL. These redirections via scripts make your web browsing
#    more traceable, since the server from which you follow such a link
#    can see where you go to. Apart from that, valuable bandwidth and
#    time is wasted, while your browser asks the server for one redirect
#    after the other. Plus, it feeds the advertisers.
#
#    The +fast-redirects{check-decoded-url} option enables interception of 
#    these requests by Privoxy, who will cut off all but the last valid URL 
#    in the request and send a local redirect back to your browser without
#    contacting the intermediate sites. NOTE: Syntax change as of v.3.0.4.
I don't have my hardware reader with me to test it right now, but will do so soon and report my findings here.

It seems privoxy is a very sophisticated program with abilities that need to be looked at more closely...
__________________
-Nick The REB1200 Guy›
Like Gargantuan ebooks? See previews of
my work-in-progress 2006 Wikipedia ebooks!
Have you tried GuteBook yet?
nrapallo is offline   Reply With Quote
Old 08-28-2008, 03:51 PM   #18
ashkulz
Addict
ashkulz will become famous soon enoughashkulz will become famous soon enoughashkulz will become famous soon enoughashkulz will become famous soon enoughashkulz will become famous soon enoughashkulz will become famous soon enoughashkulz will become famous soon enough
 
ashkulz's Avatar
 
Posts: 336
Karma: 701
Join Date: Dec 2006
Location: Mumbai, India
Device: Kindle 1/REB 1200
Quote:
Originally Posted by nrapallo View Post
I don't have my hardware reader with me to test it right now, but will do so soon and report my findings here.

It seems privoxy is a very sophisticated program with abilities that need to be looked at more closely...
Nick, I'm writing my own HTTP proxy in python (called impserve, naturally!) which should both serve local content, remote content over the web and the bookshelf. I'm grateful to linreb for leading the way, but it's not code which you can hack upon easily. I should be done today or tomorrow so I don't think we'll need to use Privoxy or any other software, I hope
ashkulz is offline   Reply With Quote
Old 08-28-2008, 04:11 PM   #19
nrapallo
GuteBook/Mobi2IMP Creator
nrapallo can name that song in three notesnrapallo can name that song in three notesnrapallo can name that song in three notesnrapallo can name that song in three notesnrapallo can name that song in three notesnrapallo can name that song in three notesnrapallo can name that song in three notesnrapallo can name that song in three notesnrapallo can name that song in three notesnrapallo can name that song in three notesnrapallo can name that song in three notes
 
nrapallo's Avatar
 
Posts: 2,386
Karma: 24580
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200, EBW1150 Device: REB1100, iLiad v2 System: WinXP SP3
Quote:
Originally Posted by ashkulz View Post
Nick, I'm writing my own HTTP proxy in python (called impserve, naturally!) which should both serve local content, remote content over the web and the bookshelf. I'm grateful to linreb for leading the way, but it's not code which you can hack upon easily. I should be done today or tomorrow so I don't think we'll need to use Privoxy or any other software, I hope
'nuff said! Great, I'm done reading this stuff!

I'll wait for your 'impserve' solution!

Talk about tackling the "low-hanging fruit" first, you have made great strides in .imp programming tools evolution.

Way to go, Ashish!
__________________
-Nick The REB1200 Guy›
Like Gargantuan ebooks? See previews of
my work-in-progress 2006 Wikipedia ebooks!
Have you tried GuteBook yet?
nrapallo is offline   Reply With Quote
Old 08-28-2008, 06:19 PM   #20
Ret
Connoisseur
Ret has a complete set of Star Wars action figures.Ret has a complete set of Star Wars action figures.Ret has a complete set of Star Wars action figures.Ret has a complete set of Star Wars action figures.Ret has a complete set of Star Wars action figures.
 
Ret's Avatar
 
Posts: 71
Karma: 480
Join Date: Dec 2004
It seems the reader sends all web page requests from links within an ebook to ETI servers for redirection. In order to bypass them you need to extract the required URL.
I've managed to make it work with privoxy by adding this code into default.action file.
Code:
{+fast-redirects{check-decoded-url}}
bookshelf.ebooksystem.net/form/redirect.asp?
This may also help ashkulz for his coding.
By the way, ashkulz, if you want to let your impserve download IMP books from mobileread.com you'll have to change their HTTP response header. Whenever you download an IMP file from them, they handle the file with this header "Content-type: unknown/unknown" and it should be "application/x-softbook".
Plus, take a look at the way mobileread writes their links: their href field omits domain name. The readers http client can't understand that.
Ret is offline   Reply With Quote
Old 08-28-2008, 06:29 PM   #21
nrapallo
GuteBook/Mobi2IMP Creator
nrapallo can name that song in three notesnrapallo can name that song in three notesnrapallo can name that song in three notesnrapallo can name that song in three notesnrapallo can name that song in three notesnrapallo can name that song in three notesnrapallo can name that song in three notesnrapallo can name that song in three notesnrapallo can name that song in three notesnrapallo can name that song in three notesnrapallo can name that song in three notes
 
nrapallo's Avatar
 
Posts: 2,386
Karma: 24580
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200, EBW1150 Device: REB1100, iLiad v2 System: WinXP SP3
Thanks Ret, again, for the solution to our problems/hurdles!

Will try this out soon...
__________________
-Nick The REB1200 Guy›
Like Gargantuan ebooks? See previews of
my work-in-progress 2006 Wikipedia ebooks!
Have you tried GuteBook yet?
nrapallo is offline   Reply With Quote
Old 08-28-2008, 06:32 PM   #22
Ret
Connoisseur
Ret has a complete set of Star Wars action figures.Ret has a complete set of Star Wars action figures.Ret has a complete set of Star Wars action figures.Ret has a complete set of Star Wars action figures.Ret has a complete set of Star Wars action figures.
 
Ret's Avatar
 
Posts: 71
Karma: 480
Join Date: Dec 2004
I forgot to add that the code I included didn't work with all URLs in your test imp file.
For some reason only google news .CA worked flawlessly, some others didn't work, and sometimes the reader crashed showing some kind of memory dump
Ret is offline   Reply With Quote
Old 08-28-2008, 06:39 PM   #23
nrapallo
GuteBook/Mobi2IMP Creator
nrapallo can name that song in three notesnrapallo can name that song in three notesnrapallo can name that song in three notesnrapallo can name that song in three notesnrapallo can name that song in three notesnrapallo can name that song in three notesnrapallo can name that song in three notesnrapallo can name that song in three notesnrapallo can name that song in three notesnrapallo can name that song in three notesnrapallo can name that song in three notes
 
nrapallo's Avatar
 
Posts: 2,386
Karma: 24580
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200, EBW1150 Device: REB1100, iLiad v2 System: WinXP SP3
Quote:
Originally Posted by Ret View Post
I forgot to add that the code I included didn't work with all URLs in your test imp file.
For some reason only google news .CA worked flawlessly, some others didn't work, and sometimes the reader crashed showing some kind of memory dump
Time to update those links to more PDA-friendly sites.

Now where to collect and store all those interesting sites... wiki? thread?

Do you have any suggestions?
__________________
-Nick The REB1200 Guy›
Like Gargantuan ebooks? See previews of
my work-in-progress 2006 Wikipedia ebooks!
Have you tried GuteBook yet?
nrapallo is offline   Reply With Quote
Old 08-28-2008, 08:30 PM   #24
ashkulz
Addict
ashkulz will become famous soon enoughashkulz will become famous soon enoughashkulz will become famous soon enoughashkulz will become famous soon enoughashkulz will become famous soon enoughashkulz will become famous soon enoughashkulz will become famous soon enough
 
ashkulz's Avatar
 
Posts: 336
Karma: 701
Join Date: Dec 2006
Location: Mumbai, India
Device: Kindle 1/REB 1200
I've posted the software I was talking about, impserve-0.1. Let me know if you have any bug reports or suggestions... it's 5am here, so I'll look at them tomorrow
ashkulz is offline   Reply With Quote
Old 08-28-2008, 08:42 PM   #25
nrapallo
GuteBook/Mobi2IMP Creator
nrapallo can name that song in three notesnrapallo can name that song in three notesnrapallo can name that song in three notesnrapallo can name that song in three notesnrapallo can name that song in three notesnrapallo can name that song in three notesnrapallo can name that song in three notesnrapallo can name that song in three notesnrapallo can name that song in three notesnrapallo can name that song in three notesnrapallo can name that song in three notes
 
nrapallo's Avatar
 
Posts: 2,386
Karma: 24580
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200, EBW1150 Device: REB1100, iLiad v2 System: WinXP SP3
Quote:
Originally Posted by ashkulz View Post
I've posted the software I was talking about, impserve-0.1. Let me know if you have any bug reports or suggestions... it's 5am here, so I'll look at them tomorrow
Wow, an all-nighter, just for our beloved .imp community? What a trooper!

Much appreciated, Ashish.

You have always been an inspiration. You started me programming .imp format tools and look what has been accomplished here since those PDFRead v1.7 days, a year ago...
__________________
-Nick The REB1200 Guy›
Like Gargantuan ebooks? See previews of
my work-in-progress 2006 Wikipedia ebooks!
Have you tried GuteBook yet?
nrapallo is offline   Reply With Quote
Old 08-29-2008, 09:22 AM   #26
nrapallo
GuteBook/Mobi2IMP Creator
nrapallo can name that song in three notesnrapallo can name that song in three notesnrapallo can name that song in three notesnrapallo can name that song in three notesnrapallo can name that song in three notesnrapallo can name that song in three notesnrapallo can name that song in three notesnrapallo can name that song in three notesnrapallo can name that song in three notesnrapallo can name that song in three notesnrapallo can name that song in three notes
 
nrapallo's Avatar
 
Posts: 2,386
Karma: 24580
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200, EBW1150 Device: REB1100, iLiad v2 System: WinXP SP3
Hey, we made it to the "Week's Hot Topics" listing on the Mobileread Home page!

Let's keep this thread alive with user suggestions/improvements, list of cool websites visited, websites that don't work and should be avoided, amusing stories explaining this "ability" to co-workers, etc...

EDIT: To easily surf the internet WITHOUT using the (limited) Linreb or Privoxy, please use Impserve and be sure to download all of the Impserve plugins to allow the downloading of content directly from the internet to your ebook reader!!!
__________________
-Nick The REB1200 Guy›
Like Gargantuan ebooks? See previews of
my work-in-progress 2006 Wikipedia ebooks!
Have you tried GuteBook yet?

Last edited by nrapallo; 02-22-2009 at 11:56 PM. Reason: better to use Impserve for Surfing the Internet!
nrapallo is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Linreb - eLibrarian for REB1200 and EBW1150 nrapallo Fictionwise eBookwise 8 10-01-2008 08:23 PM
GEB/EBW1150 bookshelf change in Librarian Roberts324 Fictionwise eBookwise 7 04-28-2008 04:31 AM
TIP: Surf just the images in an ebook nrapallo IMP 8 04-14-2008 11:17 PM
Ended Would like to purchase a Reb1200 Katelyn Flea Market 0 03-25-2007 11:18 AM
Surf wirelessly on the train at over 300km/h Colin Dunstan Handhelds and Smartphones 0 04-25-2005 02:11 PM


All times are GMT -4. The time now is 06:38 AM.


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