| View previous topic :: View next topic |
| Author |
Message |
Anonymous Guest
|
Posted: Fri Nov 02, 2007 9:36 pm Post subject: Read the stats of sources/listeners from another web page |
|
|
Hi there I have Icecast hosted in the same server with my xampp/apache installation.
Is it possible to read some of the stats that are available in stats.xsl from another web page hosted in xampp's port 80.
I have my web site in the same server and I'd like to have something like a live directory of my mount points in my web sites web page without having to send my web visitors to icecast web directory at port 8000.
Can I do that even if I host to another physical server?
Regards
Panos  |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Sat Nov 03, 2007 12:24 am Post subject: |
|
|
If you don't want to embed a frame or similar the you'll need to use some server task to collect that information and then generate the page that your listeners will get.
karl. |
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Sat Nov 03, 2007 9:58 am Post subject: great advise |
|
|
Thank you KarlH,
As I'm not an expert in server task (?) can you drop a line of code that I should use in my html page?
If this is trouble...
How can I embed the actual stats.xsl in a frame with auto refresh?
Panos |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Sat Nov 03, 2007 1:23 pm Post subject: |
|
|
There are several possibilities for getting information, using php or any other programming language you can query the existing pages or custom built weboot pagesto extract teh information you want. Obviously I have no idea what your situation is or what your requirements are to be specific.
In html (the spec is easily available) there are tags like frame and iframe etc to tell the browser to load a specific page which can be from another server.
karl. |
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Sat Nov 03, 2007 2:15 pm Post subject: yeahp! |
|
|
you are so right
I should do what I know best...
AI'm not a programmer to go php etc... I' just to have the original pags a guest in to a frame.
Thanx master KarlH |
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Mon Nov 05, 2007 12:07 pm Post subject: yeap! |
|
|
working!
We managed to fully read xsl pages in a html frame.
Works great.
It is like having a live directory of the streaming server in your main company's web page.
Have great time.
Panos |
|
| Back to top |
|
 |
|