webbot -img -alt file-alt.log

Jan Hutaƙ <[email protected]> Tue, 28 Nov 2006 16:57:06 +0100
Newsgroups gmane.comp.lib.libwww
Organization Red Hat
Message-ID <[email protected]>
--Signature=_Tue__28_Nov_2006_16_57_06_+0100_RcJ3Iw8tUmFGp5sb
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Hello,
have another question - please just check if I understand to the docs (http://www.w3.org/Robot/User/CommandLine.html) well:
  I have 4 html files available thought http://localhost.localdomain/test/<filename>, each with one of these lines:

alt-ok.html:     <img src='that-rocks.png' width='468' height='60' alt='Some alternate text'/>
alt-blank.html:  <img src='that-rocks.png' width='468' height='60' alt=''/>
alt-no.html:     <img src='that-rocks.png' width='468' height='60'/>
image-away.html: <img src='http://www.example.com/logo.png' width='96' height='31' alt='example'/>

all linked from index.html. Running this command:

webbot -n -depth 10 -prefix http://localhost/test/ -img -alt file-alt.log http://localhost/test/index.html

puts to file-alt.log:

http://localhost/test/alt-ok.html --> http://localhost/test/that-rocks.png
http://localhost/test/image-away.html --> http://www.redhat.com/g/chrome/logo_rh_home.png

Which seems odd to me.

Is it OK, or is it bug?

Regards,
Jan



--
Jan Hutar   Quality Assurance Engineer
[email protected]        Red Hat, Inc.

--Signature=_Tue__28_Nov_2006_16_57_06_+0100_RcJ3Iw8tUmFGp5sb
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFFbFxS3Cu9u9IxohURAghJAKCbDW2zHX3O3+gmiTfPUui4hc2cSACgxHjX
ukaDHGL+BJ9Bv/FAJ00HJE8=
=ANtY
-----END PGP SIGNATURE-----

--Signature=_Tue__28_Nov_2006_16_57_06_+0100_RcJ3Iw8tUmFGp5sb--