|
|
#1 (permalink) |
|
Registered User
Join Date: May 2004
Posts: 5
|
Xml
Ok, ive started a little radio (dont worry, nothing to do with pctechtalk, or anything, and i dont intend advertising the link anywhere on these forums)
Please could someone help me get the XML stats on a webpage, like http://www.pctechtalk.com/shoutcast/ Thanks in advance, Adz |
|
|
|
|
|
#2 (permalink) |
|
Da House Nerd
Join Date: Dec 1969
Location: One CPU Lane
Posts: 3,512
|
that works a bit different I think.
As far as I know there is no XML involved out there. If it were, then simply put it in the PHP XML DOM parser to get the data you want. Otherwise parse the info you get by requesting "7" (e.g. http://www.pctechtalk.com:8000/7)
__________________
Linux virusscanner detected a virus: Windows 95 ... delete [Y/n] y ~ ~ :wq |
|
|
|
|
|
#3 (permalink) | |
|
Registered User
Join Date: May 2004
Posts: 5
|
Quote:
|
|
|
|
|
|
|
#4 (permalink) |
|
Da House Nerd
Join Date: Dec 1969
Location: One CPU Lane
Posts: 3,512
|
You can open the webpage with PHP and split the response on the ',' char. Then you just have to figure out what means what, and put them nicely on your page.
Try something like PHP Code:
__________________
Linux virusscanner detected a virus: Windows 95 ... delete [Y/n] y ~ ~ :wq |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|