add images automatically?

alex13507
alex13507's picture

Joined: 2002-08-25
Posts: 2
Posted: Fri, 2002-09-06 01:26

I'm looking into getting new pictures on a daily or weekly basis... and I want to automate the process... is there a way to trigger the album to add pictures to it? maybe via command line on a linux box (ie-cron job)?

anyone else ever do this? any suggestions/ideas?

thanks..
alex

 
vallimar

Joined: 2002-08-15
Posts: 487
Posted: Fri, 2002-09-06 04:31

Check the User Guide, what you want is <!-- BBCode Start --><A HREF="http://gallery.menalto.com/modules.php?op=modload&amp;name=phpWiki&amp;file=index&amp;pagename=Scripts" TARGET="_blank">located here</A><!-- BBCode End -->.
All you need is perl. You'll see a newer version of the script by me there, but
you'll need to update the gallery_remote.php file to use it, I believe all files are in
the zip. If you choose my updated script and have issues, send me a PM as I may
miss it if you reply here.

 
alex13507
alex13507's picture

Joined: 2002-08-25
Posts: 2
Posted: Tue, 2003-02-04 14:09

I can't seem to get this working again on a different box. It worked fine on my redhat box, but now I'm on FreeBSD and I get this error message:

Could not log in: HTTP error
http://gallery.mysite.com/gallery_remote.php
501
<HTML>
<HEAD><TITLE>An Error Occurred</TITLE></HEAD>
<BODY>
<H1>An Error Occurred</H1>
501 Protocol scheme 'http' is not supported
</BODY>
</HTML>

Does anyone know how to fix this? I'd really love to get this working again.

Thanks!

 
beckett
beckett's picture

Joined: 2002-08-16
Posts: 3474
Posted: Fri, 2003-02-07 13:15

Hello. Please post this in the Gallery Remote forum. The rest of us aren't very much up to speed with it.

-Beckett (

)