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
    revGoUrl it

The above brings up the web page but I can't figure out how
to get some of the numerical data (such as the price associated
with the symbol) from the web page. I would like to get bits of information
and put them into a field(s) of a stack card.

revGoUrl will just open the page in your browser. Instead, you want to get the the actual content of the url. To start, try something like this:


   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
    put url it into urlData

But then the hard part begins. You'll have to parse the data contained in urlData, which I assume will be in html format. The first thing I would do would be to put urlData into a field, and see what the data looks like. Then you should be able to see how it might be parsed.

Cheers
Dave
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to