turnermm / epub

Dokuwiki plugin for creating ebooks
http://www.dokuwiki.org/plugin:epub
15 stars 9 forks source link

ePub link contain error #29

Open typometre opened 5 years ago

typometre commented 5 years ago

There is a small bug in the generated link for the ePub after processing. The link is malformed like that http://domain.comhttp//domain.com/lib/exe/fetch.php?media=epub:type:2019_march_31_11-14-36.epub It's easy to correct it manually to have the functional link but I don't know where to fix this link generation ?

turnermm commented 5 years ago

Unable to reproduce this. How is your wiki configured? In the configuration manager, have entered a setting for the baseurl and/or basedir?

typometre commented 5 years ago

In the configuration manager, both settings are blank. So I tried setting the baseurl config and test in ePub plugin without no much luck. The generated link is still with this error syntax.

chlarsen commented 4 years ago

This may be related: The epub plugin produces correct links created by the DokuWiki autolink4 plugin WITHIN the same DokuWiki document. However, if I want to string together several DokuWiki documents to create ONE single e-book, the epub plugin creates external links from internal links correctly created by autolink4, as long as the autolink4 namespace is restricted in any way (even to "..:my_namespace"). Links are created without any flaw except, whenever the epub plugin comes in. Thank you! Chris

turnermm commented 4 years ago

Not all plugins are compatible.

chlarsen commented 4 years ago

True. Let me look for some workarounds...