|
|
Thread Tools | Search this Thread |
08-29-2008, 11:31 AM | #16 | |
Addict
Posts: 350
Karma: 705
Join Date: Dec 2006
Location: Mumbai, India
Device: Kindle 1/REB 1200
|
Quote:
|
|
08-29-2008, 12:18 PM | #17 | |
GuteBook/Mobi2IMP Creator
Posts: 2,958
Karma: 2530691
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
|
Quote:
Cache "Content-type: text/html" transfers and before you send them onto the ebook reader, in response to the HTTP GET, text substitute, at least: Code:
- <a href> WITH <a UNDERLINE="YES" href> (so that you can SEE hyperlinks) - <body> WITH <body style="margin-left:2%; margin-right:2%"> (so there's no edge-bleeding - can use 2px instead of 2% or even 0) However, I see where this could pose a problem; if we want a quick restart. I would recommend that a 'bookshelf' request then clear this cached list of websites visited and restore the directory icon's function. What do you think? That's it for now... Did I mention whispernet? |
|
Advert | |
|
08-29-2008, 04:54 PM | #18 |
Connoisseur
Posts: 81
Karma: 480
Join Date: Dec 2004
|
Don't forget to:
- Handle internet links within ebooks. Impserve should be able of stripping the redirection URL that ebooksystem.net uses. - Change content-type header to application/x-softbook when downloading an IMP file from a server that doesn't know that MIME type. - Let the reader delete ebooks from the online bookshelf. that's all that comes to mind.... THANKS! |
08-29-2008, 09:34 PM | #19 | |
GuteBook/Mobi2IMP Creator
Posts: 2,958
Karma: 2530691
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
|
Quote:
Truly amazing! I can't wait to see your version 0.3... (wipes chin now) p.s. Ashish, I attach a privoxy log showing three ways to get a .imp ebook from Mobileread.com; each with a different Content-type! Please see attached text log. This may help determine the best way to download .imp ebooks directly from Mobileread! Last edited by nrapallo; 08-30-2008 at 01:27 AM. Reason: attached log of failed .imp GETs |
|
08-30-2008, 05:31 AM | #20 | |
Addict
Posts: 350
Karma: 705
Join Date: Dec 2006
Location: Mumbai, India
Device: Kindle 1/REB 1200
|
Quote:
|
|
Advert | |
|
08-30-2008, 07:33 AM | #21 | |
GuteBook/Mobi2IMP Creator
Posts: 2,958
Karma: 2530691
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
|
Quote:
Example #2 is what would be expected if the "IMP Download Guide" could be prepared by Alexander in .imp format and/or .html format similar to the current 'Mobipocket Download Guide'. Again doesn't end with .imp. Example #1 (the one you haven't nailed down yet) can rarely be found, so rare that I had trouble finding a single example to surf to, until I edited a message here and surfed to that link. So do we need to handle this situation? Maybe not! Ashish, could you check the booklist creation code. Whenever there are more than 100 books IN TOTAL being sent (i.e. 101+ ), the booklist doesn't get processed. For 100 or below books it is fine! My logs between the REB1200 and GEBLibrarian showed that the booklist should be sent in chunks of 100 books (each with its respective booklist length) at a time and then the INDEX=1 URL encoded tag will properly be bumped up to INDEX=101 for the next batch of 100 books and so on. Right now the INDEX gets bumped up by a very large amount and hence causes that aborted booklist attempt. This is an excerpt of my GEBLibrarain log that I was referring to: Code:
GET http://bookshelf.ebooksystem.net/bookshelf/default.asp?INDEX=1&REQUEST=100&SHOW_HIDDEN=YES HTTP/1.0 User-Agent: Allegro HTTP Client Host: bookshelf.ebooksystem.net Accept-Encoding: deflate, x-des-encrypted ... GET http://bookshelf.ebooksystem.net/bookshelf/default.asp?INDEX=101&REQUEST=100&SHOW_HIDDEN=YES HTTP/1.0 User-Agent: Allegro HTTP Client Host: bookshelf.ebooksystem.net Accept: text/x-booklist Accept-Encoding: deflate, x-des-encrypted Last edited by nrapallo; 08-30-2008 at 10:33 AM. Reason: fixing typos |
|
08-30-2008, 08:57 PM | #22 |
Addict
Posts: 350
Karma: 705
Join Date: Dec 2006
Location: Mumbai, India
Device: Kindle 1/REB 1200
|
NOTE: impserve has now been renamed to ebookutils, and is hosted at http://gitorious.org/projects/ebookutils using Git, which should easily allow other developers to make changes. I plan to merge impserve, impmake, 2 new python utilities which replace ebw1150+rebcomm and pdfread under this umbrella.
Changes in ebookutils-0.3: - impserve: handle paging of booklist requests - impserve: handle downloading of IMP books which are sent as an attachment (direct download of IMP from mobileread works) - impserve: implement a plugin system and provide 2 default plugins to change the URL/content before being sent to the device. - impmake: add an -f option to specify the files to be included, with one file per line - impserve: refactored the code heavily, please run impserve/run.py from python. |
08-30-2008, 09:09 PM | #23 |
Addict
Posts: 350
Karma: 705
Join Date: Dec 2006
Location: Mumbai, India
Device: Kindle 1/REB 1200
|
Ok, the only functionality I can think of which remains is:
[Ret] Handle internet links within ebooks (do the redirection which ebooksystem.net) [nrapallo] add back button functionality => for this I plan to add a plugin point where you can hook into all requests coming for ebooksystem.net and refactor the code to use it. Plugins can then be written with that functionality in mind, without touching the core code. [Ret] Let the reader delete ebooks from the online bookshelf. why do we need that, really? just remove it from your filesystem, and next time you visit the booklist it's gone (it's autorefreshed on every request). Any other feature requests? |
08-31-2008, 01:54 PM | #24 |
Addict
Posts: 350
Karma: 705
Join Date: Dec 2006
Location: Mumbai, India
Device: Kindle 1/REB 1200
|
I've released ebookutils-0.4 having changes only in impserve. I consider it feature-complete for now, so pending any more feature requests I don't think it's going to change much.
Changes in ebookutils-0.4: - impserve: redirect to the content page if bookstore/directory requested (remove the static page) - impserve: allow books to be deleted from online bookshelf - impserve: add support for back button with directory/store icon (going to online bookshelf erases history) - impserve: make the proxy server single-threaded - impserve: add support for browsing from links in ebooks, but it looks broken like it triggers a bug in the firmware and gives a 400 error. Please try it at your end and let me know. |
08-31-2008, 08:10 PM | #25 |
Groupie!? GROUPIE!?!?
Posts: 319
Karma: 649
Join Date: Aug 2008
Location: The Dirty Shwa
Device: EBW 1150, Libra Color
|
This is going to replace the wBookwise Libraian I think.
|
09-01-2008, 01:13 AM | #26 |
fruminous edugeek
Posts: 6,745
Karma: 551260
Join Date: Oct 2006
Location: Northeast US
Device: iPad, eBw 1150
|
I haven't tried it yet (my daughter has my ebw1150), but does it (or could it) pipe non-DRM versions of other format books through a converter to IMP so those could be downloaded through this system as well? I'm thinking of Gutenberg books, and possibly even CBZ.
|
09-01-2008, 02:49 AM | #27 | |
Addict
Posts: 350
Karma: 705
Join Date: Dec 2006
Location: Mumbai, India
Device: Kindle 1/REB 1200
|
Quote:
However, eBook Publisher is still very particular about the HTML it gets and crashes on invalid HTML (which is out there a lot) so that'd have to be run through HTML Tidy + doing misc cleanup on it. Let me know what kind of conversion you envisage, and I can (attempt) to write the plugin or you can do it yourself, if you want ... |
|
09-01-2008, 02:57 AM | #28 |
Addict
Posts: 350
Karma: 705
Join Date: Dec 2006
Location: Mumbai, India
Device: Kindle 1/REB 1200
|
|
09-01-2008, 10:11 AM | #29 | |
Connoisseur
Posts: 81
Karma: 480
Join Date: Dec 2004
|
Thank you again ashkulz! Great effort! In such a short time you've made a great tool!
Quote:
Cheers |
|
09-01-2008, 10:46 AM | #30 |
Addict
Posts: 350
Karma: 705
Join Date: Dec 2006
Location: Mumbai, India
Device: Kindle 1/REB 1200
|
BTW, can someone verify that browsing from ebooks works? the data is served from impserve, but it apparently triggers a bug in the ebook and it asks to reset itself ... can you verify that the same happens with you?
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Confused about personal content re: eBookwise 1150 | locomouse | Fictionwise eBookwise | 6 | 11-25-2009 01:52 PM |
PDFRead - reading PDFs on the 1100/1150/1200 eBook Readers | ashkulz | IMP | 87 | 06-04-2009 03:43 PM |
How do you get new content onto your eBookwise 1150 / REB 1200? (pick all that apply) | nrapallo | Fictionwise eBookwise | 23 | 02-03-2009 05:34 PM |
Hacking EBW-1150 to browse the Internet | sputnik | Fictionwise eBookwise | 44 | 08-27-2008 09:40 AM |
Comparing 1150 to 1200 or 2150 | Katelyn | Fictionwise eBookwise | 1 | 04-29-2007 12:38 PM |