To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.off-topic.geekOpen lugnet.off-topic.geek in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Off-Topic / Geek / 2687
  Re: Thumbnail menu CGI script
 
(...) no simple way - since the script assumes you have local access to the directory... and since there is no real way of you knowing what files are in a directory on the webserver, unless it allows you to list them. the only thing you can do is (...) (24 years ago, 18-Jan-01, to lugnet.off-topic.geek)
 
  Re: Thumbnail menu CGI script
 
(...) If you want to use URLs to retrieve files, there is the Perl module LWP which has a "User Agent" tool. I use it to retrieve a set of web pages each week. With Brickshelf you can't get a plain list of your directory though. But you could make a (...) (24 years ago, 19-Jan-01, to lugnet.off-topic.geek)
 
  Re: Thumbnail menu CGI script
 
(...) they've patented what algorithm? regexping a webpage? writing spiders??? (24 years ago, 19-Jan-01, to lugnet.off-topic.geek)
 
  Re: Thumbnail menu CGI script
 
(...) Hmm, seems like it wouldn't be too hard to make a script that lists of all the images in a Brickshelf folder if that script was running on the Brickshelf server... Would you be willing to do that, Kevin? I don't know how useful it would be for (...) (24 years ago, 19-Jan-01, to lugnet.off-topic.geek)
 
  Re: Thumbnail menu CGI script
 
(...) If you don't have time to / don't want to do this, Kevin, no big deal. I'll just host the images myself. --Bram (24 years ago, 19-Jan-01, to lugnet.off-topic.geek)
 
  Re: Thumbnail menu CGI script
 
(...) Yeah, all of that. Including: spidering, spidering more than one webpage into the same index, putting different categories of the index on different web pages, and a business model patent for using the web to bypass local decency laws. Just (...) (24 years ago, 19-Jan-01, to lugnet.off-topic.geek)
 
  Re: Thumbnail menu CGI script
 
(...) writing a brickshelf specific script should be really easy, if you want it to generate a listing of a folder - however, I'd ask kevin for permission before launching such a script - it's considered impolite to run such scripts without asking (...) (24 years ago, 19-Jan-01, to lugnet.off-topic.geek)
 
  Re: Thumbnail menu CGI script
 
I still have no idea what he is trying to do. When you access a brickshelf folder it gives you an html page that contains links to all of the thumbnail images. You just have to extract them from the html. That would be trivial because the thumbnail (...) (24 years ago, 19-Jan-01, to lugnet.off-topic.geek)
 
  Re: Thumbnail menu CGI script
 
Another way to get the information is to go to ${folder}/thumb where ${folder} is the path to the actual images. In that folder is the actual thumbnail files and a file called .sizecache. .sizecache contains one line for each thumbnail in the (...) (24 years ago, 19-Jan-01, to lugnet.off-topic.geek)
 
  Re: Thumbnail menu CGI script
 
(...) That's perfect. Thanks! --Bram (24 years ago, 19-Jan-01, to lugnet.off-topic.geek)

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