On 02/19/2016 10:32 AM, Martin Goik wrote:
Generating Webhelp from Docbook5 works fine when viewed either on a local
filesystem or via http.
This however changes when the generated HTML files are being accessed via
https. At least Google Chrome refuses to
incorporate the included Javascript references like
http://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js:
These are being flagged as insecure http constituents and thus completely
ignored.
So I propose three changes e.g.
"http://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js" to
"https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js" in
addon/config/common/whc/whc_template/page.html.
I'm not quite sure whether this is actually XMLmind's problem since page.html
may be part of the official Docbook 5
stylesheet distribution.
No, it's really an XMLmind problem. The Web Help is generated (out of
DocBook or DITA sources) using our own, in house, open source tool:
"XMLmind Web Help Compiler"
http://www.xmlmind.com/ditac/whc.shtml
We'll consider the changes you have suggested. Meanwhile, there are
*two* *very* *easy* workarounds:
1) Pass the following XSLT stylesheet parameters to the conversion:
wh-local-jquery=yes
See
http://www.xmlmind.com/ditac/_distrib/doc/manual/xsltParams.html#xsltParams__wh-local-jquery
OR
2) Pass the following XSLT stylesheet parameters to the conversion:
wh-jquery=https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js
wh-jquery-css=https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.4/themes/smoothness/jquery-ui.css
wh-jquery-ui=https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.4/jquery-ui.min.js
See
http://www.xmlmind.com/ditac/_distrib/doc/manual/xsltParams.html#xsltParams__wh-jquery
--
XMLmind XML Editor Support List
xmleditor-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support