On 14/04/2015 23:26, Dave Morriss wrote:
> On 14/04/15 23:03, Mike Ray wrote:
>> Hello folks,
>>
>> Does anybody know whether archive.org has some kind of API I can use to
>> upload files from the command-line?
>>
>> I have a bunch of short audio files, actually they are recordings of
>> each step of an accessible install of Debian 7.6 network install and I
>> would like to put them on archive.org so I can link to each file in an
>> installation guide on my new web site at:
>>
>> http://eyesfreelinux.ninja/
>>
>> I have tried several times via the web interface and it is a
>> horrendously complex business.
> 
> Hi Mike,
> 
> I built a work-flow to allow the uploading of HPR shows to archive.org
> around August 2014. I use it every weekend to upload the last week's shows.
> 
> Your needs might be different because I wanted to be able to upload the
> show notes as well as the audio. This added considerably to the
> complexity because it meant I had to process the HTML notes to fit them
> to the API.
> 
> I used the S3-like interface and made use of a Perl script (called
> ias3upload.pl) which I found when searching for help. This takes a CSV
> metadata file into which the HTML has been encoded which also points to
> the audio files. I wrote my own Perl script to generate this metadata.
> 
> I believe there is a Python script which does the same job as the Perl
> script I found. It is more recent and may well be better. I have not
> used it myself since I only found out about it late in the development
> of my own script, and that has been working fine since last year.
> 
> I can enlarge on this off-list if you want. I found it all quite poorly
> documented at the time so I'm happy to share what I discovered.
> 
> Dave
> 

Dave, and Jason,

Thanks for the info.

Dave, I would like to see your script.  I have installed the ia package
that Jason pointed out.  The documentation is still patchy but it's
beginning to sink in.  Seems to involve some horrendously long json
files, so if you have some tools for doing even a semi-automation of
generating data that would be cool.  I can hack it about to fit my needs.

I have 22 mp3 files of the Debian 7.6 net install procedure so I don't
fancy another aborted attempt at uploading via the web interface if I
can automate it.  I am likely to create more sets of recordings of
accessible Linux installs.

Mike


-- 
Michael A. Ray
Analyst/Programmer
Witley, Surrey, South-east UK

Interested in accessibility on the Raspberry Pi?
Visit: http://www.raspberryvi.org/
>From where you can join our mailing list for visually-impaired Pi hackers

_______________________________________________
Hpr mailing list
[email protected]
http://hackerpublicradio.org/mailman/listinfo/hpr_hackerpublicradio.org

Reply via email to