Additions to the Gallery Remote Protoca/ol :)

Sytone
Sytone's picture

Joined: 2002-11-11
Posts: 16
Posted: Mon, 2003-04-21 22:19

Hi,

Will there be any more addtions? ie. Delete image, Move Folder and delete folder?

Its been a while since I have had a look at this stuff, I have moved house and had a baby.

But I have completed a assembly in C# which will allow any .Net application to intergrate with Gallery via the Gallery Remote protocol(V1,V2.1). (This was from my orginal attempt at duplicating the whole tool in .Net) (I decided to make smaller steps :smile:

Hopefully Ill be uploading that this week. There may even be instructions :wink:

 
hawkin
hawkin's picture

Joined: 2002-08-15
Posts: 45
Posted: Sat, 2003-05-03 05:00

yay!
maybe we'll see a Gallery Remote in .NET?

I would like to see the protocol evolve to a RPC (remote procedure call), so external applications could use admin functions and features in Gallery through it.

Examples of use:
Flash retreving images, structure and comments out of gallery
remote admin tool, with upload image, delete, move (etc. like Sytone mentioned)
Gallery <-> Gallery communication, for mirror, or other purposes.

 
zerhart

Joined: 2003-05-05
Posts: 4
Posted: Mon, 2003-05-05 02:35

I'd like to check out your .net assembly. If you make it available, please post the location here.

Thanks!

 
Sytone
Sytone's picture

Joined: 2002-11-11
Posts: 16
Posted: Tue, 2003-05-06 12:34

Hi,

I still have a bug in uploading large images/movies with timeouts. once i have it nailed I will upload the assemblies.

Ideally I want to do the Gallery local / remote sync and on my local PC specify which photoalbums and images will display on the website and which will just stay on my home pc. Well thats the big goal anyway.

I will look at the protocol page and try and start implimenting extra functions as time permits.

 
Sytone
Sytone's picture

Joined: 2002-11-11
Posts: 16
Posted: Tue, 2003-05-06 12:36

I was thinking, shouldn't XML be the transport? ie Webservice? Thoughts on this one?

 
dlaporte

Joined: 2003-08-03
Posts: 11
Posted: Sun, 2003-08-03 23:38

I would also be interested in the assemblies. It sounds like we have a similar idea of what we'd like to do. I'm interesting an writing a little utility to sync my Photoshop Albums to gallery.

thanks!
David

 
loxly

Joined: 2003-01-28
Posts: 126
Posted: Mon, 2003-08-04 04:21
dlaporte wrote:
I'm interesting an writing a little utility to sync my Photoshop Albums to gallery.

thanks!
David

What a cool idea!

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Mon, 2003-08-04 07:44

dlaporte, if there is anything I can do to facilitate your creation of a Photoshop Album plugin, please ask. Such a plugin would be invaluable. Good luck.

 
dlaporte

Joined: 2003-08-03
Posts: 11
Posted: Wed, 2003-08-06 02:34

I'm thinking of writing it as a stand-alone utility as the "Online Services" aspect of PSA seems very proprietary. The backend database is just Access, and the tables are fairly straight-forward.

My questions are - is .NET the "best" language to write something like this in? My first inclination was perl since I'm fairly fluent and perl interfaces to gallery remote already exist. Also, should I wait for G2? It sounds like I could bypass the entire gallery remote access and write directly to a SQL backend in the new version.

Does something like this below in Gallery Remote instead of having a whole new tool that basically reinvents the wheel? I haven't coded Java in a few years, so I'd like to sit that one out :)

thoughts? thanks!

Dave

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Wed, 2003-08-06 06:48

You can always use GR to upload your pictures from PSA by Drag and Dropping pictures from PSA to GR. That's not really "synching"...

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Mon, 2003-09-22 19:05

You may be interested to know that we have a new developer dedicated to working on the GR protocol. He's been busy: he added some features like getting the list of pictures from an album and improving other methods.

He's also working on implementing album and photo move, and modifying photos (captions, etc.).

More info about this on the protocol page of the GR manual.

Also, protocol improvements are tracked by this task.

 
dlaporte

Joined: 2003-08-03
Posts: 11
Posted: Sat, 2003-09-27 05:47

I've finished up version 1.0 of psa2gallery.pl - a Perl script to export a Photoshop Album to Gallery. I'm considering it beta, although I've exported many albums without issue.

The script will preserve the album thumbnail as well as all captions and EXIF data. The script was based on Jesse Mullan's excellent galleryadd.pl (thanks Jesse!)

You can download the script at:

http://www.laportestyle.org/tools/psa2gallery/psa2gallery.pl

It's probably easiest to right-click on the URL above and "Save as".

Please let me know if you have any suggestions or find any bugs...

thanks,
Dave

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Sat, 2003-09-27 06:00

I've added psa2gallery.pl to the page about Other Methods on the website.

Congrats!

 
Sytone
Sytone's picture

Joined: 2002-11-11
Posts: 16
Posted: Sun, 2003-09-28 09:25

Hi,

I have been really busy at work, baby, starting uni, etc.

I will be restarting dev on the .Net version of the code. I will make the asembiles avaliable soon and I will start working on the additions to the protocols.