www.webdeveloper.com
Recent Articles
  • Finding Slow Running Queries in ASE 15
  • A More Advanced Pie Chart for Analysis Services Data
  • Adobe AIR Programming Unleashed: Working with Windows
  • Performance Testing SQL Server 2008's Change Data Capture Functionality
  • The ABC's of PHP: Introduction to PHP
  • How to Migrate from BasicFiles to SecureFiles Storage
  • Why the Twitter Haters Are Wrong
  • User Personalization with PHP: Beginning the Application
  • Whats in an Oracle Schema?
  • Lighting Enhancement in Photoshop
  •  

    Go Back   WebDeveloper.com > Client-Side Development > XML

    XML Discussion and technical support for using and deploying XML applications and websites.

    Reply
     
    Thread Tools Search this Thread Rate Thread Display Modes
      #1  
    Old 03-28-2003, 05:16 PM
    vlw vlw is offline
    Registered User
     
    Join Date: Mar 2003
    Posts: 12
    Can you use XML to get stock quote information from Yahoo?

    Hi there. I'm new to web programming, and would like to write an application capable of retrieving market quote information from Yahoo? I believe this should be done in XML, though I have no idea how to go about it. Could someone please help me with this?

    Thanks in advance. I posted this question in "General" but nobody there knows how to do it either.
    __________________
    vlw
    Reply With Quote
      #2  
    Old 03-29-2003, 12:28 PM
    khalidali63's Avatar
    khalidali63 khalidali63 is offline
    Registered User
     
    Join Date: Dec 2002
    Location: Calgary, Canada
    Posts: 2,654
    XML itself has nothing to do with getting the stock qoutes.Its the application that uses XML file to retrieve data from.

    If a server(it could be yahoo) serves data in XML format then your application may read that XML file and print it as desired.

    Cheers

    Khalid
    Reply With Quote
      #3  
    Old 04-07-2003, 04:14 PM
    vlw vlw is offline
    Registered User
     
    Join Date: Mar 2003
    Posts: 12
    Thanks, khalidali63. Another part of my questions is, how can I write an application that can tell yahoo the quote I'm looking for? Doing this manually is easy: I just go to finance.yahoo.com, enter a ticker, and press "get quote". How can I automate this process?

    Thanks again.
    __________________
    vlw
    Reply With Quote
      #4  
    Old 04-12-2003, 12:03 PM
    Jona's Avatar
    Jona Jona is offline
    Stuper Murderator
     
    Join Date: Jan 2003
    Location: Texas
    Posts: 10,537
    This probably wouldn't use XML at all. You have to get that data from the form, and Yahoo probably won't allow you to use their database and/or bandwidth. So you'd be better off making your own server-side script.
    Reply With Quote
      #5  
    Old 04-15-2003, 01:21 AM
    web-eagle's Avatar
    web-eagle web-eagle is offline
    MacGyver Wannabe
     
    Join Date: Mar 2003
    Location: SouthEastern US
    Posts: 66
    Just spotted this while "shopping" for scripts. Don't know if it works, but it might be worth your while to look. Give you a place to start anyway


    Get Stock Quote's - joeaic
    This little script will grab stock quote info from finance.yahoo.com. The script is kind of crude. Something I wrote while learning php.


    http://www.phpbuilder.com/snippet/de...snippet&id=163

    edit;

    Here's one more. Best of luck.....

    Stock Information Retrieval (c.ticker.php) jmp1024
    This class will retrieve information from Yahoo's finance site and put it into a nice, usable, class variable for you to use elsewhere at your leisure. Example usage is in the class comments.


    http://www.phpbuilder.com/snippet/de...snippet&id=286
    __________________
    Faster than a speeding bulletin…..
    More powerful than a local modem…..
    Able to leap small towers with a single #…..
    Look!
    In the sky!
    It’s a bird!
    It’s a plane!
    (SPLAT!)
    It was a bird…..

    Last edited by web-eagle; 04-15-2003 at 01:27 AM.
    Reply With Quote
    Reply

    Bookmarks


    Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
     
    Thread Tools Search this Thread
    Search this Thread:

    Advanced Search
    Display Modes Rate This Thread
    Rate This Thread:

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is Off
    HTML code is Off
    Forum Jump


    All times are GMT -5. The time now is 03:39 AM.



    Acceptable Use Policy

    internet.comMediabistrojusttechjobs.comGraphics.com

    WebMediaBrands Corporate Info


    Advertise | Newsletters | Feedback | Submit News

    Legal Notices | Licensing | Permissions | Privacy Policy

    Powered by vBulletin® Version 3.7.3
    Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.