Donald wrote:
> Andrew: the result is:
>
> >> do striptags.r WRITE %test.txt striptags READ %test.html
> ** Script Error: striptags.r has no value.
> ** Where: do striptags.r WRITE %test.txt striptags
I forgot to write the "%". It should have read:
do %striptags.r WRITE %test.txt stripta
On 14-Nov-00, Andrew Martin wrote:
> Try this line instead:
> do striptags.r WRITE %test.txt striptags READ %test.html
Andrew: the result is:
>> do striptags.r WRITE %test.txt striptags READ %test.html
** Script Error: striptags.r has no value.
** Where: do striptags.r WRITE %test.txt
> The script failed on some odd/poor HTML code that I couldn't figure out
how to trap:
>
> >> WRITE %test.txt DO striptags READ %test.html
> ** Syntax Error: Invalid word -- -->.
> ** Where: (line 4) //--> -->
>
> The only place that "//--> --> " appears is in the 4th line of the
written
Hi, Bo:
On 13-Nov-00, [EMAIL PROTECTED] wrote:
> Using the old autoextract function found in the script library, I am trying
> this one more time. This time, the file should retain everything it is
> supposed to! Just DO this email.
That worked.
The script failed on some odd/poor HTML code
Donald,
Using the old autoextract function found in the script library, I am trying
this one more time. This time, the file should retain everything it is
supposed to! Just DO this email.
Self-extracting REBOL-compressed file
REBOL [
Title: "Self-extracting compressed file"
Date: 1
On 12-Nov-00, Brett Handley wrote:
> > > How does such a thing deal with tables and other anti-text HTML format
> elements?
> I was thinking more from the input side rather than the output side. Tables
> for example, are quite often used for layout reasons as opposed to
> delivering tabular dat
Hi, Brett:
On 12-Nov-00, Brett Handley wrote:
> > Anyone who has ever used a good HTML stripper, such as the excellent HTTX
> > (Amiga), knows how useful they can be, when called by other programs.
> How does such a thing deal with tables and other anti-text HTML format
> elements?
For my nee
> > > Anyone who has ever used a good HTML stripper, such as the excellent
HTTX (Amiga), knows how useful they can be, when called by other programs.
>
> > How does such a thing deal with tables and other anti-text HTML format
elements?
>
> Convert to preformated using tabs or lots of spaces?
I w
> > Anyone who has ever used a good HTML stripper, such as the excellent HTTX (Amiga),
>knows how useful they can be, when called by other programs.
> How does such a thing deal with tables and other anti-text HTML format elements?
Convert to preformated using tabs or lots of spaces?
Andrew Ma
> Anyone who has ever used a good HTML stripper, such as the excellent HTTX
> (Amiga), knows how useful they can be, when called by other programs.
How does such a thing deal with tables and other anti-text HTML format
elements?
Brett.
--
To unsubscribe from this list, please send an email to
Hi Donald,
well, yes, thought that, too ... _after_ I sent it, and when
I dindn't have the time to send a followup ...
I originally wanted a stand-alone html-to-text engine, but
when I created the browser.r script I got a little distracted.
These are the two mainfunctions:
>> help html/read
On 11-Nov-00, Ingo Hohmann wrote:
> attached is the html-to-text engine I used in my %browser.r,
> it's a little rough at some edges, but might keep you going ...
Thanks, Ingo, but I need some help with usage, especially for locating the
HTML source.
--
---===///||| Donald Da
Hi Donald,
attached is the html-to-text engine I used in my %browser.r,
it's a little rough at some edges, but might keep you going ...
kind regards,
Ingo
Once upon a time Donald Dalley spoketh thus:
>
> Hi, Bo:
>
> I have a question about this e-mail. As you can see below, the line break
Hi, Bo:
I have a question about this e-mail. As you can see below, the line breaks are
not right. The lines that have a single quote (") on it probably had a NEWLINE
of some sort on the previous line. This causes an error when run, so what is
really supposed to be between the two quote marks?
I
Bit by our own list...here it is in plain text!
-Bo
--Striptags--
REBOL [
Title: "HTML Tag Stripper"
Date: 20-Jul-1999
Author: "Bohdan Lechnowsky"
Email: [EMAIL PROTECTED]
Purpose: {
To strip off HTML tags leaving only text behind
}
]
striptags: func [page
Graham,
Here is one I hacked together over a year ago. It tries to keep some of
the formatting features of the HTML, but only on a very basic level.
EXAMPLE USAGE:
text: striptags read http://www.rebol.com
Have fun!
-Bo
On 9-Nov-2000/21:23:39, [EMAIL PROTECTED] wrote:
>someone told me n
someone told me next quarter...but I think he was joking! BTW, next assignment is up...
rishi
Previously, you (Graham Chiu) wrote:
> Has anyone got a function that strips out all the html from
> a page leaving just the text behind?
>
> --
> Graham Chiu
> --
> To unsubscribe from this list, ple
[EMAIL PROTECTED] wrote:
>
> text: copy ""
> parse load/markup http://Www.rebol.com [some [tag! | set str string! (insert
> tail text join trim/lines str either empty? str [""][newline])]]
>
Outstanding!
-jn-
--
; Joel Neely [EMAIL PROTECTED] 901-263-4460 38017/HKA/9677
REBOL [] foreach
On Tue, 7 Nov 2000 18:09:04 +0100
"Petr Krenzelok" <[EMAIL PROTECTED]> wrote:
> text: copy ""
> parse load/markup http://Www.rebol.com [some [tag! | set
> str string! (insert
> tail text join trim/lines str either empty? str
> [""][newline])]]
Thanks guys! Is load/markup a new refinement to lo
- Original Message -
From: Joel Neely <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 07, 2000 4:59 PM
Subject: [REBOL] Re: looking for a function...
> Hi, Graham,
>
> [EMAIL PROTECTED] wrote:
> >
> > Has anyone got a function that s
Hi, Graham,
[EMAIL PROTECTED] wrote:
>
> Has anyone got a function that strips out all the html from
> a page leaving just the text behind?
>
Given the following:
load-text-only: func [where [file! url!] /local text] [
text: make string! 1
foreach item load/markup wher
On Tue, 07 Nov 2000 16:45:49 +1300
"Graham Chiu" <[EMAIL PROTECTED]> wrote:
> Has anyone got a function that strips out all the html
> from
> a page leaving just the text behind?
Never mind. Found one.
>
> --
> Graham Chiu
--
To unsubscribe from this list, please send an email to
[EMAIL PRO
22 matches
Mail list logo