[Oxygen Webhelp] External links are treated as internal in T
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 28
- Joined: Wed May 26, 2010 7:05 pm
[Oxygen Webhelp] External links are treated as internal in T
Hello!
Here is the Webhelp that I publish: http://colin.maudry.com/dita-rdf
In the TOC, I expected two links to be external:
In the source DITA:
https://github.com/ColinMaudry/dita-rdf ... df.ditamap
Isn't @scope="external" supposed to avoid the links to be manipulated?
Thanks!
Here is the Webhelp that I publish: http://colin.maudry.com/dita-rdf
In the TOC, I expected two links to be external:
- Download link (zip) (http://colin.maudry.com/dita-rdf/#https ... plugin.zip)
- Source code (Github) (http://colin.maudry.com/dita-rdf/#http: ... y/dita-rdf)
In the source DITA:
Code: Select all
<topicref format="zip" href="https://github.com/ColinMaudry/dita-rdf/blob/master/dita2rdf/dita2rdf-ditaot-plugin.zip" navtitle="Download link (zip)" scope="external"/>
[...]
<topicref format="html" href="http://www.github.com/ColinMaudry/dita-rdf" navtitle="Source code (Github)" scope="external"/>
Isn't @scope="external" supposed to avoid the links to be manipulated?
Thanks!
Colin Maudry
Enterprise documentation analyst and Open Data specialist
Rennes, France
Tweets at @CMaudry
Enterprise documentation analyst and Open Data specialist
Rennes, France
Tweets at @CMaudry
-
- Posts: 28
- Joined: Wed May 26, 2010 7:05 pm
Re: [Oxygen Webhelp] External links are treated as internal
Apart from this issue, I must say the WebHelp looks very good and the comment system is easy to set up. Congratulations!
Colin Maudry
Enterprise documentation analyst and Open Data specialist
Rennes, France
Tweets at @CMaudry
Enterprise documentation analyst and Open Data specialist
Rennes, France
Tweets at @CMaudry
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: [Oxygen Webhelp] External links are treated as internal
Post by sorin_ristache »
Hi Colin,
Yes, @scope="external" should open the target page in a new browser tab/window without changing the href value. The problem is already fixed for the next version of Oxygen (version 16.1) which we will release probably in less than a month.colinm wrote:In the TOC, I expected two links to be external:. . .
- Download link (zip) (http://colin.maudry.com/dita-rdf/#https ... plugin.zip)
- Source code (Github) (http://colin.maudry.com/dita-rdf/#http: ... y/dita-rdf)
Isn't @scope="external" supposed to avoid the links to be manipulated?
-
- Posts: 28
- Joined: Wed May 26, 2010 7:05 pm
Re: [Oxygen Webhelp] External links are treated as internal
Hello,
I've just installed Oxygen 16.1 (2014100319) and republished the WebHelp, but the issue is still there. No visible change.
The DITA source is here:
https://github.com/ColinMaudry/dita-rdf ... tation/src
Thanks,
Colin
I've just installed Oxygen 16.1 (2014100319) and republished the WebHelp, but the issue is still there. No visible change.
The DITA source is here:
https://github.com/ColinMaudry/dita-rdf ... tation/src
Thanks,
Colin
Colin Maudry
Enterprise documentation analyst and Open Data specialist
Rennes, France
Tweets at @CMaudry
Enterprise documentation analyst and Open Data specialist
Rennes, France
Tweets at @CMaudry
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: [Oxygen Webhelp] External links are treated as internal
Post by sorin_ristache »
Hello,
I can't get the problem in version 16.1. The external links work correctly because they are not modified in the Webhelp pages. I tested with the dita-rdf.ditamap DITA map. Did you test with other map in Oxygen 16.1? If yes please send the DITA map that you used. If no please send a copy of your output Webhelp pages.colinm wrote:In the TOC, I expected two links to be external:But they are prefixed with a '#" that makes them relative to the root of the page.
- Download link (zip) (http://colin.maudry.com/dita-rdf/#https ... plugin.zip)
- Source code (Github) (http://colin.maudry.com/dita-rdf/#http: ... y/dita-rdf)
Regards,
Sorin
<oXygen/> XML Editor Support
Sorin
<oXygen/> XML Editor Support
-
- Posts: 28
- Joined: Wed May 26, 2010 7:05 pm
Re: [Oxygen Webhelp] External links are treated as internal
Hi Sorin,
Thanks for taking the time to try to reproduce the issue.
However, I confirm I still have the issue. I have tried several times, I still get the same relative URL in the Web page. I've even loaded them in a local XAMP, browsinf without cache.
What is curious is that in index.html, index_frames.html and toc.html, the paths are right, absolute. However, when opened in a browser, the links are relative.
Does the Javascript touches the @href in the page?
You can find a zip of the filed deployed at http://colin.maudry.com/dita-rdf/ here: http://colin.maudry.com/share/dita-rdf.zip. I have removed my password from config.php.
Summary: the HTML files look good, but once loaded, the links become relative
I've tried with Firefox and IE 11.
Colin
Thanks for taking the time to try to reproduce the issue.
However, I confirm I still have the issue. I have tried several times, I still get the same relative URL in the Web page. I've even loaded them in a local XAMP, browsinf without cache.
What is curious is that in index.html, index_frames.html and toc.html, the paths are right, absolute. However, when opened in a browser, the links are relative.
Does the Javascript touches the @href in the page?
You can find a zip of the filed deployed at http://colin.maudry.com/dita-rdf/ here: http://colin.maudry.com/share/dita-rdf.zip. I have removed my password from config.php.
Summary: the HTML files look good, but once loaded, the links become relative

Colin
Colin Maudry
Enterprise documentation analyst and Open Data specialist
Rennes, France
Tweets at @CMaudry
Enterprise documentation analyst and Open Data specialist
Rennes, France
Tweets at @CMaudry
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: [Oxygen Webhelp] External links are treated as internal
Post by sorin_ristache »
Once loaded you have this in the main HTML file in your output WebHelp pages:colinm wrote:Summary: the HTML files look good, but once loaded, the links become relativeI've tried with Firefox and IE 11.
Code: Select all
<a href="#https://github.com/ColinMaudry/dita-rdf/blob/master/dita2rdf/dita2rdf-ditaot-plugin.zip">Download link (zip)</a>
. . .
<a href="#https://www.github.com/ColinMaudry/dita-rdf">Source code (Github)</a>
Code: Select all
<a target="_blank" href="https://github.com/ColinMaudry/dita-rdf/blob/master/dita2rdf/dita2rdf-ditaot-plugin.zip">Download link (zip)</a>
. . .
<a target="_blank" href="https://www.github.com/ColinMaudry/dita-rdf">Source code (Github)</a>
What DITA XML sources did you use? Where can I get them?
What Oxygen 16.1 build number did you use?
Regards,
Sorin
<oXygen/> XML Editor Support
Sorin
<oXygen/> XML Editor Support
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