Quote:
Originally Posted by hansel
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.