AJAX support

Announcements and description of general changes in kPlaylist

AJAX support

Postby aba » Sat Nov 04, 2006 5:28 pm

kPlaylist build 434 supports ajax. But it's experimental and the only feature it takes use of it automatically updated active streams:

To enable, get hold of prototype from here:

http://prototype.conio.net/

Click the 'Justs the .js please'. Put this file in a webaccessable directory, such as where your kPlaylist script resides. Then, go to 'Settings'>Customize and fill out the URL for this file in 'AJAX Prototype URL'.

Then, edit the script and set

Code: Select all
$cfg['livestreamajax']


to true.

Then the active streams should automatically update. The interval
can be adjusted with the parameter:

Code: Select all
$cfg['livestreamajaxupdatetime']
aba
Site Admin
 
Posts: 2325
Joined: Wed May 08, 2002 9:19 am

Postby tcghost » Fri Feb 02, 2007 9:54 pm

I think it creates several problems... the prototype script outputs unicode data, yet kplaylist outputs all the stuff with the encoding specified by the language, which is not unicode
tcghost
 
Posts: 229
Joined: Fri Nov 04, 2005 6:48 pm
Location: Florida

nice!

Postby ipn1nj4 » Thu May 03, 2007 5:14 pm

I just discovered this feature. Thanks! It is very nice
ipn1nj4
 
Posts: 28
Joined: Fri Mar 04, 2005 6:12 pm

Postby tcghost » Thu May 03, 2007 7:26 pm

just wanted to say that all the unicode stuff is sorted out now with the new unicode build
tcghost
 
Posts: 229
Joined: Fri Nov 04, 2005 6:48 pm
Location: Florida

Postby zaqarov » Wed Apr 16, 2008 1:16 pm

I'd like to use mootools instead of prototype. Any clues on how to do this?
zaqarov
 
Posts: 22
Joined: Thu Apr 03, 2008 7:20 pm

Postby aba » Wed Apr 16, 2008 2:27 pm

zaqarov wrote:I'd like to use mootools instead of prototype. Any clues on how to do this?


Well, the settings and prototype URL is just a js include. The problem is the code that uses the prototype (streams/shoutbox.); that would have to be rewritten.
aba
Site Admin
 
Posts: 2325
Joined: Wed May 08, 2002 9:19 am

Postby zaqarov » Wed Apr 16, 2008 3:07 pm

it'll probably be easier to use a framework that is compatible with Prototype for my effects.

Ah the Prototype trap. There is no escaping. :D

zaqarov
zaqarov
 
Posts: 22
Joined: Thu Apr 03, 2008 7:20 pm

Re: AJAX support

Postby comrad » Wed Jul 01, 2009 4:28 pm

hi there aba are there any alternative links for getting the files at prototype.conio.net ? thanks
comrad
 
Posts: 52
Joined: Mon Nov 14, 2005 5:21 am
Location: Phils

Re: AJAX support

Postby mirthen » Wed Aug 05, 2009 3:42 am

http://www.prototypejs.org/ this is the new url, linked from www.conio.net main page.
mirthen
 
Posts: 15
Joined: Thu Sep 22, 2005 6:34 am


Return to Announcement



cron