Old 15th September 2003, 23:45   #1
wahili
Junior Member
 
Join Date: Aug 2003
Posts: 40
Send a message via AIM to wahili
AIM name display

there is a place in the dsp to grab the AIM name. how do i display this in on a page.

i am using this code for the other stuff.

<%@LANGUAGE="VBSCRIPT" CODEPAGE="1251"%>
<%
' ANOTHER SHOUTCAST STATUS PAGE

' By Philip 'daPhil' Johannessen, May 2003
' www.daphil.com
' me@daphil.com

'USER DEFINED VARIABLES (CHANGE THESE)
ServerDomain = "216.93.187.171" 'DOMAIN
ServerPass = "****" 'PASSWORD
ServerPort = "9100" 'PORT

'MAKE SERVERURL
ServerURL = "http://"& ServerDomain &":"& ServerPort &"/admin.cgi?pass="& ServerPass &"&mode=viewxml"

'INITIATE XMLDOM ENGINE
Set objXMLDOM = Server.Createobject("Microsoft.XMLDOM")
objXMLDOM.async = false
objXMLDOM.setProperty "ServerHTTPRequest", true
objXMLDOM.Load ServerURL

'CREATE COLLECTIONS AND STUFF
ServerStatus = objXMLDOM.SelectSingleNode("//STREAMSTATUS").text
StationName = objXMLDOM.SelectSingleNode("//SERVERTITLE").text
BitRate = objXMLDOM.SelectSingleNode("//BITRATE").text
ServerVersion = objXMLDOM.SelectSingleNode("//VERSION").text
MediaType = objXMLDOM.SelectSingleNode("//CONTENT").text
CurrentSong = objXMLDOM.SelectSingleNode("//SONGTITLE").text
Users = objXMLDOM.SelectSingleNode("//CURRENTLISTENERS").text
MaxUsers = objXMLDOM.SelectSingleNode("//MAXLISTENERS").text
Set SongHistory = objXMLDOM.SelectNodes("//SONG")
Set UserList = objXMLDOM.SelectNodes("//LISTENER")
%>

[edit]Changed password to *'s. - Tom[/edit]
wahili is offline   Reply With Quote
Old 16th September 2003, 00:20   #2
jwhalen
Major Dude
 
jwhalen's Avatar
 
Join Date: Mar 2003
Location: ct
Posts: 1,202
Send a message via AIM to jwhalen
you just told the world your server IP and password.

might want to change that now.

jwhalen is offline   Reply With Quote
Old 16th September 2003, 00:26   #3
wahili
Junior Member
 
Join Date: Aug 2003
Posts: 40
Send a message via AIM to wahili
still any takers?
wahili is offline   Reply With Quote
Old 16th September 2003, 00:59   #4
FesterHead
Alumni
 
FesterHead's Avatar
 
Join Date: Sep 2001
Location: Maui, Hawaii
Posts: 14,108
Add an entry such as:
myAIM = objXMLDOM.SelectSingleNode("//AIM").text

To see all the XML attributes, please login to the Admin section of your DNAS and click the Yes portion of "Get XML Stats: [Yes]".

Add/remove attibutes to suit your needs.

FesterHead is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Shoutcast > Shoutcast Technical Support

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump