Re: trouble with -p

2008-07-24 Thread Brian Keck

On Sun, 20 Jul 2008 23:08:56 +0200, Matthias Vill wrote:
Brian Keck schrieb:
 If you do
 wget http://www.ifixit.com/Guide/First-Look/iPhone3G
 then you get an HTML file called iPhone3G.
 But if you do
 wget -p http://www.ifixit.com/Guide/First-Look/iPhone3G
 then you get a directory called iPhone3G.  
 ...
 But of course I want both.  Is there a way of getting wget -p to do
 something clever, like renaming the HTML file?  
 ...
maybe this helps:
--html-extension

That's what I was hoping for.

At least it works for the above.

(It also renames diggthis.js to diggthis.js.html, but I don't care about
that).

Thanks,
Brian Keck


wget i18N issue

2008-07-24 Thread Li Ru An
Hi all:

Greeting! I'm new in this list, hope I can help here.

I found that there's some I18N issue with wget. For example, my OS is
using GBK, when wget tries to get a URL coded in UTF-8, there's some
issue in the coding translation. 

I have managed to resolve my issue by changing some code, but I think
it's not a solution for I18N. Is someone working on I18N or facing the
same issue like me? We can work together to get it resolved completely.




This is Virus Free Email Scanned by ZONG (CMPak Limited) McAfee 3300 Virus 
Scanner.
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


Re: trouble with -p

2008-07-24 Thread Micah Cowan
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Brian Keck wrote:
 (It also renames diggthis.js to diggthis.js.html, but I don't care about
 that).

That's an indication that the server is misconfigured, and is serving
diggthis.js as text/html, rather than text/javascript or text/x-javascript.

- --
Micah J. Cowan
Programmer, musician, typesetting enthusiast, gamer,
and GNU Wget Project Maintainer.
http://micah.cowan.name/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIiD4k7M8hyUobTrERAoJEAJ4q0N4lxfkDoQNtx62QMkGHXxmAlwCeIEdd
NKprZGCw4lfMx/jybi/qriM=
=Egpr
-END PGP SIGNATURE-