Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: Netscape vs Iexplore and parsing

From: john_kenyon::mlc::com::au at: 20-Mar-2002 9:16

Philippe, 1/
>this script runs well, with apache 1.3.12 or IIS 5, and Iexplore 5.5 , but
NOT
>with Netscape 4.5 where the browser response is : ><html> <body bgcolor="orange"> <center> <h1>"Resultats cgi-reb"</h1>
....
>etc in line not interpreted by the browser. >I suppose it's a problem with CR or LF (I'm on Windows) . Is someone
could help
>me ?
I think it is the <P> tags you are using. They should be opened and closed <P>like this</P> This is stopping Netscape from displaying the page. IE is more forgiving.
>2/ Parsing : >I want to parse a html file with anchors like ><a href="equipes/affectations.php?projet_id=8"> >TEST</a> >How could I get the data TEST with parsing ?
You could try ...
>> text: {<a href="equipes/affectations.php?projet_id=8">TEST</a>}
== {<a href="equipes/affectations.php?projet_id=8">TEST</a>}
>> parse text [ thru {<a href="equipes/affectations.php?projet_id=8">}
copy data to {</a>} (print data) to end] TEST == true Cheers, John