Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] Re: channels.conf syntax?



http://dvb.swelcom.fi/si.xml
It seems to me as well structured format, designed to cover all aspects
of DVB. We can adopt the same.
It's rather trivial to produce a VDR-type listing from this info,
I did this as a quick-and-dirty experiment with Perl, but using the
XML parser library is just as simple from C or C++:
http://eetis.co.jyu.fi/dvb/
If unified multimedia viewer/zapping application could parse some
(even a simple) subset of XML, we could completely avoid libraries and C programming and call XSLT transformation from the shell,
xsltproc transformation.xsl si.xml > channels.xml
(a XML transformation file is typically just few KB long)
(from C you can use system("xsltproc.."); that will bring a complex
XML format into the simple XML subset parseable by the simple C
consctructs.
dont worry it's fast to convert even a 1MB of transponder
data in XML into the XML channels cubset in less than a second!
Emard

--
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index