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 / 3659
  Re: Automatic download of unofficial parts in LDView
 
(...) Shouldn't be a problem at all. If it's anything significant, I'll just start mirroring the DAT files to media.peeron.com, and have you use that. Then it certainly wouldn't be an issue. (...) Sounds reasonable. Perhaps it might be more (...) (18 years ago, 17-May-06, to lugnet.cad.dev.org.ldraw)
 
  Re: Automatic download of unofficial parts in LDView
 
(...) That starts getting more difficult for a few reasons. First of all, the tracker would have to return all the dependent files on the tracker in addition to the requested files. Many of these files could well be already present on the end-user's (...) (18 years ago, 17-May-06, to lugnet.cad.dev.org.ldraw)
 
  Re: Automatic download of unofficial parts in LDView
 
(...) I'd say it wouldn't *have* to return the dependent files. LDView can turn around, and make an additional request. (...) Well, the server can support multiple files per request, and client programs can use it as well as they can. (...) Use MPD (...) (18 years ago, 17-May-06, to lugnet.cad.dev.org.ldraw)
 
  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)
 
  Re: Automatic download of unofficial parts in LDView
 
(...) Wont most servers (and clients) automatically use gzip or similar if they both support it? (18 years ago, 17-May-06, to lugnet.cad.dev.org.ldraw)
 
  Re: Automatic download of unofficial parts in LDView
 
(...) 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 (...) (18 years ago, 18-May-06, to lugnet.cad.dev.org.ldraw)
 
  Re: Automatic download of unofficial parts in LDView
 
(...) If the client supports it, yes. But unless LDView specifically says it does, the server will assume it can't. (18 years ago, 18-May-06, to lugnet.cad.dev.org.ldraw)
 
  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)
 
  Re: Automatic download of unofficial parts in LDView
 
(...) I don't do this now, but I think I can do so fairly easily. Just to check, if I add the following header to my request, ldraw.org will gzip automatically? Accept-Encoding: gzip If I do that, do I need to add another accepted encoding to let (...) (18 years ago, 18-May-06, to lugnet.cad.dev.org.ldraw)
 
  Re: Automatic download of unofficial parts in LDView
 
(...) It's assumed - at least, firefox doesn't mention it explicitly. (18 years ago, 18-May-06, to lugnet.cad.dev.org.ldraw)
 
  Re: Automatic download of unofficial parts in LDView
 
(...) Just as an experiment, I added the above header to my request, and still got back plain-text. --Travis (18 years ago, 18-May-06, to lugnet.cad.dev.org.ldraw)
 
  Re: Automatic download of unofficial parts in LDView
 
(...) Right - apparently I don't have it enabled on peeron/ldraw's server, but try it on this: (URL) Dan Boger dan@peeron.com (18 years ago, 18-May-06, to lugnet.cad.dev.org.ldraw)
 
  Re: Automatic download of unofficial parts in LDView
 
(...) that file there for a while while I get my gunzipping to work? I'll post another message here once I get it working. Thanks. --Travis (18 years ago, 18-May-06, to lugnet.cad.dev.org.ldraw)
 
  Re: Automatic download of unofficial parts in LDView
 
(...) OK, I got it working. Feel free to delete the file whenever you want. So, do you plan to turn gzip support on for the ldraw.org server? It would make a really big difference for unofficial part downloads. --Travis (18 years ago, 20-May-06, to lugnet.cad.dev.org.ldraw)
 
  Re: Automatic download of unofficial parts in LDView
 
(...) I'll either do that, or just start mirroring the entire ldraw library to media.peeron.com. How soon will you need this? I guess your script should work transparently either case though - gzipping shouldn't be required, just accepted. Make (...) (18 years ago, 23-May-06, to lugnet.cad.dev.org.ldraw)
 
  Re: Automatic download of unofficial parts in LDView
 
(...) Yeah, that makes sense. LDView will notify the server that it accepts gzipped content, but will work fine either way. It will just work faster when the response is gzipped. At this point, I'm not sure when the next version of LDView will be (...) (18 years ago, 23-May-06, to lugnet.cad.dev.org.ldraw)

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