[Openfontlibrary] ccHost 5 file archive types
Victor Stone
fourstones.net at gmail.com
Mon Oct 6 09:50:35 PDT 2008
/topposting/
The zip directory dump is all done by getID3.
There is another 3rd party module (cchost_lib/zip) that someone else
contributed for use with downloading checked files, that may be useful
in un-zipping, I don't really know.
I do know that musicians would appreciate the ability to preview
samples embedded in a zip, however note that file verification (a key
security feature of cchost) must be maintained when downloading files
directly from a cchost site and that any un-archiving code must also
incorporate verification.
VS
On Mon, Oct 6, 2008 at 6:42 PM, Dave Crossland <dave at lab6.com> wrote:
> 2008/10/6 Ben Weiner <ben at readingtype.org.uk>:
>>
>> If I upload a zip file I get a nice listing of the contents. Should I
>> also get one if I upload a tarball (.tar.gz)? I don't get that behaviour
>> on my install and would like it.
>
> I agree that .zip and .tar.gz (and .tgz, or even other zip formats
> like .7zip :-) should be treated the same.
>
>> But we also need to be able to host in a @font-face friendly way. I'm
>> prepared to defend that position, despite some obvious complexities. And
>> if we have files coming in inside archives we wont' just need to look
>> inside them, we'll need to save them somewhere uncompressed.
>
> I imagine that we want to offer the contents of these collections on a
> file-by-file basis (like a type specimen designed by the font
> developers, in PDF) so yes, ideally the procedure would be to unzip as
> soon as uploaded, and then make a (cached) zip of the font and its
> associated files available for simple all-in-one download by users.
>
More information about the Openfontlibrary
mailing list