Opening a URL programmatically in oXygen from a website
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 3
- Joined: Sat Apr 04, 2020 11:05 pm
Opening a URL programmatically in oXygen from a website
I'm looking to create a link on my website that would open a url in oXygen. This will only be for developers, so someone with oXygen installed and configured properly. This only needs to work on MacOS.
The url is for a particular data source connection defined in oXygen that opens the resource in eXist-db. When opened directly in oXygen, a sample of the url is:
I can open the resource from the command line with:
What are my options for how to programmatically make this happen when clicking on a link in my website? Any guidance is greatly appreciated.
The url is for a particular data source connection defined in oXygen that opens the resource in eXist-db. When opened directly in oXygen, a sample of the url is:
Code: Select all
oxygen:/eXist-db wmm$eXist-db wmm/db/pdfstyles/lists/1169496.xsl
Code: Select all
open edit-in-oxygen:oxygen:/eXist-db\ wmm\$eXist-db\ wmm/db/pdfstyles/lists/1169496.xsl
-
- Posts: 9431
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Opening a URL programmatically in oXygen from a website
Hi,
I'm not a Javascript guru, I think it would be easier for you to add a drag and drop button like we have in the "Quick Installation" section for our plugins:
https://www.oxygenxml.com/doc/versions/ ... dq_wvx_qsb
The HTML code for such a button would look like this:
Regards,
Radu
I'm not a Javascript guru, I think it would be easier for you to add a drag and drop button like we have in the "Quick Installation" section for our plugins:
https://www.oxygenxml.com/doc/versions/ ... dq_wvx_qsb
The HTML code for such a button would look like this:
Code: Select all
<a
title = "Drag and drop into the Oxygen editing area"
href="your_URL_HERE"
style="padding: 8px; border: 1px solid #cbcbcb; border-radius: 4px; cursor: grab;color:black;
text-decoration:none;"><span>OPEN IN OXYGEN</span></a>
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