publish to gallery 2 from command-line

thockin

Joined: 2010-01-31
Posts: 10
Posted: Sun, 2010-01-31 08:40

When I used Windows, I really liked the "publish to web" integration with gallery2. Now that I am back to Linux full-time on the desktop, I'd like to wrap up a nautilus script or extension to provide similar functionality under GNOME.

Is there a way to publish files to a gallery2 instance from the command line? How could I go about doing this?

Tim

 
thockin

Joined: 2010-01-31
Posts: 10
Posted: Sun, 2010-01-31 08:57

BTW: I found gallery_uploader, but I get a 500 Server Error no matter what I try.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Mon, 2010-02-01 20:04

gallery_uploader? I don't think I've seen that one. Try this:
http://codex.gallery2.org/Downloads:Galleryadd.pl_NG

And here's a guy who's created a script to run through cron:
http://codex.gallery2.org/Gallery2:User_Contributions (Automatically add files/directories to G2 from your web server using a Cron job and PHP script)
http://gallery.menalto.com/node/81010#comment-284733
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here