Last update
: Wed, Oct 3, 2012 at 1:34 PM.
Watched folder feature
undefined
A new feature for OPML Editor users, allows you to set up a folder that we check periodically for new image files.
If we find one, we upload it, and then open a small window containing the HTML code, ready to insert into a blogpost or other web-based document.
The upload goes through the Static Files facility, which is configured on its own
prefs page
.
How to
There's a new
prefs page
that controls the feature.
Screen shot
.
On that page you can
1. Enable or disable the feature.
2. Change the location of the folder we watch (you might want to put it on the desktop, for example).
3. Edit the HTML template for the image.
4. Change the location of the folder we use for backing up images on the local computer as they are uploaded.
Details
Files must have the extension .png, .gif, .jpg or .jpeg. Case-insensitive.
We check every ten seconds.
We upload the files into a sub-folder named "images."
The image below was uploaded with it
Here's a PNG file, to prove they work too
Parts
opmleditor.init
opmlEditor.watchFolder
opmleditor.thread
opmlEditor.data.outlines.watchedFolderClipboard
opmlEditor.data.outlines.prefs