Re: php->html "rendering"
| From: | Ryan A | Date: | Tue, 13 Jun 2006 12:22:30 +0000 |
| Subject: | Re: php->html "rendering" | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-237886@lists.php.net to get a copy of this message | ||
--- Larry Garfield <larry@garfieldtech.com> 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