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

Re: [REBOL] Re: Netscape vs Iexplore and parsing

From: philippe1:legoff:francetelecom at: 21-Mar-2002 16:02

--------------EEF4C6D650785658C8C183F8 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable John, graham, Thanks a lot for help. The problem with Netscape vs Iexplore is resolved : ---> print "Content-Type: text/plain^/" ;-- Required Page > print Content-Type: text/html ^/ ;-- Required Page and the parsing looks well ! regards, Philippe LE GOFF [john_kenyon--mlc--com--au] a =E9crit :
> 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 > > -- > To unsubscribe from this list, please send an email to > [rebol-request--rebol--com] with
unsubscribe" in the
> subject, without the quotes.
--------------EEF4C6D650785658C8C183F8 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit <!doctype html public "-//w3c//dtd html 4.0 transitional//en"> <html> John, graham, <p>Thanks a lot for help. <p>The problem with Netscape vs Iexplore is resolved : <p>---> print "Content-Type: text/plain^/"&nbsp; ;-- Required Page&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ===> print "Content-Type: text/<b>html</b> ^/"&nbsp; ;-- Required Page <p>and the parsing looks well ! <br>&nbsp; <p>regards, <p>Philippe LE GOFF <br>&nbsp; <br>&nbsp; <br>&nbsp; <br>&nbsp; <p>[john_kenyon--mlc--com--au] a &eacute;crit : <blockquote TYPE=CITE>Philippe, <p>1/ <br>>this script runs well, with apache 1.3.12 or IIS 5, and Iexplore 5.5 , but <br>NOT <br>>with Netscape 4.5 where the browser response is : <br>><html> <body bgcolor="orange"> <center> <h1>"Resultats cgi-reb"</h1> <br>.... <br>>etc&nbsp;&nbsp;&nbsp; in line not interpreted by the browser. <p>>I suppose it's&nbsp; a problem with CR or LF (I'm on Windows) . Is someone <br>could help <br>>me ? <br>I think it is the <P> tags you are using. They should be opened and closed <br><P>like this</P> <br>This is stopping Netscape from displaying the page. IE is more forgiving. <p>>2/ Parsing : <br>>I want to parse a html file with anchors like <br>><a href="equipes/affectations.php?projet_id=8"> <br>>TEST</a> <br>>How could I get the data TEST with parsing ? <p>You could try ... <p>>> text: {<a href="equipes/affectations.php?projet_id=8">TEST</a>} <br>== {<a href="equipes/affectations.php?projet_id=8">TEST</a>} <br>>> parse text [ thru {<a href="equipes/affectations.php?projet_id=8">} <br>&nbsp; copy data to {</a>} (print data) to end] <br>TEST <br>== true <p>Cheers, John <p>-- <br>To unsubscribe from this list, please send an email to <br>[rebol-request--rebol--com] with "unsubscribe" in the <br>subject, without the quotes.</blockquote> <br>&nbsp;</html> --------------EEF4C6D650785658C8C183F8--