Can I export HTML5 into one page?
Oxygen general issues.
-
- Posts: 63
- Joined: Tue Mar 14, 2017 12:36 am
Can I export HTML5 into one page?
I'm trying to move documents from oXygen to Confluence, and the Microsoft Word as a go-between option isn't working very well. Someone mentioned copying and pasting directly from a website had worked well or them.
We generate our content and post it online, but it's created so that each topic is it's own page (works well for a website).
Is there a way to generate it so all the topics are output together on one page?
We generate our content and post it online, but it's created so that each topic is it's own page (works well for a website).
Is there a way to generate it so all the topics are output together on one page?
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Can I export HTML5 into one page?
Hi Stacey,
If you open the main DITA Map in the Oxygen DITA Maps Manager view, then use the "Configure Transformation Scenarios" toolbar button there, in the "Configure Transformation Scenarios" dialog you should be able to duplicate and edit the "DITA Map XHTML" transformation scenario. In the Parameters list there should be a "root-chunk-override" param which you can set to the value to-content, then try to publish using the new transformation scenario, this should generate I think a single XHTML file with all topics inside it.
Regards,
Radu
If you open the main DITA Map in the Oxygen DITA Maps Manager view, then use the "Configure Transformation Scenarios" toolbar button there, in the "Configure Transformation Scenarios" dialog you should be able to duplicate and edit the "DITA Map XHTML" transformation scenario. In the Parameters list there should be a "root-chunk-override" param which you can set to the value to-content, then try to publish using the new transformation scenario, this should generate I think a single XHTML file with all topics inside it.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 63
- Joined: Tue Mar 14, 2017 12:36 am
Re: Can I export HTML5 into one page?
Hi Radu:
It seemed to work well enough if I added it to the map itself (not the transformation scenario).
Follow up: Is there a way to hide/remove all of the images on export?
When I copied and pasted into Confluence, most things looked okay, but the images could not be shown. I don't want to get rid of the images or alter them in the document (we use key refs), but if I removed them from appearing in this transformations scenario, maybe I could just copy and paste the text and add a PDF version for image reference.
It seemed to work well enough if I added it to the map itself (not the transformation scenario).
Follow up: Is there a way to hide/remove all of the images on export?
When I copied and pasted into Confluence, most things looked okay, but the images could not be shown. I don't want to get rid of the images or alter them in the document (we use key refs), but if I removed them from appearing in this transformations scenario, maybe I could just copy and paste the text and add a PDF version for image reference.
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Can I export HTML5 into one page?
Hi,
Not sure, maybe you can use our Find/Replace in Files dialog to search through the entire HTML output folder with a regular expression which matches all <img...> tags and replace them with the empty string.
Otherwise you would probably need to create a DITA OT plugin which somehow extends the XHTML plugin and skips copying image references to the generated XHTML files.
Regards,
Radu
Not sure, maybe you can use our Find/Replace in Files dialog to search through the entire HTML output folder with a regular expression which matches all <img...> tags and replace them with the empty string.
Otherwise you would probably need to create a DITA OT plugin which somehow extends the XHTML plugin and skips copying image references to the generated XHTML files.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ 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