Solved

How to / or best methods to show IRC chat in a browser in real time?

Posted on 2008-10-19
3
429 Views
Last Modified: 2013-12-13
I'd like to have a browser window display the stream of an IRC chat room.  Actually, I'd like 4 chats displayed at the same time.  I've had no trouble connecting PHP to my IRC server.  Creating bots in a few minutes was no big deal.  In any case my issue is figuring out the best way to / how display a IRC chat in a regular web browser without an ugly refresh.  I imagine Javascript is the way to go, but as I'm not at all good with this, some examples or web references would be helpful.  Also, is there any concern about the duration the browser can remain open?  Ideally I'll be doing this for a large display, so I won't want to restart the computer and/or browser.  I'm not sure if this causes some form of memory leak, etc.  Thanks in advance for the advice.
0
Comment
Question by:Xerc
  • 2
3 Comments
 
LVL 8

Accepted Solution

by:
aldanch earned 500 total points
ID: 22759834
I have tried to do something similar in the past. I tried everything from Javascript to Flash. The only simple on I found was http://cgiirc.org/

It's not pretty but it is customizable. Hope this helps! I will be monitoring this question because I am curious as to what else is out there myself.
0
 

Author Comment

by:Xerc
ID: 22815361
Well, your solution was the only one I could find / see, so awarding points.  For what it is worth, in the end we decided just to abandon IRC in favor of our own Ajax / PHP / MySQL web chat.  We lose out on have a separate chat client and of course all the nice bots and eggdrops, but since the core need is a web based chat, it is easier this way.  Shame there isn't something easier.  We did look at Jabber / XMPP as well, but after trying three different servers, each failed after some time and we didn't want the overhead of making it stable or figuring our best web interface.
0
 
LVL 8

Expert Comment

by:aldanch
ID: 22815392
I totally understand. I ended up going with some custom AJAX/PHP/MySQL myself :-/

Thanks and good luck.
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Please see preceding article here: http://www.experts-exchange.com/Networking/Operating_Systems/A_11209-Root-Bridge-Election.html Figure 1 After Root Bridge has been elected, then what?..... Let's start by defining a Root Port in la…
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question