Re: php->html "rendering"

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

 




--- Larry Garfield <larry@xxxxxxxxxxxxxxxx> wrote:


<clip 1>
> > > that said it could take a week to figure out all
> the
> > > parameters. ;-)
> >
</clip 1>

...


</clip 2>
> That's why I included the switches I did. :-)  I had
> to do something very 
> similar just last week. 

> ...
> 
> -m means "mirror".  That is, recurse to all links
> that don't leave the domain.  
> It's for exactly this sort of task.
> 
> -k tells it to convert links.  That way if you have
> all absolute links in your 
> HTML output, it will mutate them for you to stay
> within the local mirror 
> you're creating.
> 
> If you have GET queries in your pages (we did), then
> I recommend also using:
> 
> --restrict-file-names=windows
> 
> That will tell it to convert any blah?foo=bar links
> into blah@foo=bar, since 
> the first is not a valid filename in Windows.  I
> find that even on a Linux 
> box, the latter works better.

</clip 2>

Hey,
Thanks for the explanation of the switches. 

One part that I dont really understand is:

 blah?foo=bar links
 into blah@foo=bar

having a link such as blah@foo=bar is not going to
work to link to the second document...right? (I have
not really tried it, but have never seen html like the
above)

And lastly, I read on another forum discussing wget
that there is a switch that converts the dynamic pages
to static WITH a .html/.htm extention; unfortunatly he
didnt give an example of how to do this, was he just
blowing smoke or is that true?

Thanks again,
Ryan

------
- The faulty interface lies between the chair and the keyboard.
- Creativity is great, but plagiarism is faster!
- Smile, everyone loves a moron. :-)

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux