CSS: "link" open in browser
Are you missing a feature? Request its implementation here.
-
- Posts: 81
- Joined: Mon Mar 05, 2012 5:23 pm
CSS: "link" open in browser
Just an little idea: it would be nice, if your "link"-property in CSS would have an optional attribute like "browser", which forces the link to open in the browser (perhaps the default browser as defined in preferences) instead of opening in Oxygen. This would be very useful for consulting external ressources (in HTML) while editing.
Best regards,
Stefan
Best regards,
Stefan
-
- Posts: 9436
- Joined: Fri Jul 09, 2004 5:18 pm
Re: CSS: "link" open in browser
Hi Stefan,
So you have local edited files which point with links to HTML pages, right?
What version of Oxygen are you using? The standalone or Eclipse plugin version? And on what operating system?
When clicking a link which points to binary resources like PDF, Oxygen should always use the web browser to view the resource.
Also, when referencing a remote HTML file and if the current edited file is from the local disk, Oxygen should also use the web browser to open the HTML file. Is the HTML extension associated to the web browser on your platform? For example if you double click an HTML file in the windows explorer, is it opened in the web browser?
Regards,
Radu
So you have local edited files which point with links to HTML pages, right?
What version of Oxygen are you using? The standalone or Eclipse plugin version? And on what operating system?
When clicking a link which points to binary resources like PDF, Oxygen should always use the web browser to view the resource.
Also, when referencing a remote HTML file and if the current edited file is from the local disk, Oxygen should also use the web browser to open the HTML file. Is the HTML extension associated to the web browser on your platform? For example if you double click an HTML file in the windows explorer, is it opened in the web browser?
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 81
- Joined: Mon Mar 05, 2012 5:23 pm
Re: CSS: "link" open in browser
Hi Radu,
I have files in a remote exist-db with an value, which I inserted via CSS in an URL. Like:
element:after {
link: "http://www.exmaple.com" attr(corresp) ".html";
}
Oxygen loads the document and open it in text mode. I have Windows XP, the system default browser for .html is Firefox and functions well and I also have the latest Oxygen XML Author Version (Standalone).
Regards,
Stefan
I have files in a remote exist-db with an value, which I inserted via CSS in an URL. Like:
element:after {
link: "http://www.exmaple.com" attr(corresp) ".html";
}
Oxygen loads the document and open it in text mode. I have Windows XP, the system default browser for .html is Firefox and functions well and I also have the latest Oxygen XML Author Version (Standalone).
Regards,
Stefan
-
- Posts: 9436
- Joined: Fri Jul 09, 2004 5:18 pm
Re: CSS: "link" open in browser
Hi Stefan,
This is a case in which the edited file is remote and the referenced HTML is also remote and we considered that there might be a change for the user to want to edit that HTML file.
Is the HTML documentation on the same server from where you open the XML file. Do you connect to the Exist server using WebDav or using the Exist connection?
Regards,
Radu
This is a case in which the edited file is remote and the referenced HTML is also remote and we considered that there might be a change for the user to want to edit that HTML file.
Is the HTML documentation on the same server from where you open the XML file. Do you connect to the Exist server using WebDav or using the Exist connection?
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 81
- Joined: Mon Mar 05, 2012 5:23 pm
Re: CSS: "link" open in browser
A little annotation: we also use the css "link" proporty to link to an index (register) in our exist-database. In this case, it is very comfortable, that the linked document (here: xml) opens in oxygen.
-
- Posts: 9436
- Joined: Fri Jul 09, 2004 5:18 pm
Re: CSS: "link" open in browser
Hi Stefan,
Thanks for the details.
We'll try to modify the place where the decision is taken whether to open the HTML in the browser or in the editor to also take your use-case into account.
Regards,
Radu
Thanks for the details.
We'll try to modify the place where the decision is taken whether to open the HTML in the browser or in the editor to also take your use-case into account.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 81
- Joined: Mon Mar 05, 2012 5:23 pm
Re: CSS: "link" open in browser
Hi Radu,
I ran again in this issue with Oxygen 14.2: I would like to open an URL, which is noted in the CSS with the help of the oXygen CSS property "link". Some URLs are openend by oXygen in the browser, sometimes are opened in oXygen itself (even HTML). I don't get it, how oXygen decides this. Is there a possibility to influence that behauviour (via Config, CSS or Java)?
Thank for your advice!
Kind regards
Stefan
I ran again in this issue with Oxygen 14.2: I would like to open an URL, which is noted in the CSS with the help of the oXygen CSS property "link". Some URLs are openend by oXygen in the browser, sometimes are opened in oXygen itself (even HTML). I don't get it, how oXygen decides this. Is there a possibility to influence that behauviour (via Config, CSS or Java)?
Thank for your advice!
Kind regards
Stefan
-
- Posts: 501
- Joined: Mon Feb 03, 2003 10:56 am
Re: CSS: "link" open in browser
Hello Stefan,
If you want the links to be opened in the browser, then make sure that you register the extension of the link targets with the "HTML Editor". For this, use "Options"/"Preferences"/"File Types".
If you want to open the link in the editor then register the extension of the link targets with the "XML Editor".
Best regards,
Dan
If you want the links to be opened in the browser, then make sure that you register the extension of the link targets with the "HTML Editor". For this, use "Options"/"Preferences"/"File Types".
If you want to open the link in the editor then register the extension of the link targets with the "XML Editor".
Best regards,
Dan
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