I have a legacy Lotus Domino Web application - database with data, of course, but also JavaScript, Resources - including png and jpg images, subforms as HTML and CSS, etc.
I want to export the application itself - not the data, just the app structure - so I can reuse the images, HTML and CSS in other, more modern Web frameworks (e.g. Rails or NodeJS or PHP or Python or whatever) that consume HTML templates and CSS and JS as files.
How do I export the HTML, CSS, JS, png, jpg, etc. as is? I am happy to take the entire file structure as shown in Designer, just want to get the actual HTML/CSS/JS/images/etc. in there.
I tried using the "source control disk sync" option, but the files are saved in some strange Domino-specific XML format, with the underlying HTML/CSS/etc stored as hex. Not very helpful.
As an example, I might have in my app Shared Elements\subforms\main.login.subform
(and many others) which look like:
<style>
#service-content {
background-color: #fff;
}
label, input {
width: 100px;
display: inline-block;
padding: 3px 5px;
margin-bottom: 10px;
}
input {
width: 300px;
}
#login-message, h1 {
text-align: center;
}
</style>
<div style="width: 450px; margin: 0 auto">
<input type="hidden" value="/<Computed Value>/page?readform" name="RedirectTo" />
<h1>Login</h1>
<!-- lots of html here -->
</div>
<!--// NAVIGATION -->
I want to extract that (and the others like it).
EDIT:
As @AndrewB pointed out in the comments below, this is worth a better explanation.
The Domino app in question uses (mostly) static html and JS to retrieve data from agents via Ajax. So the UI (html/css/js) is very reusable with any backed, with some moderate amount of work.
But it only works if I can get the original static pages out. These statics are stored under Resources\Files\
or Shared Elements\subforms\
EDIT 2:
When I turn off binary DXL export as per @sjcaged, I get output for the above raw HTML that looks like the following (this is just the end):
<font name='Courier New' pitch='fixed' truetype='true' familyid='30' color='#4200ff'/>"submit"</run>
<run><font name='Courier New' pitch='fixed' truetype='true' familyid='30'/> </run>
<run><font name='Courier New' pitch='fixed' truetype='true' familyid='30' color='purple'/>value</run>
<run><font name='Courier New' pitch='fixed' truetype='true' familyid='30'/>=</run>
<run><font name='Courier New' pitch='fixed' truetype='true' familyid='30' color='#4200ff'/>"Login"</run>
<run><font name='Courier New' pitch='fixed' truetype='true' familyid='30'/> </run>
<run><font name='Courier New' pitch='fixed' truetype='true' familyid='30' color='teal'/>></</run>
<run><font name='Courier New' pitch='fixed' truetype='true' familyid='30' color='#3f8080'/>div</run>
<run><font name='Courier New' pitch='fixed' truetype='true' familyid='30' color='teal'/>></run></par>
<par def='3'><run><font name='Courier New' pitch='fixed' truetype='true' familyid='30'/></run>
<run><font name='Courier New' pitch='fixed' truetype='true' familyid='30' color='teal'/></</run>
<run><font name='Courier New' pitch='fixed' truetype='true' familyid='30' color='#3f8080'/>form</run>
<run><font name='Courier New' pitch='fixed' truetype='true' familyid='30' color='teal'/>></run></par>
<par def='3'>
<run><font name='Courier New' pitch='fixed' truetype='true' familyid='30' color='teal'/></</run>
<run><font name='Courier New' pitch='fixed' truetype='true' familyid='30' color='#3f8080'/>div</run>
<run><font name='Courier New' pitch='fixed' truetype='true' familyid='30' color='teal'/>>
</run></par>
<par def='2'><run><font name='monospace'/><!--// NAVIGATION --></run></par></richtext>
</body>
<item name='$$ScriptName' summary='false' sign='true'><text>main.nav</text></item></subform>