22 Mar 2011 at 11:43 #1 xerouk xerouk Associate Joined 29 Dec 2004 Posts 159 Hi i am looking to make a sports web page and was wondering how hard the autoupdating page was to make. Thanks
Hi i am looking to make a sports web page and was wondering how hard the autoupdating page was to make. Thanks
22 Mar 2011 at 12:25 #2 Tripnologist Tripnologist Soldato Joined 12 May 2007 Posts 3,896 Location Bristol You would just do an ajax call every x amount of time to retrieve new data.
22 Mar 2011 at 12:33 #3 GravyMonster GravyMonster Soldato Joined 18 Oct 2002 Posts 16,068 Location The land of milk & beans Exactly. Create a new feed in whatever format you're comfortable with (eg. XML, JSON) and have your site make an ajax call to it every x seconds.
Exactly. Create a new feed in whatever format you're comfortable with (eg. XML, JSON) and have your site make an ajax call to it every x seconds.
22 Mar 2011 at 14:51 #4 visibleman visibleman Soldato Joined 3 Jun 2005 Posts 3,332 Location The South Or look at comet/ajax-push(APE etc), more setup but a better solution to the client constantly polling your servers.
Or look at comet/ajax-push(APE etc), more setup but a better solution to the client constantly polling your servers.
22 Mar 2011 at 15:47 #5 BaJ BaJ Associate Joined 19 Oct 2002 Posts 782 Location The middle bit As above, a push server is a good solution, I've used nodejs recently with some success.