Hi... gotta be careful cuz you're redefining 'head which is a rebol native function. Change the name of that variable, put quotes around what you are searching (so it doesn't try to execute 'head), and it should work fine :) parse page [thru "<head>" copy hd to "</head>"] print hd Russ ---------- At 04:40 PM 10/25/99 +0200, you wrote: >Hello, >I scripting (my first scirpt with REBOL :-) a function for fetch head >tags of several sites. It work but only with 1 site. If I put 2 or more, >REBOL say : > >> connecting to: www.rebol.com >> ** Script Error: Invalid argument: HTML. >> ** Where: make integer! value > >The script : > >> sites: [ >> http://www.freshmeat.net >> http://www.rebol.com >> http://filewatcher.org >> ] >> >> foreach site sites [ >> page: read site >> parse page [thru <head> copy head to </head>] >> print head > >What is the problems ? > >Thanks > >S�bastien Douche <[EMAIL PROTECTED]> >D�veloppeur & responsable technique >Far Web <www.farweb.fr> >Conception & r�alisation de sites Web > > >
