[mythtvnz] xml format for epg

Robin Gilks mythtvnz@lists.linuxnut.co.nz
Thu, 22 Dec 2005 23:05:19 +1300 (NZDT)


Well, I've hunted high and low and I can't find a simple example of the
icon url in the header for the epg data. So far I've got it generating
like this - but I'm not convince I have the format correct (or even the
correct 'command') Is it
     <icon src = "url" />
which closes the '<' or should it be
     <icon src = "url" >
which just matches the '<' with a '>'

I doesn't work anyway...

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE tv SYSTEM "xmltv.dtd">
<tv generator-info-name="dvb-epg-gen">

<channel id = "Mosaic.mr.geek.nz">
  <display-name>"Mosaic"</display-name>
  <icon src="http://www.lyngsat-logo.com/logo/tv/ss/sky_mosaic.jpg" />
</channel>
<channel id = "SKY1.mr.geek.nz">
  <display-name>"SKY1"</display-name>
  <icon src="http://www.lyngsat-logo.com/logo/tv/ss/sky1_nz.jpg" />
</channel>
<channel id = "SKYMovies1.mr.geek.nz">
  <display-name>"SKYMovies1"</display-name>
  <icon src="http://www.lyngsat-logo.com/logo/tv/ss/sky_movies1_nz.jpg" />
</channel>
<channel id = "UKTV.mr.geek.nz">
  <display-name>"UKTV"</display-name>
  <icon src="http://www.lyngsat-logo.com/logo/tv/uu/uktv_au.jpg" />
</channel>


-- 
Robin Gilks