bretskate Posted June 5, 2007 Share Posted June 5, 2007 Is it possible to display live sports scores from a RSS maybe and have them marquee across your website? Quote Link to comment https://forums.phpfreaks.com/topic/54205-is-this-possible-live-sports-scores/ Share on other sites More sharing options...
dough boy Posted June 5, 2007 Share Posted June 5, 2007 Yes via AJAX. Quote Link to comment https://forums.phpfreaks.com/topic/54205-is-this-possible-live-sports-scores/#findComment-267990 Share on other sites More sharing options...
bretskate Posted June 5, 2007 Author Share Posted June 5, 2007 Can I do AJAX with my php based website and where could I learn how to do this Thanks for the quick response Quote Link to comment https://forums.phpfreaks.com/topic/54205-is-this-possible-live-sports-scores/#findComment-267991 Share on other sites More sharing options...
dough boy Posted June 5, 2007 Share Posted June 5, 2007 Quickest way would be Google. Basically you want to first find your "source" as that would tell you the way to get started. If it is a typical RSS feed, then there are numerous RSS PHP Parsers. You would then use AJAX to connect to the RSS Parser and then display the result(s) on your site. Quote Link to comment https://forums.phpfreaks.com/topic/54205-is-this-possible-live-sports-scores/#findComment-267996 Share on other sites More sharing options...
bretskate Posted June 5, 2007 Author Share Posted June 5, 2007 I found a RSS feed with scores, how would I make it run across my board like ESPN's sports ticker Quote Link to comment https://forums.phpfreaks.com/topic/54205-is-this-possible-live-sports-scores/#findComment-268000 Share on other sites More sharing options...
dough boy Posted June 5, 2007 Share Posted June 5, 2007 http://lastrss.oslab.net/ Example Data Format: http://lastrss.oslab.net/demo1.php Example Source Code: http://lastrss.oslab.net/demo1.phps You then use AJAX (on a timer) to retrieve the results (rather than print_r($rs); you would do a return $rs) and then use Javascript to display it on the page. Quote Link to comment https://forums.phpfreaks.com/topic/54205-is-this-possible-live-sports-scores/#findComment-268002 Share on other sites More sharing options...
bretskate Posted June 5, 2007 Author Share Posted June 5, 2007 Ok, I have an RSS reader already and can pick up RSS feeds. I dont know anything about ajax and not a good amount of php Quote Link to comment https://forums.phpfreaks.com/topic/54205-is-this-possible-live-sports-scores/#findComment-268015 Share on other sites More sharing options...
dough boy Posted June 5, 2007 Share Posted June 5, 2007 http://blog.joshuaeichorn.com/archives/2005/04/19/ajax-hello-world-with-jpspan/ Quote Link to comment https://forums.phpfreaks.com/topic/54205-is-this-possible-live-sports-scores/#findComment-268018 Share on other sites More sharing options...
ryeman98 Posted June 5, 2007 Share Posted June 5, 2007 Maybe this could help: http://www.dynamicdrive.com/dynamicindex17/rsstickerajax/ It looks simple but I haven't read through. It sounds exactly like what you need. Quote Link to comment https://forums.phpfreaks.com/topic/54205-is-this-possible-live-sports-scores/#findComment-268033 Share on other sites More sharing options...
dough boy Posted June 5, 2007 Share Posted June 5, 2007 Actually it uses the same link I sent him, just gets him the AJAX as well. Nice find! Quote Link to comment https://forums.phpfreaks.com/topic/54205-is-this-possible-live-sports-scores/#findComment-268043 Share on other sites More sharing options...
ryeman98 Posted June 5, 2007 Share Posted June 5, 2007 Really? Cool. Haha Thanks, I'm partially interested in doing that too. Until I make my own, anyway. Quote Link to comment https://forums.phpfreaks.com/topic/54205-is-this-possible-live-sports-scores/#findComment-268050 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.