
> xkcd
And now for seriousness...
"real-time" is not something you should aim for. Because as soon as you get a handful of users online, unless you have a really powerful server or better still a cluster, then your site will die a horrible, fiery death.
Instead, you should figure out what is "real-time enough". Typically I have things update every five seconds or so, sometimes even 15 seconds is okay. If you're extracting data from another website, it may help to know how often that website updates and set your update speed to match (for instance, I once used to extract currency exchange rates from a site that updated once every 24 hours, so I updated once every 24 hours)
Depending on how frequent this is, it may be as simple as
setTimeout(function() {location.reload();},5000); // reload after 5 seconds
Alternatively, look into some AJAX solutions, polling the server at set intervals.