View Single Post
Old 05-10-2014, 02:47 PM   #900
tombo
Junior Member
tombo began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Dec 2012
Device: Kobo Glo
Quote:
Originally Posted by vlad59 View Post
@tombo

About the kepub, If I understood you correctly you'd like to rename kepub to kepub.epub and keep epub as is. Am I right ?

About your URL rewrite problem obviously I can not integrate your modifications as is so could try to use the default COPS .htaccess with a slight modification :
remove all the "^" before "download" and please report if it works ok for you.

Thanks in advance.

@mbovenka

For the record , I did the Pull Request for the new Synology package in due time (https://github.com/SynoCommunity/spksrc/pull/926). The various discussion about the special fix to apply for DSM5 took some time.

If you or any other would be kind enough to test the beta package with DSM5, the URL is on the bottom of the pull request link above.

Disclaimer : I never tested it myself so please make sure to properly backup before installing it and remember to only install COPS from this link.

Judging from the modifications made it seem safe but who knows !

@mariosipad

As usual, thanks a lot for helping out.
Hello Vlad,
Sorry for the late response.
Yes for the kepub issue you understood me correct. The case is that when all normal epubs are changed to kepubs several weird things happen with them, for instance searching in text is not working. It looks like a kepub, but it is not.
The best you can do in my opinion is to exactly as you can see in the listing; is a kepub (converted by calibre) available then only for this filetype add the .epub extension (for Kobo devices only) and leave the normal epubs as they are.

For the .htaccess file your suggestion did not work. I got the remark :
The requested URL /c/webroot/cops/fetch.php was not found on this server.

On my Netgear ReadyNas Duo I had to change something to get the .htaccess working. Before that I only could use Cops when it was deleted. Unfortunately without the downloading part.

Regards
Tom
tombo is offline   Reply With Quote