[REBOL] news-grabber needs tweaking

2000-03-10 Thread RChristiansen
I have been struggling with the following script for way too many hours now. The script is intended to... 1. grab all of the messages from the news server for comp.sys.be.advocacy and write the output to a file called %BeAdvocacyMessages.txt 2. read %BeAdvocacyMessages.txt line-by-line and kee

[REBOL] getting Rebol "OK" Re:(3)

2000-03-10 Thread VoToNi
In einer eMail vom 10.03.00 18:54:38 (MEZ) Mitteleuropäische Zeit schreibt [EMAIL PROTECTED]: > > > The only problem I have had is with a bad script. It spawned a copy > > of rebol.exe and it never went away until I stopped and restarted > > the web server. If I knew of a way to stop

[REBOL] newnews Re:(7)

2000-03-10 Thread RChristiansen
Here is how I fixed it. Thanks. -Ryan get-news-date: func [ date-str [string!] "One of the above date strings" ][ date-str: any [find/tail date-str ", " date-str] to-date date-str

[REBOL] newnews Re:(6)

2000-03-10 Thread RChristiansen
Nevermind. There is no "," in the date header. Thanks for the function. -Ryan > Script: "Untitled" (none) > 22-Feb-2000/15:33:09 > 22-Feb-2000/16:49:03+1:00 > 22-Feb-2000/17:00:45+1:00 > 22-Feb-2000/17:03:48+1:00 > ** Script Error: Invalid argument: Date: 22 Feb 2000 20:27: > 56 +0200. > ** Wh

[REBOL] newnews Re:(6)

2000-03-10 Thread whip
> >> do %newsmaster5.r Script: "Untitled" (none) 22-Feb-2000/15:33:09 > 22-Feb-2000/16:49:03+1:00 22-Feb-2000/17:00:45+1:00 > 22-Feb-2000/17:03:48+1:00 ** Script Error: Invalid argument: Date: > 22 Feb 2000 20:27: 56 +0200. ** Where: to date! value >> > Is there something ab

[REBOL] newnews Re:(4)

2000-03-10 Thread kevin
> Unfortunately, REBOL does not understand the date formats. There > are at least three date formats used by newsgroups, as follows: > > Date: Tue, 22 Feb 2000 15:33:09 GMT > Date: Tue, 22 Feb 2000 16:49:03 +0100 > Date: 22 Feb 2000 16:00:52 GMT The first two can be handled by 'parse-he

[REBOL] newnews Re:(5)

2000-03-10 Thread RChristiansen
>> do %newsmaster5.r Script: "Untitled" (none) 22-Feb-2000/15:33:09 22-Feb-2000/16:49:03+1:00 22-Feb-2000/17:00:45+1:00 22-Feb-2000/17:03:48+1:00 ** Script Error: Invalid argument: Date: 22 Feb 2000 20:27: 56 +0200. ** Where: to date! value >> Is there something about the +0200 that to-date doesn

[REBOL] newnews Re:(4)

2000-03-10 Thread whip
Howdy Ryan: > I have been working on a script which will retrieve newsgroup news > and then output only a single day (the previous day) to an HTML file > so that I can post the messages on a web page. If I grab more than > one day's worth of messages, the web page becomes too large (as muc

[REBOL] getting Rebol "OK" Re:(3)

2000-03-10 Thread mprice
Title: RE: [REBOL] getting Rebol "OK" Re:(2) Jeff, I emailed Dan this morning with the details. I usually do get the error messages with Rebol exiting but not this time. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, March 10, 2000 12:41 PM To:

[REBOL] getting Rebol "OK" Re:(2)

2000-03-10 Thread whip
> The only problem I have had is with a bad script. It spawned a copy > of rebol.exe and it never went away until I stopped and restarted > the web server. If I knew of a way to stop this happening I would > happily host REBOL for everyone. > Melvin Mudgett-Price Director of

[REBOL] newnews Re:(3)

2000-03-10 Thread RChristiansen
> >Ryan, if your server supports it, you could use nntp.r's xhdr > feature to get the date headers from a newsgroup, determine which > articles are new (greater than your start date) and download those. I have been working on a script which will retrieve newsgroup news and then output onl

[REBOL] Re: Associative Arrays in Rebol? Re:(2)

2000-03-10 Thread doncox
On 10-Mar-00, [EMAIL PROTECTED] wrote: > Arrays in awk superficially resemble arrays in other > programming languages; but there are fundamental > differences. In awk, you don't need to specify the size of > an array before you start to use it. Additionally, any > number or string in awk may be u

[REBOL] newnews Re:(2)

2000-03-10 Thread whip
Ryan said: > > I would like to use the NNTP client command "newnews" with the > > REBOL nntp protocol to retrieve new messages since a specified > > date. > Hi Ryan, > 'newnews' is not currently implemented in the NNTP dialect. > I don't know Jeff's exact reason for not implementing

[REBOL] How do I save and restore an array of objects Re:(5)

2000-03-10 Thread VoToNi
In einer eMail vom 10.03.00 07:52:56 (MEZ) Mitteleuropäische Zeit schreibt [EMAIL PROTECTED]: > Hi Bob, > > A) do works when you only want to load a single object. It's like saying: > > do [make object! [word: 'something]] > > which - of course - returns a single object, namely the last

[REBOL] newnews Re:(2)

2000-03-10 Thread norsepower
I tried it through telnet on my local ISP news server and yup, you're right. Ah, well. -Ryan >200 cronkite.sunshinecable.com InterNetNews server INN 2.3experimental 14-Dec-1999 >ready >newnews alt.binaries.mp3 000309 00 >502 NEWNEWS command disabled by administrator

[REBOL] RANDOM/range? Re:(2)

2000-03-10 Thread ddalley
Hi, Gabriele: On 09-Mar-00, [EMAIL PROTECTED] wrote: > What's the problem with: > pause: 29 + random 20 Nothing at all! -- ---===///||| Donald Dalley |||\\\===--- The World of AmiBroker Support http://webhome.idirect.com/~ddalley

[REBOL] Multipart emails Re:(3)

2000-03-10 Thread giesse
[EMAIL PROTECTED] wrote: > Gabriele, can this decoder handle form-posted data? > If yes (or if you think it could, with some changes) can I please have it? > (I need to use forms to post files) It is part of YARWeS I, a web server I wrote less than one year ago. So yes, it was intended to de

[REBOL] RANDOM/range? Re:

2000-03-10 Thread giesse
[EMAIL PROTECTED] wrote: > Is there a better REBOL way to simulate a range of, say, 30 => 50? What's the problem with: pause: 29 + random 20 Regards, Gabriele.

[REBOL] Freenet Protocol help needed, was closing port within protocol Re:(3)

2000-03-10 Thread giesse
[EMAIL PROTECTED] wrote: > I didn't get it to work, I get an error, when I try to open > the listen port > > Trace: system/words/open (path) > Trace: tcp://:0 (url) > opening: tcp://:0 > ** Access Error: Trace: "Error opening socket" (string) > Trace: :arg1 (get-word) > Error opening socket

[REBOL] Associative Arrays in Rebol? Re:(3)

2000-03-10 Thread allenk
Attached is a script for collection object, I wrote it to get similar functionality to the collection & dictionary objects in vb and vbscript. (With a bit of modifiction it may suit your associative array needs). Cheers, Allen K >>col make collection [] >> col/set-item "Apple" "Red" >> col/se

[REBOL] Associative Arrays in Rebol? Re:(2)

2000-03-10 Thread bpaddock
In article <[EMAIL PROTECTED]>, you wrote: >I think select and paths should come close to what you're asking: >>> select [ a "this is a" b "this is b" ] 'a >== "this is a" I'll have to ponder that for a while but my first thought is that doing it that way would make it difficult to populate it f

[REBOL] getting rebol "OK" Re:

2000-03-10 Thread pa . russo
>I am searching for a new web hosting service and I figure it is a good >business practice to ask the hosting service if it is "OK" to use >scripting languages other than perl for CGI. The response is usually, >"what scripting languages are you thinking about?" When I tell them >REBOL and point