Some guys in irc wanted a way to get this "Bikini of the Day" site
on their Palm, and they were using AvantGo, which I weaned them off of, but
Plucker doesn't like the url they're passing to it. What's weird is...
neither does anything else I point at it, except Netscape/Mozilla and wget.
All of my other tools barf trying to retrieve it. Here's the url, and here's
what happens:

$ HEAD http://www.netlet.net/interact/Babe.jpg
406 No acceptable objects were found
Content-Type: text/html
Client-Date: Sat, 10 Nov 2001 00:58:20 GMT
Client-Peer: 206.58.152.238:80

        And when plucker-build is pointed at the image directly:

$ plucker-build -f /tmp/bikini -H "http://www.netlet.net/interact/Babe.jpg";
--maxdepth=1 --bpp=8 --zlib-compression --no-urlinfo
Working for pluckerdir /root/.plucker
ZLib compression turned on
Using exclusion list  /root/.plucker/exclusionlist.txt
Using exclusion list  /root/.plucker/exclusionlist.txt
Processing http://www.netlet.net/interact/Babe.jpg.
           0 collected, 0 still to do
  Retrieved failed: 406 -- No acceptable objects were found
Fetching the home document failed.  Aborting all!
Fatal error while processing.

        And when pointed to the html page that holds that image:

plucker-build -f /tmp/bikini -H "http://www.netlet.net/interact/bikini.htm";
--maxdepth=1 --bpp=8 --zlib-compression --no-urlinfo
Working for pluckerdir /root/.plucker
ZLib compression turned on
Using exclusion list  /root/.plucker/exclusionlist.txt
Using exclusion list  /root/.plucker/exclusionlist.txt
Processing http://www.netlet.net/interact/bikini.htm.
           0 collected, 0 still to do
  Retrieved ok

Writing out collected data...
Writing document 'bikini' to file /tmp/bikini.pdb
http://www.netlet.net/interact/bikini.htm has charset 4 (ISO-8859-1)
Converted http://www.netlet.net/interact/bikini.htm
Default charset is MIBenum 4 (ISO-8859-1)
Converted plucker:/~special~/index
Converted plucker:/~special~/metadata
Wrote 1 <= plucker:/~special~/index
Wrote 2 <= http://www.netlet.net/interact/bikini.htm
Wrote 5 <= plucker:/~special~/metadata

Mapping:
2 => http://www.netlet.net/interact/bikini.htm
Done!

        It smells like a missing Content-type header, and I thought there
was a fix in cvs for this. I recall someone mentioning this before, but I
can't find the reference in my archives.

        Bill, can we add a feature to the parser to pass (force/forge) a
Content-type header to the parser? --content-type={$type}.



/d


Reply via email to