Re: Open and process remote page
- From: Ian <ian-news@xxxxxxxxxxx>
- Date: Sat, 10 Dec 2005 09:30:27 +1300
Erwin Moller wrote:
You could also get yourself in trouble (with regexpr. or substringsearching, etc) when trying to replace some pieces in the HTML when the HTML is not coded as it 'should' be: Think about missing end-tags and the like.HTML tidy is your friend here. It has saved me from many a nasty frontpage generate HTML page :)
Browsers are very forgiving, but the programmers of the browsers had headaches before their program was forgiving enough. :-)
But maybe you can get away with just replacing stuff you understand, and let the remainding HTML as it was. Then the browser can display it the way it was ment. (probably).
Ian .
- References:
- Open and process remote page
- From: William Hudson
- Re: Open and process remote page
- From: Erwin Moller
- Open and process remote page
- Prev by Date: Re: Cannot use "-" in variable names?
- Next by Date: Re: URL character check
- Previous by thread: Re: Open and process remote page
- Next by thread: Re: Open and process remote page
- Index(es):
Relevant Pages
|