Share

Creative Commons Tools

Tracker: Bugs

5 RFE: non-interactive (CLI) version of ccPublisher - ID: 2042248
Last Update: Comment added ( richardneill )

One of the things I'm working on is a large shell-script that takes debate
archives (which I have filmed), and handles the process of editing,
titling, normalising, format-conversion etc. The resulting files are
CC-licensed, and I'd like to automatically upload them to archive.org.

However, I'd like to be able to do this *without* a GUI, but via a
shell-script instead. Is there any chance of a modification to
CC-publisher, which might be invoked something like this:

./publish.sh --file MYFILE.mpg --author ... --license ... --type ... --date
.....

This would then upload the file, to archive.org and return the URL of the
new file as its STDOUT.

Error messages to stderr, and exit code 0 or 1 depending on
success/failure.

Thanks - Richard


Richard Neill ( richardneill ) - 2008-08-07 22:17

5

Closed

Rejected

Nathan R. Yergler

publisher

None

Public


Comments ( 3 )

Date: 2008-08-09 00:34
Sender: richardneill


For the benefit of anyone else who encounters this bug report, what I
wanted pretty much exists already. It is documented at:
http://www.archive.org/help/contrib-direct.php



Date: 2008-08-09 00:18
Sender: richardneill


Thanks for a very helpful comment. That's a good start point, and I should
be able to figure it out for myself :-)


Date: 2008-08-08 18:33
Sender: nyerglerProject Admin


liblicense (http://wiki.creativecommons.org/liblicense) includes a command
line tool you can use to embed license metadata in files. You could use
this in a shell script to prepare the files for uploading. We're not
actively developing ccPublisher so I don't think we'll be doing a full, end
to end, CLI tool. Note that the pyarchive Python module (available in CC
svn @ berlios.de) attempts to wrap the archive.org submission API. YMMV.


Attached File

No Files Currently Attached

Changes ( 3 )

Field Old Value Date By
status_id Open 2008-08-08 18:33 nyergler
resolution_id None 2008-08-08 18:33 nyergler
close_date - 2008-08-08 18:33 nyergler