View Single Post
Old 11-08-2009, 12:13 PM   #83
nrapallo
GuteBook/Mobi2IMP Creator
nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.
 
nrapallo's Avatar
 
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:
Originally Posted by hansel View Post
That is, unless such data is readily available at Mobileread...
You will notice, in the Browse Latest Uploads section under the E-Books menu above in the blue bar, that there is a daily catalog of ALL mobileread.com ebooks in: Full List: HTML | TXT.

This catalog just links all ebooks to their description page, which contains the actual link to download the ebook attachment. For example, my above-noted links for the "Bower, B. M - Cabin Fever" ebooks posted by crutledge are listed as:
Code:
	<li><a href="https://www.mobileread.com/forums/showthread.php?t=60371">Bower, B. M: Bower, B. M. V1. 25 Oct 2009</a> <i>Mobipocket</i></li>
	<li><a href="https://www.mobileread.com/forums/showthread.php?t=60368">Bower, B. M: Bower, B. M. V1. 25 Oct 2009</a> <i>eBookwise</i></li>
	<li><a href="https://www.mobileread.com/forums/showthread.php?t=60370">Bower, B. M: Bower, B. M. V1. 25 Oct 2009</a> <i>Sony BBeB</i></li>
	<li><a href="https://www.mobileread.com/forums/showthread.php?t=60367">Bower, B. M: Bower, B. M. V1. 25 Oct 2009</a> <i>ePub</i></li>
If you filter by format name (Mobipocket for .mobi/.prc) then you can use that as a starting point. However, this approach requires a second (web) access to retrieve that description page so as to extract the actual download link. And then finally, you'll need to fetch that ebook file for the user and place it in the appropriate ebook folder.

This is crude but may offer some different thinking. This can be done only once, but will then ignore newly uploaded ebooks or daily to be current.

In the end, to really make your app/code shine, you will probably need a "feed" from mobileread.com with the pertinent data from Alex's server side data.
nrapallo is offline   Reply With Quote