Opening Files in Oxygen from Website
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 37
- Joined: Tue Nov 30, 2010 7:34 pm
Opening Files in Oxygen from Website
This is a long shot, but I'll throw it out there. Oxygen appears to open files via the command line when you do something like:
What I'd like to be able to do is publish a listing of files to a webpage which are stored on a webdav server. Each link would point to it's corresponding file via a custom uri.. ie:
On Windows you can define protocols and assign programs to open them via the registry and most of the browsers will comply:
http://kb.mozillazine.org/Register_protocol
So I could, in theory, setup my users PC's to open webdav:// URI's via Oxygen.
The problem is that Oxygen doesn't appear to know what to do with non-standard URI's like webdav:// or dav://. Is there a workaround for this? Or maybe some other method of doing what I'm trying to do?
Code: Select all
"c:\Program Files\Oxygen XML Editor 13\oxygen13.0.exe" http://servername/webdav/blah/blah.dita
Code: Select all
webdav://servername/webdav/blah/blah.dita
http://kb.mozillazine.org/Register_protocol
So I could, in theory, setup my users PC's to open webdav:// URI's via Oxygen.
The problem is that Oxygen doesn't appear to know what to do with non-standard URI's like webdav:// or dav://. Is there a workaround for this? Or maybe some other method of doing what I'm trying to do?
-
- Posts: 9447
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Opening Files in Oxygen from Website
Hi Brian,
I do not quite understand why you would not use the regular "http" protocol to open WebDav files but you have the possibility to implement in Oxygen a custom protocol plugin.
Our Java Plugin SDK can be downloaded from here:
http://www.oxygenxml.com/oxygen_sdk.htm ... er_Plugins
Just look at the sample Custom Protocol implementation. Basically you have to implement a java.net.URLStreamHandler which will require you to provide an input stream from which Oxygen will read when opening the XML file and an output stream which Oxygen will use when saving the file.
Regards,
Radu
I do not quite understand why you would not use the regular "http" protocol to open WebDav files but you have the possibility to implement in Oxygen a custom protocol plugin.
Our Java Plugin SDK can be downloaded from here:
http://www.oxygenxml.com/oxygen_sdk.htm ... er_Plugins
Just look at the sample Custom Protocol implementation. Basically you have to implement a java.net.URLStreamHandler which will require you to provide an input stream from which Oxygen will read when opening the XML file and an output stream which Oxygen will use when saving the file.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 37
- Joined: Tue Nov 30, 2010 7:34 pm
Re: Opening Files in Oxygen from Website
The reason for the custom protocol is that I can't remap the http:// protocol to Oxygen since it's already being used by the browser. I'll take a look at the StreamHandler solution. Thanks for the pointer.
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