Re: Open and process remote page



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.
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).

HTML tidy is your friend here. It has saved me from many a nasty frontpage generate HTML page :)

Ian
.



Relevant Pages

  • Re: calling a function from a iframe
    ... The aspect of HTML validity that is significant is ... When presented with structurally invalid HTML browsers engage in 'error ... Structurally valid HTML mark-up has a tree-like structure, the DOM also ...
    (comp.lang.javascript)
  • Re: Layout basics
    ... What I'm not sure about is if you're at all familiar with HTML ... display in those browsers. ... IE7, which has been delayed for entirely too long, we have an "absolute ... Because Windows Forms use "absolute positioning" in a Form interface, ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Layout basics
    ... I can certainly see why you would call the positioning issue an "absolute nightmare." ... A web application is an application in which the vast majority of the programming is on a server machine, but the user interface is presented via a "thin-client" HTML browser user interface. ... HTML started out as an invention of the Mosaic group, who created the first web browsers, and a language for formatting display in those browsers. ... HTML started off rather simply, with not much thought in the way of fancy layout, and the use of an ever-expanding list of inline attributes to handle layout properties. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Layout basics
    ... HTML browser user interface. ... formatting display in those browsers. ... we have an "absolute nightmare" involved in doing layout that looks more ... Because Windows Forms use "absolute positioning" in a Form interface, ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: How important is validation?
    ... you should design to the HTML ... browsers is a goal in itself. ... For old browsers, I only check my documents so that the content will remain accessible, viewable and links are functional in user agents without CSS support and without javascript support. ... It is known that 98% of all webpages out there on the web fail markup validation testing. ...
    (comp.infosystems.www.authoring.html)