2009/7/27 Subflow.net <[email protected]>:
> It's works, and it's great.
> Thank for that.
> I'm now looking how to extract "on_air" and "filename" data from log to
> display it
> on webpage by using php ?
> (an exemple code make my day) ^^
>
> All the Best from Paris the most boring big city in Europe !
> Fred
>

I am actually calling a url from on_metadata() to tell an external
program (washtub web interface) to do the logging, so I don't think my
code would translate for your purposes.   Plus, I am using python.

At any rate, I would suggest starting by creating useful output to
your log, that would in turn be easy to parse in php.  Maybe output
your log in xml, then use an existing xml parser in php to make the
job easier.

Myself, I have been playing with logging to a database, so that I can
output to any format I want (RSS), which just about any application
nowadays can read/parse.

-- 
Chris Everest

------------------------------------------------------------------------------
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to