/usr/share/doc/photo-uploader/README is in photo-uploader 0.11-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 | Photo uploader
==============
This is simple photo uploader for minilabs. Basic usage is described by
online help, just issue photo-upload --help.
To upload photo to some service, just invoke something like this:
photo-upload -s service_name image1.jpg /folder/with/images/*.jpg
Supported service features
==========================
You can get list of services by photo-upload -l.
Description of features:
- new - supports creating of new session
- reuse - supports reusing of existing session
- cookies - requires cookie injection to browser on new session
Adding new service
==================
To add support for your service, you need to subclass from
phoupl.core.PhotoUploader and implement _connect and _upload methods.
You also need to register new service using phoupl.register_service.
Then place your module int phoupl/services directory and it should work
:-).
Using in applications
=====================
If you want to use photo-uploader in your applications, please be
careful, because it is in very early stage of development and almost
everything can change.
If you want to parse photo-upload -l output, you can rely it will be
always formatted like Debian control files (see Debian Policy Manual at
<http://www.debian.org/doc/debian-policy/ch-controlfields.html> for
detailed description). Name field is required all others are basically
optional and new fields can be added by later versions.
Contributing
============
You can checkout sources using Git from Gitorious
<http://gitorious.org/photo-uploader>:
git clone git://gitorious.org/photo-uploader/photo-uploader.git
# vim: et ts=4 sw=4 sts=4 tw=72 spell spelllang=en_us
|