Live (Text) Commentary

Hi everyone, I am involved with a non-profit Irish dancing organisation and we run a major international championships in October each year. In the past, we have used Cover It Live to provide a (free) live text commentary (with pics), so that the families of dancers staying at home can keep up to date with what's going on. However, Cover It Live now want a fair bit of money to use their system (it used to be free to the user) and we cannot afford it. We use Drupal for our website (gbchamps.com) - are there any modules that would enable us to set up a live commentary facility? If not, what might be the best way to go about charging a small amount for access, to cover costs?

Thanks in advance for any pointers!

darren's picture

ajax + entityfieldquery

You can do this by loading a list of nodes via EntityFieldQuery, and rendering it as a page. Add a bit of jQuery AJAX to call back on an interval to load any new nodes generated since the last displayed node. I've posted some sample code to do this here: http://www.darrenmothersele.com/drupal-blog/drupal-live-blogging-ajax-auto-refreshing-view

Thanks for your reply Darren,

Thanks for your reply Darren, and my apologies for the delay in response. I've had a quick look at the link you mentioned - am I right in thinking your code is for Drupal 7? Our site is currently Drupal 6 and I'd be pushed to change it at this stage.

Bob Yorke

darren's picture

Yes, it's for Drupal 7. You

Yes, it's for Drupal 7. You could do something similar in D6, you just have to change the query as you don't have EntityFieldQuery in D6 and also change the way the nodes are rendered as you don't have node_view_multiple().