<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Thanks Alex!<div class="">All best,</div><div class="">Toma<br class=""><div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="orphans: auto; text-align: start; text-indent: 0px; widows: auto; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="orphans: auto; text-align: start; text-indent: 0px; widows: auto; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="orphans: auto; text-align: start; text-indent: 0px; widows: auto; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="orphans: auto; text-align: start; text-indent: 0px; widows: auto; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><span class="Apple-style-span" style="border-collapse: separate; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; widows: 2; border-spacing: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><span class="Apple-style-span" style="border-collapse: separate; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; widows: 2; border-spacing: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><span class="Apple-style-span" style="border-collapse: separate; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; widows: 2; border-spacing: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><span class="Apple-style-span" style="border-collapse: separate; line-height: normal; orphans: 2; text-indent: 0px; widows: 2; border-spacing: 0px;"><div style="color: rgb(0, 0, 0); font-variant: normal; letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">--<br class=""></div><div style="color: rgb(0, 0, 0); font-variant: normal; letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Belgrade Center for Digital Humanities</div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><a href="http://humanistika.org" class="">http://humanistika.org</a></div></span></div></span></div></span></div></span></div></div></div></div></div>
</div>
<br class=""><div style=""><blockquote type="cite" class=""><div class="">19.10.2016., в 14.53, Alex Jitianu <<a href="mailto:alex_jitianu@sync.ro" class="">alex_jitianu@SYNC.RO</a>> написал(а):</div><br class="Apple-interchange-newline"><div class="">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" class="">
<div bgcolor="#FFFFFF" text="#000000" class=""><p class="">Hi Toma,</p><p class="">What you can do right now inside the Data Source Explorer, in an
eXist connection, is to import files either by using the dedicated
actions or by DnD from the Project view. I guess that eXist
itself is, or can be, properly configured to trigger indexing jobs
etc. <br class="">
</p><p class="">If you want to get an experience more tailored to your needs then
you can develop an Workspace Access plugin [1]. Such a plugin can
contribute side views or toolbar buttons. A good starting point is
our Maven-based sample project [2]<br class="">
</p><p class="">The bad news is that we don't have too much API or extension
points on the Data Source Explorer side. This means that while you
can use the existing support in the Data Source Explorer there is
no way to extend it and add your custom actions that need to
interact with eXist will have to use your own modules (who might
use the eXist <a class="moz-txt-link-freetext" href="xml:DB">XML:DB</a> api [3]). You can take a look at Axxepta's (a
company that has a lot of experience working with XML databases
and Oxygen plugins) Project Argon [4] which is an open source
Oxygen plugin that offers support for working with document stored
in a BaseX server. Perhaps you can reuse some modules from there
and just implement the eXist connection layer...<br class="">
</p>
[1]
<a class="moz-txt-link-freetext" href="https://oxygenxml.com/doc/versions/18.0/ug-editor/concepts/workspace-access-plugin.html">https://oxygenxml.com/doc/versions/18.0/ug-editor/concepts/workspace-access-plugin.html</a><br class="">
[2] <a class="moz-txt-link-freetext" href="https://oxygenxml.com/oxygen_sdk/oxygen_standalone_plugins.html">https://oxygenxml.com/oxygen_sdk/oxygen_standalone_plugins.html</a><br class="">
[3] <a class="moz-txt-link-freetext" href="http://exist-db.org/exist/apps/doc/devguide_xmldb.xml">http://exist-db.org/exist/apps/doc/devguide_xmldb.xml</a><br class="">
[4] <a class="moz-txt-link-freetext" href="https://github.com/axxepta/project-argon">https://github.com/axxepta/project-argon</a><br class="">
<pre class="moz-signature" cols="72">Best regards,
Alex
--
Alex Jitianu
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
<a class="moz-txt-link-freetext" href="http://www.oxygenxml.com/">http://www.oxygenxml.com</a> </pre>
<div class="moz-cite-prefix">On 10/19/2016 9:14 AM, Toma Tasovac
wrote:<br class="">
</div>
<blockquote cite="mid:E5DA6826-B4DB-42BC-85EC-506D5672C22C@humanistika.org" type="cite" class="">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" class="">
Hi.
<div class=""><br class="">
</div>
<div class=""><p style="box-sizing: border-box; margin-bottom: 16px; color:
rgb(51, 51, 51); font-family: -apple-system,
BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif,
'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
margin-top: 0px !important;" class="">We're looking into
having an oXygen plug-in developed which would make it
possible to upload local files to eXist-db directly from
oXygen. (I'm not talking about opening eXist files in oXygen,
but rather about using the local filesystem under version
control in oXygen and then occasionally deploying files to
eXist). </p><p style="box-sizing: border-box; margin-top: 0px;
margin-bottom: 16px; color: rgb(51, 51, 51); font-family:
-apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica,
Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',
'Segoe UI Symbol';" class="">At this point, I'm not looking
for complex mirroring of files and hierarchies (especially
since our local folder hierarchies do not necessarily
correspond to the hierarchies in eXist-db), but a very simple
one-on-one thing: a button in oXygen which on click will talk
to eXist, deploy the current oXygen file to eXist-db (based on
configuration values), trigger a reindex in eXist and notify
the user that everything went ok. </p><p style="box-sizing: border-box; margin-top: 0px;
margin-bottom: 16px; color: rgb(51, 51, 51); font-family:
-apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica,
Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',
'Segoe UI Symbol';" class="">The plugin should be configurable
and allow for multiple deployments (e.g. deploy to local
server and then remote, or staging server and production
server etc.)</p>
<div class="">Any advice on how best to implement this with the
oXygen SDK? We'd like to reuse as much as possible the
functionalities that already exist. </div>
<div class=""><br class="">
</div>
<div class="">All best,</div>
<div class="">Toma</div>
<div class=""><br class="">
</div>
<div class="">
<div style="letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div style="orphans: auto; text-align: start; text-indent:
0px; widows: auto; word-wrap: break-word;
-webkit-nbsp-mode: space; -webkit-line-break:
after-white-space;" class="">
<div style="orphans: auto; text-align: start; text-indent:
0px; widows: auto; word-wrap: break-word;
-webkit-nbsp-mode: space; -webkit-line-break:
after-white-space;" class="">
<div style="orphans: auto; text-align: start;
text-indent: 0px; widows: auto; word-wrap: break-word;
-webkit-nbsp-mode: space; -webkit-line-break:
after-white-space;" class="">
<div style="orphans: auto; text-align: start;
text-indent: 0px; widows: auto; word-wrap:
break-word; -webkit-nbsp-mode: space;
-webkit-line-break: after-white-space;" class=""><span class="Apple-style-span" style="border-collapse:
separate; line-height: normal; border-spacing:
0px;">
<div style="word-wrap: break-word;
-webkit-nbsp-mode: space; -webkit-line-break:
after-white-space;" class=""><span class="Apple-style-span" style="border-collapse: separate; line-height:
normal; orphans: 2; text-align: -webkit-auto;
text-indent: 0px; widows: 2; border-spacing:
0px;">
<div style="word-wrap: break-word;
-webkit-nbsp-mode: space;
-webkit-line-break: after-white-space;" class=""><span class="Apple-style-span" style="border-collapse: separate;
line-height: normal; orphans: 2;
text-align: -webkit-auto; text-indent:
0px; widows: 2; border-spacing: 0px;">
<div style="word-wrap: break-word;
-webkit-nbsp-mode: space;
-webkit-line-break: after-white-space;" class=""><span class="Apple-style-span" style="border-collapse: separate;
line-height: normal; orphans: 2;
text-indent: 0px; widows: 2;
border-spacing: 0px;">
<div style="font-variant-ligatures: normal; font-variant-position: normal; font-variant-caps: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">--<br class="">
</div>
<div style="font-variant-ligatures: normal; font-variant-position: normal; font-variant-caps: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Belgrade
Center for Digital Humanities</div>
<div style="word-wrap: break-word;
-webkit-nbsp-mode: space;
-webkit-line-break:
after-white-space;" class=""><a moz-do-not-send="true" href="http://humanistika.org/" class="">http://humanistika.org</a></div>
</span></div>
</span></div>
</span></div>
</span></div>
</div>
</div>
</div>
</div>
</div>
<br class="">
</div>
<br class="">
<fieldset class="mimeAttachmentHeader"></fieldset>
<br class="">
<pre wrap="" class="">_______________________________________________
oXygen-sdk mailing list
<a class="moz-txt-link-abbreviated" href="mailto:oXygen-sdk@oxygenxml.com">oXygen-sdk@oxygenxml.com</a>
<a class="moz-txt-link-freetext" href="https://www.oxygenxml.com/mailman/listinfo/oxygen-sdk">https://www.oxygenxml.com/mailman/listinfo/oxygen-sdk</a>
</pre>
</blockquote>
<br class="">
</div>
_______________________________________________<br class="">oXygen-sdk mailing list<br class=""><a href="mailto:oXygen-sdk@oxygenxml.com" class="">oXygen-sdk@oxygenxml.com</a><br class="">https://www.oxygenxml.com/mailman/listinfo/oxygen-sdk<br class=""></div></blockquote></div><br class=""></div></body></html>