Old 18th July 2004, 13:46   #1
DaZHeLL
Junior Member
 
Join Date: Jul 2004
Posts: 5
Show Shoutcast on Website / IIS with ASP and XML


hi ya,
wanna have your Songs on Website running Windows IIS.
i just coded a bit and made for all ya shoutcasters a
script which needs MSXML2.ServerXMLHTTP / Microsoft.XMLDOM
on your Server to get SongList to your Website.
(i quess normally installed on WinXP SP1/Win2000 SP4)

You can see a sample at
http://shoutcast.damnserver.com

Please give me some reply if you have some problems...

Cyah..
Attached Files
File Type: zip shoutcast.zip (2.2 KB, 215 views)
DaZHeLL is offline   Reply With Quote
Old 19th July 2004, 03:50   #2
geej86
Junior Member
 
Join Date: Jul 2004
Posts: 10
Send a message via AIM to geej86
hey, this script looks like it's just the thing I'm looking for, thanks. Unfortunatly I don't have much experience in this area, heres my situation. I have a webpage that I would like info from this script to appear on. How do I go about inserting this 'object?' or script into an existing page. thanks -geej
geej86 is offline   Reply With Quote
Old 19th July 2004, 06:31   #3
DaZHeLL
Junior Member
 
Join Date: Jul 2004
Posts: 5
Hi,
you have almost to copy and paste it into your website or just include it. You should just do some Xperiments with the code. Best thing to do is just try and may cut out the stuff you don't need.

For ASP starters i suggest these Sites:
http://www.aspin.com
http://www.asp101.com

For XML checkout:
http://www.w3schools.com/xml/

Hope this could help you a bit...cu
DaZHeLL is offline   Reply With Quote
Old 20th July 2004, 16:00   #4
feldhamer
Junior Member
 
Join Date: Jul 2004
Posts: 6
time not showing

i like your script but two things the time played keep showing up as 12 AM and therefore the song length also is always wrong and set at 0

one more thing does this script produce any temp files on the server?
feldhamer is offline   Reply With Quote
Old 20th July 2004, 16:38   #5
feldhamer
Junior Member
 
Join Date: Jul 2004
Posts: 6
also change line 81

line 81 should read....

<a href="http://<%=request.ServerVariables("SERVER_NAME")%>:<%=shoutcast_port%>/listen.pls"><img src="tunein.gif" border=0></a>

this way the listen link will show the right port based on the configuration on top....


still cant get the times to show, only getting 12 AM like i described earlier.
feldhamer is offline   Reply With Quote
Old 20th July 2004, 17:51   #6
feldhamer
Junior Member
 
Join Date: Jul 2004
Posts: 6
my bad line 81 should read....

<a href="http://<%=shoutcast_server%>:<%=shoutcast_port%>/listen.pls"><img src="tunein.gif" border=0></a>

both your way and my first way are totally wrong
feldhamer is offline   Reply With Quote
Old 20th July 2004, 18:11   #7
DaZHeLL
Junior Member
 
Join Date: Jul 2004
Posts: 5
You're right. But this script isn't a final version. it's just a sample how to get info from shoutcast to your asp website... all people are free to use it as they want.

i will include your suggestions in my next version.
thanks
DaZHeLL is offline   Reply With Quote
Old 20th July 2004, 18:15   #8
feldhamer
Junior Member
 
Join Date: Jul 2004
Posts: 6
what about the time always showing up wrong?
feldhamer is offline   Reply With Quote
Old 20th July 2004, 19:31   #9
feldhamer
Junior Member
 
Join Date: Jul 2004
Posts: 6
i am workig on my owns fx for ya
feldhamer is offline   Reply With Quote
Old 20th July 2004, 19:57   #10
DaZHeLL
Junior Member
 
Join Date: Jul 2004
Posts: 5
Okay the 12 AM thing i think is because of regional setting of your windows. mine is GTM +01:00 Germany. Also German 24h TimeFormat.

Wrong? You mean the WebSite. It's because my Shoutcast Server was Offline.. currently turned on for some time..
but don't keep it up very long... > bandwidth issues.
DaZHeLL is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Shoutcast > Shoutcast Discussions

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