[REBOL] Re: html to text and parsing 2 strings

2001-05-07 Thread Graham Chiu
On Tue, 8 May 2001 14:23:38 +1000 "Brett Handley" <[EMAIL PROTECTED]> wrote: > parse/all read http://www.rebol.com [ > thru "" copy text to > (print text) > ] You don't require the quotes around tags as Rebol recognises them. parse read http://www.rebol.com [ thru copy

[REBOL] Re: html to text and parsing 2 strings

2001-05-07 Thread Allen Kamp
Here's a starting point from the script library Cheers, Allen K REBOL [ Title: "Web HTML Tag Extractor" File: %websplit.r Date: 20-May-1999 Purpose: "Separate the HTML tags from the body text of a document." Category: [web net text 3] ] tags: make block! 100 text: make st

[REBOL] Re: html to text and parsing 2 strings

2001-05-07 Thread Brett Handley
Hi Ian, There are different ways to go about attacking the problem. Depends what your aim is. Here is one idea - does not use the parse function though. foreach element load/markup http://www.rebol.com [ if string? element [print element] ] If you are after specific part of a w