View webhelp locally without Chrome's security warning
Oxygen general issues.
-
- Posts: 132
- Joined: Thu Apr 17, 2014 1:55 am
View webhelp locally without Chrome's security warning
Post by tomjohnson1492 »
Is there any way to view the DITA OT webhelp loaded from local files (rather than from a webserver) through the Chrome browser without prompting the browser security warnings that Chrome shows? I think Chrome shows the security warning because of the Javascript in the webhelp files. Is there any JS perhaps to disable in the output that would get around the security errors?
One alternative is to create a .chm output instead, but I haven't been able to try this because I'm on a Mac, and Oxygen requires HTML Help Workshop to compile the .chm. Any way to run HTML Help Workshop on a Mac apart from a VM?
One alternative is to create a .chm output instead, but I haven't been able to try this because I'm on a Mac, and Oxygen requires HTML Help Workshop to compile the .chm. Any way to run HTML Help Workshop on a Mac apart from a VM?
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: View webhelp locally without Chrome's security warning
Post by sorin_ristache »
Hello,
Oxygen's DITA WebHelp transformation creates two WebHelp main pages that enclose the same actual WebHelp content: index.html which uses XHTML internal frames (idiv elements) and index_frames.html which uses XHTML framesets. The JavaScript warning is displayed in Chrome only for the index.html version, which is the default one opened automatically in the browser at the end of the Oxygen DITA WebHelp transformation. I recommend using the index_frames.html version in Chrome with local files (loaded in browser as file:///...) instead of the index.html one because the index_version.html does not have the JavaScript limitation for local XHTML files in Chrome.
Sorry, there is no JavaScript to disable in the index.html version that preserves the WebHelp behavior related to page navigation (the Previous and Next links, etc) and the left-side Table of Contents tree behavior (expand and collapse tree nodes, automatically select the title in the tree when navigation through a link takes the user to a different page, etc).
The .chm format is specific for Windows and I don't know other tool for creating the final .chm output file apart from the HTML Help Workshop tool from Microsoft. That means you need a kind of Windows app emulator running on Mac machines but with one additional difficulty: applying the HTML Help Workshop tool separately (after the DITA HTML Help transformation is finished in Oxygen) to the HTML Help project files created by Oxygen's DITA HTML Help transformation. You are better off on a Mac machine with Oxygen running in a Windows guest virtual machine running on a host Mac machine, for example in VMware Fusion.
Regards,
Sorin
Oxygen's DITA WebHelp transformation creates two WebHelp main pages that enclose the same actual WebHelp content: index.html which uses XHTML internal frames (idiv elements) and index_frames.html which uses XHTML framesets. The JavaScript warning is displayed in Chrome only for the index.html version, which is the default one opened automatically in the browser at the end of the Oxygen DITA WebHelp transformation. I recommend using the index_frames.html version in Chrome with local files (loaded in browser as file:///...) instead of the index.html one because the index_version.html does not have the JavaScript limitation for local XHTML files in Chrome.
Sorry, there is no JavaScript to disable in the index.html version that preserves the WebHelp behavior related to page navigation (the Previous and Next links, etc) and the left-side Table of Contents tree behavior (expand and collapse tree nodes, automatically select the title in the tree when navigation through a link takes the user to a different page, etc).
The .chm format is specific for Windows and I don't know other tool for creating the final .chm output file apart from the HTML Help Workshop tool from Microsoft. That means you need a kind of Windows app emulator running on Mac machines but with one additional difficulty: applying the HTML Help Workshop tool separately (after the DITA HTML Help transformation is finished in Oxygen) to the HTML Help project files created by Oxygen's DITA HTML Help transformation. You are better off on a Mac machine with Oxygen running in a Windows guest virtual machine running on a host Mac machine, for example in VMware Fusion.
Regards,
Sorin
-
- Posts: 132
- Joined: Thu Apr 17, 2014 1:55 am
Re: View webhelp locally without Chrome's security warning
Post by tomjohnson1492 »
Perfect! I didn't realize the index_frames.html file was there. That provides exactly the solution I needed. Thanks for the reply.
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service