howto create a rsync plugin between local dir and remote gallery

ticapix

Joined: 2009-11-03
Posts: 1
Posted: Tue, 2009-11-03 14:19

Hi,

I have a some pictures and when I do a change on my local computer, I would like to run some kind of rsync command that will update the remote gallery (upload/delete photos).

If I want to write a such plug-in, where should I start for reading gallery3 api documentation ?
Or is there an helloworld plug-in example with simple image manipulation ?

Thanks,

--
pierre

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16502
Posted: Tue, 2009-11-03 14:46

With G3? Not yet possible. There is not yet an API for connecting to G3 and doing anything outside of the G3 interface right now.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 22883
Posted: Wed, 2009-11-04 00:37
Quote:
If I want to write a such plug-in,

There is a devloper module in gallery-contrib that creates a skeletal module.
http://github.com/gallery/gallery3-contrib/tree/master/modules/developer/

Get it to work manually first then you could add a listener module to trigger the sync.

Dave

_____________________________________________
Blog & G2 || floridave - Gallery Team