A persistent feature request, and a good one, is to mirror the content in the static folder of River2 to Amazon S3.
There already was a one-off implementation of S3 support in River2, but I want to use builtins.staticText, a much more general approach, already used by scripting2.root.
Added opmlEditor.startup, a long-needed script to run code at startup. Added a call in system.startup.startupscript. So now when we want to add one-time inits that take place on startup, we have an easy place to add them.
The statictext data is stored in opmleditor.statictext. Set up initially with two locations, one in the filesystem and one for S3.
The filesystem is enabled, S3 is not enabled.
Filesystem points to the www sub-folder of Guest Databases, so it will be served by the built-in web server in the OPML Editor.
The URL initially derives from user.opmlEditor.prefs.server.externalDomainName. However, it can be set by the user to anything, in case you're serving from Dropbox or some other web server app on the local system.
builtins.staticText
opmlEditor.startup
system.startup.startupScript
opmlEditor.writeStaticFile
river2Suite.init
river2Suite.static.writeFile
river2Suite.static.afterScan
webApp.data.headIncludes
opmlEditor.data.outlines.prefs