Turn off auto insertion of http:// in Web Link
Oxygen general issues.
-
- Posts: 70
- Joined: Thu Mar 21, 2013 12:55 am
Turn off auto insertion of http:// in Web Link
In XML Editor 19.1, build 2017121318 (Author mode), how do I turn off the insertion of http:// when using Web Link?
This feature causes broken links. We insert the relative URL (which allows the URL to be generated for different domains). For example: /en/dseGraphFluent.html, which is rendered as "<xref href="http:///en/dseGraphFluent.html" format="html" scope="external">
Thanks,
Paul
This feature causes broken links. We insert the relative URL (which allows the URL to be generated for different domains). For example: /en/dseGraphFluent.html, which is rendered as "<xref href="http:///en/dseGraphFluent.html" format="html" scope="external">
Thanks,
Paul
-
- Posts: 517
- Joined: Thu Sep 04, 2014 4:22 pm
Re: Turn off auto insertion of http:// in Web Link
Post by cristi_talau »
Hello,
I registered an internal improvement request for the "Insert Web Link" action. We will update this forum post when we release the improvement.
Meanwhile, you can replace the "Insert Web Link" action with one that does not add "http://" using the "Preferences" [1] dialog. Go to "Document Type Associations", and edit the "DITA" framework [2]. In the "Author" [3] tab, the "Actions" [4] sub-tab, edit the action with ID insert.url.reference [5].
Use the Operation: ro.sync.ecss.extensions.commons.operations.InsertFragmentOperation
And set the "fragment" argument to
Best,
Cristian
[1] https://www.oxygenxml.com/doc/versions/ ... ences.html
[2] https://www.oxygenxml.com/doc/versions/ ... ation.html
[3] https://www.oxygenxml.com/doc/versions/ ... r-tab.html
[4] https://www.oxygenxml.com/doc/versions/ ... b-tab.html
[5] https://www.oxygenxml.com/doc/versions/ ... ion-dialog
I registered an internal improvement request for the "Insert Web Link" action. We will update this forum post when we release the improvement.
Meanwhile, you can replace the "Insert Web Link" action with one that does not add "http://" using the "Preferences" [1] dialog. Go to "Document Type Associations", and edit the "DITA" framework [2]. In the "Author" [3] tab, the "Actions" [4] sub-tab, edit the action with ID insert.url.reference [5].
Use the Operation: ro.sync.ecss.extensions.commons.operations.InsertFragmentOperation
And set the "fragment" argument to
Code: Select all
<xref href="${ask('Please provide the URL')}" scope="external" format="html"></xref>
Cristian
[1] https://www.oxygenxml.com/doc/versions/ ... ences.html
[2] https://www.oxygenxml.com/doc/versions/ ... ation.html
[3] https://www.oxygenxml.com/doc/versions/ ... r-tab.html
[4] https://www.oxygenxml.com/doc/versions/ ... b-tab.html
[5] https://www.oxygenxml.com/doc/versions/ ... ion-dialog
-
- Posts: 517
- Joined: Thu Sep 04, 2014 4:22 pm
Re: Turn off auto insertion of http:// in Web Link
Post by cristi_talau »
Hello,
Thanks for the suggestion. It's a good idea. I noted it.
Best,
Cristian
Thanks for the suggestion. It's a good idea. I noted it.
Best,
Cristian
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