[cc-devel] [ cctools-Bugs-2042248 ] RFE: non-interactive (CLI) version of ccPublisher

SourceForge.net noreply at sourceforge.net
Fri Aug 8 20:18:32 EDT 2008


Bugs item #2042248, was opened at 2008-08-07 22:17
Message generated for change (Comment added) made by richardneill
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=559966&aid=2042248&group_id=80503

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: publisher
Group: None
Status: Closed
Resolution: Rejected
Priority: 5
Private: No
Submitted By: Richard Neill (richardneill)
Assigned to: Nathan R. Yergler (nyergler)
Summary: RFE: non-interactive (CLI) version of ccPublisher

Initial Comment:
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

----------------------------------------------------------------------

>Comment By: Richard Neill (richardneill)
Date: 2008-08-09 00:18

Message:
Logged In: YES 
user_id=740575
Originator: YES

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

----------------------------------------------------------------------

Comment By: Nathan R. Yergler (nyergler)
Date: 2008-08-08 18:33

Message:
Logged In: YES 
user_id=162385
Originator: NO

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.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=559966&aid=2042248&group_id=80503


More information about the cc-devel mailing list