12-14-2013, 05:31 AM | #1 |
Guru
Posts: 959
Karma: 3475832
Join Date: May 2012
Location: France
Device: Elipsa, Sage
|
php format
Today is the second time in as many days I encountered a php format (the n°18 in GeorgeH's Harvard classics series today). It seems to be a new "thing". Does Calibre plan to add it to its recognised formats? If not does anybody know how to convert it to epub before feeding it into Calibre?
I've googled it but am a bit lost in the mountain of references. Thanks in advance. |
12-14-2013, 07:16 AM | #2 |
Addict
Posts: 245
Karma: 20386
Join Date: Sep 2010
Location: France
Device: Cybook Diva
|
Can you point towards a 'php' ebook file? Because for me, PHP is a script language, not an ebook format...
|
12-14-2013, 09:28 AM | #3 | |
US Navy, Retired
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
Quote:
I suspect if you rename it the name it should have (Harvard Classics Volume 18 - Dryden, Sheridan, Goldsmith, Shelley, Browning, Byron.epub) then it will be just fine. |
|
12-14-2013, 10:36 AM | #4 | |
Guru
Posts: 959
Karma: 3475832
Join Date: May 2012
Location: France
Device: Elipsa, Sage
|
Quote:
EDIT: I just realised I download with Mozilla Firefox whenever there are captchas, I'll have to check whether it might be systematic with Internet. Also I forgot to mention that whatever the book, its name is attachment.php EDIT2: A Gutenberg book just downloaded normally with Internet. I'll have to mention it to GeorgeH. Last edited by anacreon; 12-14-2013 at 11:07 AM. |
|
12-14-2013, 04:11 PM | #5 |
....
Posts: 1,547
Karma: 18068960
Join Date: May 2012
Device: ....
|
I have also noticed this when downloading epubs from the MobileRead Library with IE11. Typically when IE cannot securely identify an epub's file type from the server end doc-type and file sniffing it will give the file the safe extension of .zip (epubs being zips, of course) and I don't recall coming across it giving them a .php extention before.
As you say, it also changes the file name to "attachment" so all epub files from MR Library become attachment.php which seems to be extracted from the webpage link; however, if mobileread.com is added to IE11's compatability view list then epubs from there are named and downloaded correctly. I don't know if this is some issue at the server end that IE11 is tougher on than earlier versions for security reasons, in which case I would have expected it to name epub files as .zips, or is just a glitch in IE11 or a matter at the server of a type that IE11 is designed to be intolerant of. (Chrome, for example, seems to not be affected) |
12-14-2013, 05:33 PM | #6 |
null operator (he/him)
Posts: 20,557
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Another source of '.php' dowloads its that some sites will a small download.php file if you download using anything but the browser "Save link/target as", i.e. a via some sort of download manager.
Its a tactic that's sometimes used to prevent 'mass downloading'. I think I've got them at MR when I've tried to d/l some attachments using Free Download Manager. BR Last edited by BetterRed; 12-14-2013 at 06:40 PM. Reason: clarity |
12-14-2013, 05:49 PM | #7 | |
....
Posts: 1,547
Karma: 18068960
Join Date: May 2012
Device: ....
|
Quote:
Not sure if this was understood or not (as it isn't exactly clear from the OP's and my posts) so mentioning it just in case, but the file attachment.php that is downloaded is in fact the epub itself not the "blahblah.php" one. Just renaming it to an epub is all that is required. However, the matter you raise may be the root of a glitch and is one I had not thought of. John |
|
12-14-2013, 06:34 PM | #8 | |
null operator (he/him)
Posts: 20,557
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
I think I can recall getting them here when downloading some of MiniMouse's blank covers - had to get them one at a time I just remembered that the 'blahblah.php' is quite often (always ?) 'download.php'. I use external download managers because large downloads - eg iso's from MS - can take a long time, I also like to have the freedom to restart my browser at any time. I'll tweak my prior post Cheers BR |
|
12-14-2013, 09:36 PM | #9 |
....
Posts: 1,547
Karma: 18068960
Join Date: May 2012
Device: ....
|
Understood BR.
Also adding to my After a bit of a play I have found that the file misnaming problem applies to all ebook formats (mobi, prc, etc) downloaded from MR Library with IE11 (at least with 64bit on Win8.1) not just epub. |
12-14-2013, 10:20 PM | #10 |
Ex-Helpdesk Junkie
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
The answer is don't use IE, avoid it like the plague.
|
12-17-2013, 09:46 AM | #11 | |
Addict
Posts: 373
Karma: 1138320
Join Date: May 2012
Location: Ontario, Canada
Device: Kindle 3, Nexus 7
|
Quote:
|
|
12-17-2013, 05:01 PM | #12 | |
....
Posts: 1,547
Karma: 18068960
Join Date: May 2012
Device: ....
|
Quote:
It is some matter associated with IE11, but whether it is something to do with its less trusting nature for security reasons (if no doc-type, etc. at the server) or sticking rigidly to standards that the server end does not meet, or something to do with its download management that the server does not like (BR has mentioned difficulties that may be experienced with some download manager applications). In the end the solution at the user's end is very simple and sticks, one just has to add mobileread.com to IE11's Compatability View list. Last edited by AnotherCat; 12-17-2013 at 05:06 PM. |
|
12-17-2013, 07:33 PM | #13 | |
Ex-Helpdesk Junkie
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Quote:
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Php Metadata question | skyefriday | Library Management | 0 | 09-15-2012 11:39 PM |
str to mobi PHP | NicWest | Kindle Formats | 2 | 04-16-2012 08:01 AM |
Which PHP version do you have? | erayd | Workshop | 2 | 10-04-2010 08:02 PM |
PHP for Android | keng2000 | enTourage Archive | 1 | 07-30-2010 07:19 PM |
Using PHP to convert PDFs | joedevon | 5 | 07-05-2009 10:50 PM |