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? 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. 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 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. 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 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. 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 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/ 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. 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! 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. 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
Archived
This topic is now archived and is closed to further replies.