View Single Post
Old 29th November 2011, 01:37   #1
Junior Member
Join Date: Jan 2006
Posts: 12
About the XML tag SONGTITLE

I hope that I posting in the right forum. I just start broadcasting with shoutcast and I found a little detail. I use this asp code to show the current song.

Function unUDate(intTimeStamp)
varFecha = DateAdd("s", intTimeStamp, "01/01/1970 00:00:00")
unUDate = DateAdd("h", -5, varFecha)
End Function

extURL = "http://123.456.789.123:12345/admin.cgi?pass=xxxxxx&mode=viewxml&decachetime=" & Server.URLEncode(Now)

set xmlDoc = createObject("Msxml.DOMDocument")
xmlDoc.async = false
xmlDoc.setProperty "ServerHTTPRequest", true

CurrentSong = xmlDoc.SelectSingleNode("//SONGTITLE").text


<meta http-equiv="refresh" content="30">

<body text="#FFFFFF">

<div align="left" style="font-family:Arial; font-size: medium;">
<marquee><b><%= varAhoraEmitiendo %></b></marquee>

But the info of the XML tag SONGTITLE is "%artist - %title" and I need to show "%album - %title".

How can I do it?

Please sorry my grammar.
Regards from Lima, Perú
MariaClaudia is offline   Reply With Quote