dcsimg
www.webdeveloper.com
Results 1 to 3 of 3

Thread: Getting live data from another site.

  1. #1
    Join Date
    May 2007
    Posts
    184

    Getting live data from another site.

    This probably isn't possible but I thought to ask anyways. I want to create a page for me and my friends that takes live scores from the Masters golf tournament and calculates the sum of some of the players scores. I was wondering if there was someway to get these updated scores from another site to my site without me actually having to update them myself. I know a RSS feed could do this part but the thing is I'd want to take the actual data and use it to calculate scores.

  2. #2
    Join Date
    Nov 2003
    Location
    Jerryville, Tejas
    Posts
    11,715
    See if they provide you a mechanism for getting scores or stats via web services.

  3. #3
    Join Date
    Mar 2008
    Posts
    29

    A Possible Solution...

    As long as you keep this to a minimum, you could create a PHP script that downloads the scores page periodically and processes the content. However excessive use could have legal implications...

    Look into PHP/cURL, to download the web page and create a parsing routine to isolate the necessary information.

    Hope this helps
    ~David

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles