To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.dev.org.ldrawOpen lugnet.cad.dev.org.ldraw in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Development / Organizations / LDraw / 3664
3663  |  3665
Subject: 
Re: Automatic download of unofficial parts in LDView
Newsgroups: 
lugnet.cad.dev.org.ldraw
Date: 
Thu, 18 May 2006 13:39:32 GMT
Viewed: 
2069 times
  
In lugnet.cad.dev.org.ldraw, Dan Boger wrote:
In lugnet.cad.dev.org.ldraw, Steve Bliss wrote:
In lugnet.cad.dev.org.ldraw, Travis Cobbs wrote:
We'd also have to agree on a format for the response containing the multiple
files.

Use MPD (within a text response).  Sending a stream of multiple files was the
original purpose of the MPD format.

Could do that, or tar (which would work for non-DAT files, if needed).

MPD would work for any text files, as long as they don't include /\n0 FILE /.

One thing MPD would not provide is the mod-timestamp for each file.  That could
be listed at the top of the response (before the first file) or maybe in the
HTTP header(?).

I'd be tempted to add a zip compression (as an option) on the stream, since it
should compress so nicely... :)

Couldn't zipping of the response be done transparently to the cgi (and the
client request)?

Steve



Message has 1 Reply:
  Re: Automatic download of unofficial parts in LDView
 
(...) The HTTP header can say when a particular file has been modified last - but not a bunch of files in one request. Again, it's already included in the tar format, as well as each file size (which can be useful to make sure your request didn't (...) (18 years ago, 18-May-06, to lugnet.cad.dev.org.ldraw)

Message is in Reply To:
  Re: Automatic download of unofficial parts in LDView
 
(...) Right - it could only do so when asked by the client, and the client is always free to ignore data it doesn't need. (...) Could do that, or tar (which would work for non-DAT files, if needed). I'd be tempted to add a zip compression (as an (...) (18 years ago, 17-May-06, to lugnet.cad.dev.org.ldraw)

26 Messages in This Thread:






Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR