[mythtvnz] xml format for epg - SOLVED

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


------=_20051222234503_60640
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 8bit

> 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...
>

I lied - it does work. I must have not given it enough time to download
the icons!!

Here is the modded munger script.

PS. I know that SouthlandTV is not MainlandTV!! I couldn't find a nice big
question mark!!

-- 
Robin Gilks



------=_20051222234503_60640
Content-Type: application/octet-stream; name="grab_ecj"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="grab_ecj"

IyEvYmluL2Jhc2gKIyBncmFiIHhtbCB0diBsaXN0aW5ncyBmcm9tIGhhaXJ5LmdlZWsubnoKIyBh
bmQgbWFuaXB1bGF0ZSB0aGVtIHNvIHRoZXkgbG9vayBsaWtlIHRoZSBtci5nZWVrLm56IG9uZXMK
IyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMj
IyMjIyMjIyMjIyMjCm1rZGlyIC1wIC9tbnQvdG1wL2VwZwpjZCAvbW50L3RtcC9lcGcKI3JlbW92
ZSBvbGQgZmlsZQpybSAtZiBsYXRlc3QueG1sLmd6CnJtIC1mIGxhdGVzdC54bWwKCiMgZ2V0IHRo
ZSBmaWxlCmN1cmwgLS1zaWxlbnQgLS1vdXRwdXQgbGF0ZXN0LnhtbC5neiBodHRwOi8vaGFpcnku
Z2Vlay5uei9lcGcvbGF0ZXN0LnhtbC5negojIGNvbW1lbnQgb3V0IGFib3ZlIGFuZCB1bmNvbW1l
bnQgYmVsb3cgZm9yIHRlc3RpbmcgdG8gc2F2ZSBkb3dubG9hZGlu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