[REBOL] web parser plugin for VID
From: inetw3:mindspring at: 19-May-2001 20:48
Hi Rebolers,
I've tried unsucessfully to write a parser for VID
to html for IE/NS/Dhtml/Java. I wrote the parser,
that was the easy part. Problem? How do i find
consecutive words in the %Rebol.r document,
not just the first? I've tried foreach/forall/any.
Well my Rebol User Guide says to stop this sort
of problem, use an Oject but my talents are'nt ready
for that yet, i don't fully understand or even know how
to do that yet. example...
page: read %"/C/Program Files/Rebol/view/parceme.r"
reblet: make block![]
parse page [
to "view" (append reblet {<REBLET VERSION="1.1">
<PROPERTIES>
SIZE</PROPERTIES>} )
to "Text" (append reblet {<TEXTNAME="Title" blah blah blah...
the foreach reb reblet [ thing append reb... no go
I have done.... to "this" begin: thru "that"ending:
(change/part begin {<"Button" >}ending)
I have done.... parse page [any [to "Button" mark: thru "^/"
(append reblet index? mark)... nogo
I can get the first occurences of VID words parsed but not
the second third forth etc. that should be found in the %.r
Any thoughts appreciated. After this part once the parser
java/Activex source goes open source then i can give it out.
RT will probably build a browser plugin one day, but until
then, i'll peck away on my... "Packered Bell 133mhz"