@mariosipad
Here is an extract from a log line which I believe to be pertinent...
"GET /cops/fetch.php?data=6&type=azw3&id=3&db=3 HTTP/1.1"
And my "educated guesses" so far are...
fetch.php seems to be used to set the download up
data=6 no idea
type=azw3 * self explanatory
id=3 * id of book in the db
db=3 * library position in array defined in config_local.php
* = I'm pretty certain after a few tests against different titles in
different libraries
There is a possible show stopper and I'm uncertain to whether
there's a way around it.
This log line is written as a result of the user selecting the epub, azw3,
mobi, whatever icon to download the book. However, when the user's
browser displays the download box, the user can cancel the download,
or close the download box, therefore we are left with a log line that is false.
What I'm uncertain about is if the browser returns any value
to the calling program to indicate what the user
selected.... "OK" or "Cancel" or "X" ( close )
Cheers,
TC
|