Page 1 of 1

Realtime Auto Article Updater

Posted: Sat May 10, 2008 8:45 am
by leon_nerd
Hello,

I have been looking for PHP scripts, code or something that can help me in implementing my idea. But, I guess I am not to search it properly due to lack of using proper terminology.

I want to have a smalls section on a website that will display the 5 recent articles and I want them to update in real time (AJAXian type) whenever a user adds an article. Have a look at this: http://www.xbhp.com/talkies/xtracker.php. Whenever someone posts a reply or a thread it is displayed immediately on this page in real time. You don't need to refresh it. It will keep scrolling down as the replies are being posted.

Now this is not something new but unfortunately I don't know the exact terminology for such a thing :banghead: . I googled "article ticker", "article updater", "AJAX article updater"..etc etc but didn't get the desired results.

Any help in implementing this on my website will be highly appreciated.

Thanks,
Anurag

Re: Realtime Auto Article Updater

Posted: Mon May 12, 2008 3:15 am
by Maugrim_The_Reaper
Try AJAX polling. The page is probably using AJAX to continually query (or poll) the server for updated article/comment lists, and appending new ones to the page element. Often it's done efficiently by the query containing the last article/comment id received so it only get's back the updated ones, and not the entire list again.

Re: Realtime Auto Article Updater

Posted: Sat May 17, 2008 2:52 pm
by leon_nerd
I am sorry I couldn't realyl grab it. I have not been into a lot of AJAX. The coding is not a problem. The problem is the concept.

Is there anyone who can help me in this?