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
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
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
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
> >> 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
> 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
>> 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
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
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:
> 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
>
>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
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
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
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
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
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
[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
[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.
[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
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
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
>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
22 matches
Mail list logo