![]() |
#271 | |
Member
![]() Posts: 22
Karma: 10
Join Date: Oct 2011
Device: Kobo Glo HD
|
Quote:
It is not in the list with authors. This shows perfectly. It shows only when you show a book detail text with a rather large summary. Indeed when showing the scroller bar. I am a bit at a loss where to find the code you mentioned. In which file can I find that snippet? P.S. would love it if a SPK will be available. Are you also going to create a repository for that? |
|
![]() |
![]() |
![]() |
#272 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 725
Karma: 10738
Join Date: Nov 2012
Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD
|
![]()
Hi Vlad59,
Did some testing and I am running into problems with a WAMP (Windows/Apache/PHP) installation under Win 7. Did a standard installation, only changed config_local.php for the Calibre directory. Mod_xsendfile is installed. - ePUBreader a plugin for Firefox works perfectly - Stanza and Shubook (IOS 6) give problems. Problemdescription: Stanza URL = http://<ip>/cops31/feed/php Select book source = ok Authors show Select author -> Catalog is empty -> pupup -> Catalog Error Error reading catalog data, Please try again later Disabling mod_xsendfile did not solve the problem. With Linux (Debian Squeeze and Wheezy) this gives no error. The Calibre files are a direct copy. The same Calibre files work perfectly with COPS 0.3.0. Any idea's what is going wrong? |
![]() |
![]() |
Advert | |
|
![]() |
#273 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 369
Karma: 37869
Join Date: Sep 2011
Device: Kobo eReader Touch, Kobo Aura HD
|
@Northguy
Sorry for the lack of precision. The code you can try to modify is in style.css For the spk, I won't speak of it before it's out. Afraid of bad luck ![]() Thanks a lot for updating the Wiki. @mariosipad That's strange, but I made some modifications to the OPDS catalog so that might be a true regression. Unfortunately I live in a home without any Apple product so I can't test it myself. Can you give me the full path of Calibre directory in both cases ? Does the directory in the windows server contains a drive (c: or d ![]() What's really strange is that EpubReader is fine ... Did you check Apache log on the Wamp server ? Thanks in advance. |
![]() |
![]() |
![]() |
#274 |
Member
![]() Posts: 22
Karma: 10
Join Date: Oct 2011
Device: Kobo Glo HD
|
@Vlad: will test the .CSS sometime later this week. Please check your private mail for a localization update.
Egards, Northguy |
![]() |
![]() |
![]() |
#275 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Jan 2013
Device: Kindle Paperwhite
|
Hi,
Is there a way to set priorities for formats? I have some books in three formats in Calibre (mobi,epud,pdf). For these books at the main list I have epub and pdf. I'd like to set mobi as preferred format. Is it possible? |
![]() |
![]() |
Advert | |
|
![]() |
#276 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,054
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
You set the Order (and allowed formats) in the Device driver Plugin configuration. Move Mobi before the other formats
|
![]() |
![]() |
![]() |
#277 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 725
Karma: 10738
Join Date: Nov 2012
Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD
|
@Vlad
To keep it simple. 2 virtually 100% the same setups. Only difference is: 1 - WAMP (X-Sendfile installed) 3 - Apache Linux Debian Wheezy (X-Sendfile installed) Paths in config_local.php are both: "./Calibre/" Shubook (Stanza clone IOS 6) error: Encountered OPDS document syntax error. Tried to recover. I only get this error with WAMP. Linux works aas expected. Relevant eror lines from Apache log file could be: Code:
[Sun Jan 27 22:30:11 2013] [error] [client 192.168.1.116] PHP Notice: Undefined offset: 1 in C:\\wamp\\www\\cops31\\base.php on line 333 [Sun Jan 27 22:30:11 2013] [error] [client 192.168.1.116] PHP Stack trace: [Sun Jan 27 22:30:11 2013] [error] [client 192.168.1.116] PHP 1. {main}() C:\\wamp\\www\\cops31\\feed.php:0 [Sun Jan 27 22:30:11 2013] [error] [client 192.168.1.116] PHP 2. OPDSRenderer->render() C:\\wamp\\www\\cops31\\feed.php:35 [Sun Jan 27 22:30:11 2013] [error] [client 192.168.1.116] PHP 3. OPDSRenderer->startXmlDocument() C:\\wamp\\www\\cops31\\OPDS_renderer.php:230 [Sun Jan 27 22:30:11 2013] [error] [client 192.168.1.116] PHP 4. Page->containsBook() C:\\wamp\\www\\cops31\\OPDS_renderer.php:133 [Sun Jan 27 22:32:30 2013] [error] [client 192.168.1.116] File does not exist: C:/wamp/www/favicon.ico [Sun Jan 27 22:32:33 2013] [error] [client 192.168.1.116] File does not exist: C:/wamp/www/favicon.ico Code:
XML Parsing Error: junk after document element Location: http://192.168.1.11/cops31/feed.php?page=2&id=S Line Number 2, Column 1:<font size='1'><table class='xdebug-error xe-notice' dir='ltr' border='1' cellspacing='0' cellpadding='1'> ^ So the modifications might have introduced the error. But only in Windows? ![]() ![]() |
![]() |
![]() |
![]() |
#278 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 369
Karma: 37869
Join Date: Sep 2011
Device: Kobo eReader Touch, Kobo Aura HD
|
@Northguy
Yep, I received your mail. I will handle it later this week. @jj23 Yes you can, you have to alter this config item in you config_local.php : $config['cops_prefered_format'] = array ("EPUB", "PDF", "MOBI", "CBR", "CBZ"); @mariosipad I may have found it. Can you try to change line 333 of base.php from Code:
if (get_class ($this->entryArray [1]) == "EntryBook") return true; Code:
if (get_class ($this->entryArray [0]) == "EntryBook") return true; |
![]() |
![]() |
![]() |
#279 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Jan 2013
Device: Kindle Fire
|
I have tested the new custom-column-function and it works like a charm.
Thanks! |
![]() |
![]() |
![]() |
#280 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 725
Karma: 10738
Join Date: Nov 2012
Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD
|
Quote:
And it works for WAMP (Windows 7 / Apache) with Stanza and Shubook (IOS6) and with ePUBReader (Firefox). And it still works for Linux Debian Squeeze with Stanza and Shubook (IOS6) and with ePUBReader (Firefox ![]() |
|
![]() |
![]() |
![]() |
#281 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 725
Karma: 10738
Join Date: Nov 2012
Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD
|
Installation of COPS with WAMP.
I do not know if it is supposed to work or not, but I get a 404 error when I use the line: Code:
$config['calibre_directory'] = 'D:/Calibre/'; Error is with fetch.php [mod_xsendfile is installed] Solution (if mod_xsendfile is installed): - put the line Code:
XSendFilePath d:/Calibre - putting it in the .htaccess file or enabling line Code:
XSendFileAllowAbove on ![]() Maybe this helps someone to use the Calibre directory on another drive (with WAMP). |
![]() |
![]() |
![]() |
#282 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 369
Karma: 37869
Join Date: Sep 2011
Device: Kobo eReader Touch, Kobo Aura HD
|
@CreaB
Thanks for the report ![]() @mariosipad Happy to know that the fix is working for you. about the path with D:. It should work fine if you don't set X-SendFile : $config['cops_x_accel_redirect'] = ""; |
![]() |
![]() |
![]() |
#283 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 725
Karma: 10738
Join Date: Nov 2012
Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD
|
@vlad59
You are right. ![]() Path D:/ works with [$config['cops_x_accel_redirect'] = "";]. However if one wants to use (the latest version of) X-Sendfile (for larger files?; PDF's?) he/she has to set XSendFilePath D:/ for COPS with X-Sendfile to work. |
![]() |
![]() |
![]() |
#284 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Jan 2013
Device: Kindle Paperwhite
|
|
![]() |
![]() |
![]() |
#285 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 369
Karma: 37869
Join Date: Sep 2011
Device: Kobo eReader Touch, Kobo Aura HD
|
@mariosipad
Thanks for the confirmation. I'll add an note in .htaccess about that case. @jj23 You're welcome. |
![]() |
![]() |
![]() |
Tags |
calibre opds, dns, kobo aura, synology |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre OPDS server with windows apps? | nickdma | Related Tools | 10 | 03-03-2024 02:53 PM |
[Old Thread] Android FBreader and Calibre OPDS server question | kalex | Calibre | 5 | 12-24-2015 10:16 PM |
PHP+Apache web server for calibre ... | chaley | Related Tools | 254 | 04-28-2014 08:18 PM |
External OPDS catalogue in Calibre | bolton | Calibre | 1 | 09-05-2012 06:14 AM |
Calibre Command Line usage with PHP | artoros | Related Tools | 13 | 07-01-2010 09:57 AM |