Re: does working with URL's slow down the engine?

2007-01-28 Thread J. Landman Gay
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.

Re: does working with URL's slow down the engine?

2007-01-28 Thread Derek Bump
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.

Re: does working with URL's slow down the engine?

2007-01-28 Thread jbv
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

does working with URL's slow down the engine?

2007-01-27 Thread Derek Bump
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

Re: does working with URL's slow down the engine?

2007-01-27 Thread Derek Bump
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

Re: Can Rev as CGI pull an URL's HTML into a variable?

2006-08-20 Thread Mark Smith
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

Re: Can Rev as CGI pull an URL's HTML into a variable?

2006-08-16 Thread Dave Cragg
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

Re: Can Rev as CGI pull an URL's HTML into a variable?

2006-08-16 Thread RGould8
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]

Re: Can Rev as CGI pull an URL's HTML into a variable?

2006-08-16 Thread Andre Garzia
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.

Re: Can Rev as CGI pull an URL's HTML into a variable?

2006-08-16 Thread Mark Smith
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

Re: Can Rev as CGI pull an URL's HTML into a variable?

2006-08-16 Thread Andre Garzia
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

Re: Can Rev as CGI pull an URL's HTML into a variable?

2006-08-16 Thread Dave Cragg
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

Re: Can Rev as CGI pull an URL's HTML into a variable?

2006-08-16 Thread Dave Cragg
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

Re: Can Rev as CGI pull an URL's HTML into a variable?

2006-08-16 Thread Jim Ault
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

Can Rev as CGI pull an URL's HTML into a variable?

2006-08-15 Thread RGould8
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

Re: Can Rev as CGI pull an URL's HTML into a variable?

2006-08-15 Thread Phil Davis
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

Re: Can Rev as CGI pull an URL's HTML into a variable?

2006-08-15 Thread RGould8
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

Re: Can Rev as CGI pull an URL's HTML into a variable?

2006-08-15 Thread Phil Davis
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

Re: Can Rev as CGI pull an URL's HTML into a variable?

2006-08-15 Thread Phil Davis
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,

Re: Can Rev as CGI pull an URL's HTML into a variable?

2006-08-15 Thread Dave Cragg
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

Re: Can Rev as CGI pull an URL's HTML into a variable?

2006-08-15 Thread Phil Davis
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

Re: Can Rev as CGI pull an URL's HTML into a variable?

2006-08-15 Thread rgould8
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

Re: URL's

2006-06-10 Thread Robert Presender
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 ...

URL's

2006-06-08 Thread Robert Presender
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

Re: URL's

2006-06-08 Thread Dave Cragg
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

Re: URL's

2006-06-08 Thread Sarah Reichelt
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

Making POST work with URL's

2004-03-06 Thread Rob Beynon
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

RE: Making POST work with URL's

2004-03-06 Thread Ken Ray
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