Michael H. Collins wrote:> I have no prob seeing stats with mozilla. Icecast has come so far in > a year. Last year at this time there was no need for stats. hehe We > were just glad to get the stream out. > > > > HidayahOnline.org Admin wrote: > >> >>> >>> This stats file is a sort of "virtual file", created by icecast on >>> demand. It doesn't live on the filesystem at any point. >>> >>> You can request it from the server using >>> http://server:port/admin/stats.xml >>> >>> Can you suggest some text for the documentation that would clarify >>> this? >>> >>> Mike >>For further clarification, I missed that Mike had references "stats.xml", which I read, simply, as "stats.xsl". I was only going to .xsl, before. Both "/stats" and "/stats.xml" produce the appropriate XML file I have been seeking. I am now successfully displaying Title/Artist (in this case, reciter, not really artist) on the front page of my site. This XML stuff is really neat. :) And, in reference to Chup's comments, I didn't mean to be disrespectful in any way, i.e., "I PAID NOTHING FOR THIS SOFTWARE, SO WHY DOESN'T IT WORK LIKE THE $4,000 REALAUDIO SERVER!" I hope I didn't come off that way. ;) --- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
On Thursday 26 February 2004 17:27, HidayahOnline.org Admin wrote:> >This stats file is a sort of "virtual file", created by icecast on demand. > > It doesn't live on the filesystem at any point. > > > >You can request it from the server using > > http://server:port/admin/stats.xml > > > >Can you suggest some text for the documentation that would clarify this? > > > >Mike > > Well, I still don't get an XML file when I visit that page on my > server. Granted, all the information that is in the file is there, > however, I can't use PHP's nifty XML parsing tools to get that information.Well, I'm not sure what's going wrong, then. It's meant to produce an XML file, and last time I checked it did produce an XML file. So either you're doing something wrong, or a bug has been introduced, and this doesn't currently work.> > To clarify the point, I would advise simply not using an XML file to > represent the data, unless such a file is indeed attainable, whether > actually existing on the file system or not. If a file like this can be > generated at a given URL or by a command to the server, that would also > be neato, but if nothing like the really exists, I would advise > re-writing the page without the XML at all. > > All of this is assuming that I am understanding what you are saying - in > that, whomever wrote the documentation simply used XML as a way to > present the data. I would suggest, rather, a screen-shot of the actual > page, or what the actual page looks like.The file produced by the server IS an XML file. Mike --- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
oddsock wrote:> Well, I still don't get an XML file when I visit that page on my > server. Granted, all the information that is in the file is there, > however, I can't use PHP's nifty XML parsing tools to get that > information. > > I think you are misunderstanding something. The stats XML is not > accessed via a file on the file system (I.e. you shouldn't expect to > see a physical stats.xml file). I'm a bit confused by your statement > that you don't get an XML file when you visit the link, but yet you > also say that "all the information that is in the file is > there"...what exactly do you see when you visit the > http://server:port/admin/stats link ? > perhaps your confusion is that you dont actually need a XML file in > order to parse it in PHP....You can retrieve it via a URL call. I > think you can do something like : > > $handle = fopen("http://user:password@server:port/admin/stats", "r"); > > and then proceed to parse it using PHP's XML parsing routines...and I > know there are a lot of people who actually do exactly this... > > oddsockI'm SURE I am misunderstanding something. What I get when I visit http://server:port/admin/stats....wait a minute, I just went to /stats, instead of /stats.xsl, and I see what you guys mean...:) So there is a page "stats", which exists virtually, and a page "stats.xsl", that I kept linking to. So, minus ".xsl", I get the pure generated XML file. NOW I GET IT! :) Thanks a lot for all that commented, but I THINK there should be a clarification on THIS point. Am I the only one to have been duped by this? :) --- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
> >This stats file is a sort of "virtual file", created by icecast on demand. It >doesn't live on the filesystem at any point. > >You can request it from the server using http://server:port/admin/stats.xml > >Can you suggest some text for the documentation that would clarify this? > >Mike >Well, I still don't get an XML file when I visit that page on my server. Granted, all the information that is in the file is there, however, I can't use PHP's nifty XML parsing tools to get that information. To clarify the point, I would advise simply not using an XML file to represent the data, unless such a file is indeed attainable, whether actually existing on the file system or not. If a file like this can be generated at a given URL or by a command to the server, that would also be neato, but if nothing like the really exists, I would advise re-writing the page without the XML at all. All of this is assuming that I am understanding what you are saying - in that, whomever wrote the documentation simply used XML as a way to present the data. I would suggest, rather, a screen-shot of the actual page, or what the actual page looks like. --- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
At 12:27 AM 2/26/2004, you wrote: <p>>>This stats file is a sort of "virtual file", created by icecast on>>demand. It doesn't live on the filesystem at any point. >> >>You can request it from the server using http://server:port/admin/stats.xml >> >>Can you suggest some text for the documentation that would clarify this? >> >>Mike >Well, I still don't get an XML file when I visit that page on my >server. Granted, all the information that is in the file is there, >however, I can't use PHP's nifty XML parsing tools to get that information.I think you are misunderstanding something. The stats XML is not accessed via a file on the file system (I.e. you shouldn't expect to see a physical stats.xml file). I'm a bit confused by your statement that you don't get an XML file when you visit the link, but yet you also say that "all the information that is in the file is there"...what exactly do you see when you visit the http://server:port/admin/stats link ? perhaps your confusion is that you dont actually need a XML file in order to parse it in PHP....You can retrieve it via a URL call. I think you can do something like : $handle = fopen("http://user:password@server:port/admin/stats", "r"); and then proceed to parse it using PHP's XML parsing routines...and I know there are a lot of people who actually do exactly this... oddsock <p>--- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
I have no prob seeing stats with mozilla. Icecast has come so far in a year. Last year at this time there was no need for stats. hehe We were just glad to get the stream out. <p><p>HidayahOnline.org Admin wrote:> >> >> This stats file is a sort of "virtual file", created by icecast on >> demand. It doesn't live on the filesystem at any point. >> >> You can request it from the server using >> http://server:port/admin/stats.xml >> >> Can you suggest some text for the documentation that would clarify this? >> >> Mike >> > Well, I still don't get an XML file when I visit that page on my > server. Granted, all the information that is in the file is there, > however, I can't use PHP's nifty XML parsing tools to get that > information. > > To clarify the point, I would advise simply not using an XML file to > represent the data, unless such a file is indeed attainable, whether > actually existing on the file system or not. If a file like this can > be generated at a given URL or by a command to the server, that would > also be neato, but if nothing like the really exists, I would advise > re-writing the page without the XML at all. > > All of this is assuming that I am understanding what you are saying - > in that, whomever wrote the documentation simply used XML as a way to > present the data. I would suggest, rather, a screen-shot of the > actual page, or what the actual page looks like. > --- >8 ---- > List archives: http://www.xiph.org/archives/ > icecast project homepage: http://www.icecast.org/ > To unsubscribe from this list, send a message to > 'icecast-request@xiph.org' > containing only the word 'unsubscribe' in the body. No subject is > needed. > Unsubscribe messages sent to the list will be ignored/filtered. > >Chupacabra. --- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
i've been trying to figure out how to create a "now playing" on my website from the status.xsl or stats.xml file for a while also. so, i can really appreciate the current dialogue. here's my current hump. i can view the status.xsl file at: http://server:8000/status.xsl however, when i go to: http://server:8000/admin/stats and am prompted for my password, i can not log in. i tried the username as "source" and "admin", paired with the password defined in the config file. any suggestions? thanks jg __________________________________ Do you Yahoo!? Get better spam protection with Yahoo! Mail. http://antispam.yahoo.com/tools --- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.