--- In radio-dev@yahoogroups.com, "Peter Breuls" <breuls@c...> wrote:
> I think he's running the My Pictures tool:
> It does exactly that: watch a folder and move every image that's
> dropped there into the www/images/YYYY/MM/DD folder.
Ok, so the upstreaming code is behaving exactly as expected :-)
Under the new upstreaming scheme, any 'special' folder under Radio's
root 'www' folder is scanned for upstreaming once an hour. I suppose
David built an upstream driver in the myPicture tool that takes care
of the folder watching.
We've already built some limited support for My Pictures style image
management: once the images are moved into the Year / Month folders
hierarchy, they are upstreamed with the same timing as regular posts.
Refer to the upstreaming preferences page
http://127.0.0.1:5335/system/pages/prefs?page=1.4 for a detailed schedule.
What is missing is proper support for the upstreaming of My Pictures'
'special' folder.
We have provided for this need through a new upstreaming callback
script in user.radio.callbacks.upstreamScanFolder. David should update
My Pictures to place in that table the address of a script that
determines when the folder whose upstreaming cache table address was
passed as a parameter should upstream.
I wrote such a script for activeRenderer 2.5.2, so that aR's importing
mechanism kept triggering every 5 minutes. All upstreamScanFolder
callback scripts are called every 10 seconds.
I'll place the activeRender upstreamScanFolder script in the Files
section of this group, to serve as a template.
David, if you're still browsing this list, get in touch with me
please. If you are not, I guess I'll try to unearth your email address
from my archives, it's been quite a while :-)
Jack, for now, if you tell us the complete pathname for your My
Pictures 'special' folder, I can send you a quick fix.
Cheers
Marc