mIRC Home    About    Download    Register    News    Help

Print Thread
ICR Feed to Web Site? #148685 09/05/06 11:19 PM
Joined: May 2006
Posts: 3
D
DAT Offline OP
Self-satisified door
OP Offline
Self-satisified door
D
Joined: May 2006
Posts: 3
Is this possiable? confused

Im new to IRC and was see if there was a way to have your channel or a bot feed to your web site and have visitors veiw on your web site.

Thanks for the responce. grin

Re: ICR Feed to Web Site? #148686 10/05/06 12:28 AM
Joined: Feb 2003
Posts: 372
R
Rounin Offline
Fjord artisan
Offline
Fjord artisan
R
Joined: Feb 2003
Posts: 372
This is doable for instance with a Java applett like "pjirc", or via a CGI-IRC script. The Java applet might be easiest.

Re: ICR Feed to Web Site? #148687 10/05/06 07:48 AM
Joined: Apr 2004
Posts: 759
M
Mpdreamz Offline
Hoopy frood
Offline
Hoopy frood
M
Joined: Apr 2004
Posts: 759
I would only suggest this if you run your own webserver as then you can skip the uploading part and just script an on *:TEXT: to write to a .txt file like so
<mIRC>$timestamp $+(<,$nick,>) $1-</mirc>

Then on your website you can either just make the user refresh manually and load the maximum lines you want to see in a div using document.getElementsByTagName('mIRC') to reference to all the lines. Reason to do it this way is that you can parse and format the lines properly as suppose to doing it when you /write since this has a 950 or so character limit.

Best method would be to use the getElementsByTagName in conjunction with Javascript timers and XMLHTTP requests to your .txt file and only load in the new lines without page refreshes.

As always im just rambling on and spitting idea's but this is very plausible.


$maybe
Re: ICR Feed to Web Site? #148688 10/05/06 07:30 PM
Joined: May 2006
Posts: 3
D
DAT Offline OP
Self-satisified door
OP Offline
Self-satisified door
D
Joined: May 2006
Posts: 3
Thanks for replies. smirk

So if I got you right, there is no set program out there now, I would have to peice it together myself, correct?

Im clueless when it comes to this, sry. confused

Would any1 be will to help me with this?
wink

Re: ICR Feed to Web Site? #148689 11/05/06 08:48 AM
Joined: Jan 2003
Posts: 1,063
D
Doqnach Offline
Hoopy frood
Offline
Hoopy frood
D
Joined: Jan 2003
Posts: 1,063
PJIRC is a website IRC client, use that.

it's ready made so you only would have to follow the instructions on how to install it.


If it ain't broken, don't fix it!
Re: ICR Feed to Web Site? #148690 12/05/06 08:46 PM
Joined: May 2006
Posts: 3
D
DAT Offline OP
Self-satisified door
OP Offline
Self-satisified door
D
Joined: May 2006
Posts: 3
Thanks Doqnach smile

This is great. wink

Now I just have to figure out how to get the Undefined Strings fixed. smile

Re: ICR Feed to Web Site? #148691 10/06/06 05:59 AM
Joined: Oct 2004
Posts: 73
M
Mardeg Offline
Babel fish
Offline
Babel fish
M
Joined: Oct 2004
Posts: 73
If all you're after is just making the chat viewable on a page, then that's been done by the makers of the Firefox extension peekko:

http://peekko.com/chat/Add+Chat+Window.html

Adapting it for your own channel may depend on whether you just want to use your site's channel on their server or not.