Derek Bump wrote:
Why is it that you find the answer to a problem ONLY after you tell the
world you can't figure it out?!!
Disregard this thread as I have figured out the problem.
Can you tell us what it was? Was it really related to the url container?
That would be good to know, if true.
J. Landman Gay wrote:
Can you tell us what it was? Was it really related to the url container?
That would be good to know, if true.
I'm sorry about that, it was late and I was a little wired.
The problem was that the buildtree handler would not continue until
pendingMessages() was empty.
Derek Bump wrote:
Why is it that you find the answer to a problem ONLY after you tell the
world you can't figure it out?!!
just in case you really want to know, it's a very well known fact in psychology
:
putting your problem into words for others is the first step on the way to the
Has anyone noticed a slowdown in message passing after a get/put URL
command has been issued? If so, does anyone know how to resolve the
slowdown?
I've got a buildtree handler that uses message passing to build a
directory tree. I've noticed through testing that it can parse a 20 Gig
hard
Why is it that you find the answer to a problem ONLY after you tell the
world you can't figure it out?!!
Disregard this thread as I have figured out the problem.
Derek Bump
Dreamscape Software
http://www.dreamscapesoftware.com/
Derek Bump wrote:
Has anyone noticed a slowdown in message
Andre, just out of interest, is there an advantage in using curl
rather than libURL?
Best,
Mark
On 16 Aug 2006, at 19:36, Andre Garzia wrote:
it's -s just tried it out... it works like a charm, no need for
libURL.
___
use-revolution mailing
On 16 Aug 2006, at 04:49, [EMAIL PROTECTED] wrote:
When I run the below script as a CGI, I get, maybe 90% of the html
back, but it hangs at the end for some reason. Is there a
character-limit to how much text libURL can retrieve at once?
There's no limit.
As a first step, I'd suggest
Hmmm, I'm afraid I'm having the same problem, using the script you provided.
I do get 90% of the html, but the loading process just hangs.
Server: Mac OS X Tiger 10.4
Client: Safari or Firefox
Could it be something with Mac OS X?
In a message dated 8/16/06 3:34:31 AM, [EMAIL PROTECTED]
Rob,
try:
pput $QUERY_STRING into searchstring
put http://www.imdb.com/find?s=ttq=; searchstring into
searchURL
put shell(curl searchURL) into databack
beware that curl will put more data in the answer such as transfer
time. You'll need to use lineoffset to find where to start.
I can't remember what it is, but there's a -v or -s or something you
can put in curl string to stop it doing that...
Mark
On 16 Aug 2006, at 19:17, Andre Garzia wrote:
Rob,
try:
pput $QUERY_STRING into searchstring
put http://www.imdb.com/find?s=ttq=; searchstring into
searchURL
Mark,
thanks, it's -s just tried it out... it works like a charm, no need
for libURL.
Andre
On Aug 16, 2006, at 3:26 PM, Mark Smith wrote:
I can't remember what it is, but there's a -v or -s or something
you can put in curl string to stop it doing that...
Mark
On 16 Aug 2006, at
On 16 Aug 2006, at 18:54, [EMAIL PROTECTED] wrote:
Hmmm, I'm afraid I'm having the same problem, using the script you
provided.
I do get 90% of the html, but the loading process just hangs.
I'm seeing the same thing. Strange. Only about 16K of data comes back
instead of an expected 18K
On 16 Aug 2006, at 20:18, Dave Cragg wrote:
On 16 Aug 2006, at 18:54, [EMAIL PROTECTED] wrote:
Hmmm, I'm afraid I'm having the same problem, using the script you
provided.
I do get 90% of the html, but the loading process just hangs.
I'm seeing the same thing. Strange. Only about 16K
On 8/16/06 11:17 AM, Andre Garzia [EMAIL PROTECTED] wrote:
Rob,
try:
pput $QUERY_STRING into searchstring
put http://www.imdb.com/find?s=ttq=; searchstring into
searchURL
put shell(curl searchURL) into databack
beware that curl will put more data in the answer such as transfer
Is the put URL command something that is not permitted when running Rev as
a CGI? I'm getting no data back when I run this short script. (I just put
Google in as a sample URL)
#!revolution
on startup
put Content-Type: text/plain cr cr
put $QUERY_STRING into searchstring
put
Don't you need to be using libURL for this to work? So before you issue 'put
url', your CGI would need to 'start using' a stack that includes libUrl.
Phil Davis
[EMAIL PROTECTED] wrote:
Is the put URL command something that is not permitted when running Rev as
a CGI? I'm getting no data
In a message dated 8/15/06 3:36:02 PM, [EMAIL PROTECTED] writes:
Don't you need to be using libURL for this to work? So before you issue
'put
url', your CGI would need to 'start using' a stack that includes libUrl.
Phil Davis
I think I understand what you're saying - - - now since I'm
In the IDE, you can create a stack (named inetCode below) and copy button
revLibUrl of stack revlibrary to it. Then in the stack script:
on libraryStack
insert script of btn revLibUrl of this stack into back
end libraryStack
Near the beginning of your CGI script, you would then have this
Second thoughts...
An alternate approach would be to forget the 'libraryStack' handler and just set
the script of your new stack to the script of the revLiburl button. Then do
everything else as already stated. This is a little more simple conceptually.
Phil
Phil Davis wrote:
In the IDE,
On 15 Aug 2006, at 21:30, Phil Davis wrote:
Second thoughts...
An alternate approach would be to forget the 'libraryStack' handler
and just set the script of your new stack to the script of the
revLiburl button. Then do everything else as already stated. This
is a little more simple
Thanks Dave.
Phil
Dave Cragg wrote:
On 15 Aug 2006, at 21:30, Phil Davis wrote:
Second thoughts...
An alternate approach would be to forget the 'libraryStack' handler
and just set the script of your new stack to the script of the
revLiburl button. Then do everything else as already
put databack = databack
-- you'll never see this, because it's never done.
put done!
end startup
-Original Message-
From: [EMAIL PROTECTED]
To: use-revolution@lists.runrev.com
Sent: Tue, 15 Aug 2006 9:16 PM
Subject: Re: Can Rev as CGI pull an URL's HTML into a variable?
Thanks
My many thanks to Dave Cragg and Sarah Reichelt for your help with my
problem.
I can now see what I am up against in parsing the html.
Dave -- 'hard part' is not a strong enough phrase!
Sarah -- your tutorial is great. I will use it to try to find my way
about the html.
Regards ...
Using OS 10.3.9
This is my first venture with URL and I will appreciate a bit of help.
I have gotten this far:
Ask Enter the stock or fund symbol
put it into hold
get http://finance.yahoo.com/q?s=;
put hold after last char of it
revGoUrl it
The above brings up the web page but
On 9 Jun 2006, at 00:41, Robert Presender wrote:
Using OS 10.3.9
This is my first venture with URL and I will appreciate a bit of help.
I have gotten this far:
Ask Enter the stock or fund symbol
put it into hold
get http://finance.yahoo.com/q?s=;
put hold after last char of it
On 6/9/06, Robert Presender [EMAIL PROTECTED] wrote:
Using OS 10.3.9
This is my first venture with URL and I will appreciate a bit of help.
I have gotten this far:
Ask Enter the stock or fund symbol
put it into hold
get http://finance.yahoo.com/q?s=;
put hold after last char
Hi All,
I'm having a devil of a job retrieving data from a web site usinf the
POST command. Here's some example coding
put empty into card field SVG
ask Swiss-Prot accession number with P01308
post it to URL http://au.expasy.org/cgi-bin/get-sprot-entry?;
put it into card field SVG
break
This
PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Rob Beynon
Sent: Saturday, March 06, 2004 12:34 PM
To: [EMAIL PROTECTED]
Subject: Making POST work with URL's
Hi All,
I'm having a devil of a job retrieving data from a web site
usinf the POST command. Here's some example coding
28 matches
Mail list logo