Re: OT: wget does not use downloaded stylesheet

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks, Chaim. But that doesn't work either. I created a minimalist test case:

http://yong321.freeshell.org/temp/test.html

I ran wget -mr http://yong321.freeshell.org/temp/test.html and check the downloaded test.html file. It still has

<link rel="stylesheet" type="text/css" href="http://yong321.freeshell.org/temp/stylesheettest.css";>

I don't think wget could be smart enough to modify the URL inside the html file.

Yong Huang


--- On Sun, 11/9/08, chaim.rieger@xxxxxxxxx <chaim.rieger@xxxxxxxxx> wrote:

> From: chaim.rieger@xxxxxxxxx <chaim.rieger@xxxxxxxxx>
> Subject: Re: OT: wget does not use downloaded stylesheet
> To: yong321@xxxxxxxxx, "General Red Hat Linux discussion list" <redhat-list@xxxxxxxxxx>
> Date: Sunday, November 9, 2008, 2:35 PM
>
> Try -mr
> 
> 
> Sent via BlackBerry from T-Mobile
> 
> -----Original Message-----
> From: Yong Huang <yong321@xxxxxxxxx>
> 
> Date: Sun, 9 Nov 2008 12:11:16 
> To: <redhat-list@xxxxxxxxxx>
> Subject: OT: wget does not use downloaded stylesheet
> 
> 
> Excuse me for this off-topic message, but I think Linux
> users can help me. I use "wget -r -p
> http://somewebsite"; to try to download everything to my
> laptop. The intent is to view the pages even if I'm
> offline. -r for recursive and -p for page requisite. The
> stylesheets and all images are correctly downloaded. But the
> HTML code is not changed to use the downloaded stylesheet.
> For example (I only changed the real domain to
> example.com):
> 
> 	<link rel="stylesheet"
> type="text/css"
> href="http://example.com/.design.css";
> media="screen"><style>html
> {background-image:url('http://example.com/Backgrounds/Floral/natfl176.jpg');background-repeat:repeat;background-position:top
> left;}</style>
> 	<link rel="stylesheet"
> type="text/css"
> href="http://example.com/Members/Generationz/Standard/PrintCSS/print.css";
> media="print">
> 
> So if my laptop is offline, the page is not rendered
> correctly. I can't think of an easy way to correct this
> except by manually modifying the stylesheet URL. Any
> advice?
> 
> Yong Huang
> 
> 
>       
> 
> -- 
> redhat-list mailing list
> unsubscribe
> mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list


      

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux