PDA

View Full Version : DOM XML Ticker



ianforest
06-11-2005, 09:18 AM
Hi there,

I am trying to use the DOM XML ticker on the website but i'm having problems. Basically I want to create a html based radio player for my online station. My media host provides an XML file, but it is in the following format:


<?xml version="1.0" standalone="yes" ?>
<!DOCTYPE EBWMASERVER (View Source for full doctype...)>
- <EBWMASERVER>
<ALIAS>468289</ALIAS>
<CURRENTLISTENERS>0</CURRENTLISTENERS>
<PEAKLISTENERS>10</PEAKLISTENERS>
<MAXLISTENERS>40</MAXLISTENERS>
<BITRATE>0</BITRATE>
<HITS>0</HITS>
</EBWMASERVER>

Now, the XML ticker on the website uses <MESSAGE> tags to pull out the data to show on the ticker, as you can see above, the <MESSAGE> tag is not used at all.

How can I adapt the script to show the <currentlisteners> and <peaklisteners> info??? :confused: