turnermm / epub Goto Github PK
View Code? Open in Web Editor NEWDokuwiki plugin for creating ebooks
Home Page: http://www.dokuwiki.org/plugin:epub
Dokuwiki plugin for creating ebooks
Home Page: http://www.dokuwiki.org/plugin:epub
Hi.
Thanks for the plugin.
I tried to use it to build an ePub export out of a regularly updated namespace.
The namespace option is really nice for that as there is no need to list each page but I can't find a way to exclude some page (as start, sidebar, or _template) which are purely technical and doesn't have to be in the generated ePub.
Is there a synthax t append to namespace to exclude certain pages ?
Best regards
Hello,
After upgrading to DokuWiki Release 2022-07-31 "Igor", I'd started receiving the following error when I access the built-in DokuWiki's Configuration Manager:
Warning: Declaration of renderer_plugin_epub::header($text, $level, $pos) should be compatible with Doku_Renderer_xhtml::header($text, $level, $pos, $returnonly = false) in /home/eduardo/public_html/wiki/lib/plugins/epub/renderer.php on line 94
Warning: Cannot modify header information - headers already sent by (output started at /home/eduardo/public_html/wiki/lib/plugins/epub/renderer.php:473) in /home/eduardo/public_html/wiki/inc/actions.php on line 38
The issue persists after upgrading to DokuWiki Release 2022-07-31a "Igor".
Please let me know if anymore information are needed to troubleshoot this issue.
Hello,
I upgraded my DokuWiki instance to PHP 8.1 (PHP 7.4 is deprecated now) and the following errors are being shown at the top of my Wiki:
Warning: Trying to access array offset on value of type null in /home/robertinho/public_html/wiki/lib/plugins/epub/action.php on line 104
Warning: Cannot modify header information - headers already sent by (output started at /home/robertinho/public_html/wiki/lib/plugins/dw2pdf/action.php:914) in /home/robertinho/public_html/wiki/inc/actions.php on line 38
Disabling the plug-in fixes the issue.
Please let me know if there's any information I can provide to troubleshoot and fix this issue.
After upgrading to DokuWiki Igor stable release (2022-07-31), I'm receiving the following warnings when accessing the DokuWiki Configuration Page:
Warning: Declaration of renderer_plugin_epub::header($text, $level, $pos) should be compatible with Doku_Renderer_xhtml::header($text, $level, $pos, $returnonly = false) in /home/robertinho/public_html/wiki/lib/plugins/epub/renderer.php on line 94
Warning: Cannot modify header information - headers already sent by (output started at /home/robertinho/public_html/wiki/lib/plugins/epub/renderer.php:473) in /home/robertinho/public_html/wiki/inc/common.php on line 1817
Please let me know if there's anymore information that I can provide to fix this warnings.
Dokuwiki 2014-09-29d "Hrun" (Debian package), various installations with various plugins. epub 2015-02-15.
Javascript console message "Uncaught ReferenceError: Invalid left-hand side expression in postfix operation" (minify error?)
This is a recent event, likely the result of upgrading other plugins, however 1x1 didn't show which one - only that removing or downgrading epub make the toolbar reappear.
The problem does not occur when using Konqueror web-browser.
Rolling back to the 2013-02-08 version of epub brings back the edit toolbar.
Example of other plugins used in an installation: abbr 2014-08-18, acl 2014-06-04, ajaxloader 2009-12-11, alphaindex 2008-10-18, authad 2014-04-03, authldap 2014-05-18, authmysql 2014-02-15, authpgsql 2014-02-15, authplain 2014-07-01, blockquote 2013-05-05, bookcreator 2015-06-11, bureaucracy 2015-01-22, cellbg 2013-10-09, columns 2015-05-30, config 2014-03-18, data 2015-05-16, dig 2015-02-26, do 2014-11-01, dw2pdf 2015-06-25, edittable 2015-06-17, epub 2013-02-08, extension 2014-06-15, fancysearch 2015-02-26, fckg 2014-12-15, fontsize2 2010-03-26, gallery 2014-05-18, hidden 2015-08-21, imagemap 2015-08-13, imgpaste 2015-02-26, info 2014-03-05, konsole 2015-08-18, log 2015-02-26, nslist 2015-02-26, odt 2015-02-26, pagebreak 2015-07-13, pagemod 2014-11-10, pagenav 2015-02-26, popularity 2013-10-14, qc 2015-06-17, revert 2013-11-21, safefnrecode 2012-07-28, searchpattern 2013-06-16c, sqlite 2015-05-04, todo 2014-11-26, toucher 2012-09-16, usercontact 2015-02-26, usermanager 2014-03-05, wikipediasnippet 2013-04-06, wrap 2015-07-19
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 ?
Hi,
Love your plugin. Just wondering how difficult it would be to add support for audio? As in, could we turn a dokuwiki link to an MP3 or OGG file into something like: <audio src="audio/clip01.mp3"/>
?
When I tried this plugin, it treated all internal links like external, linking to the wiki site instead of the corresponding page in the book. Is there a way to link to the section?
i.e.
<epub:Book>
[[dictionary|Dictionary]]
[[word|Word]]
<epub>
dictionary.html:
[[word]]
epub:
word [1]
[1]: http://localhost/doku.php?id=word
I'm using the default dokuwiki template, release 2020-07-29, all links have the wikilink1
class.
Hello
tried out epub yesterday (for the first time), but for some reasons the page sequence in the output is not as given in the epub page, it is sorted by the reversed alphabetical sort order of the page names instead. Is there something I do wrong?
a configuration like
<epub>
b_page
z_page
d_page
a_page
</epub>
comes out as
z_page
d_page
b_page
a_page
any idea?
regards
Steffen
Hi,
thanks for the epub-exportfunctionality.
What do you think about an integration of this plugin in Dokuwiki's bookcreater-Plugin? Many users would benefit from it i think. And of course more user would get notice of your plugin.
Which there is an option to take name from first heading instead of file name.
This is the setting that I use with IndexMenu or AlphaIndex plugins on Dokuwiki as it is a multilingual wiki using translation plugin which require file name to be the same across languages.
I create an E-book creator page --- I see the "start" button and everything.
But when I click the "start" button ----- nothing happens. Absolutely nothing at all. What is wrong and how can I fix it?
Greetings from Kenya,
It seems that the epub plugin does not export image maps created with the Dokuwiki imagemapping plugin. In fact, no image is displayed at all inside the e-book, just the link.
Am I missing something?
Thank you!
Chris
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.