XMLTV / xmltv

Utilities to obtain, generate, and post-process TV listings data in XMLTV format
GNU General Public License v2.0
269 stars 93 forks source link

[xmltv.dtd] Missing description for icon in channel element #139

Closed cocool97 closed 2 years ago

cocool97 commented 3 years ago

I'm currently working on a Rust crate to generate XMLTV TV listing files. (Available here)

To conform to the XMLTV specification, I'm using a lot the DTD available in your repository.

I've found that the icon field in the channel element misses a description, which can lead to bad interpretations... I'll link a PR to this issue to suggest a consistent description.

honir commented 2 years ago

The 'icon' element is defined at line 329

<!-- An icon associated with the element that contains it.
src: uri of image
width, height: (optional) dimensions of image

These dimensions are pixel dimensions for the time being, eventually
this will change to be more like HTML's 'img'.
-->
<!ELEMENT icon EMPTY>
<!ATTLIST icon src         CDATA #REQUIRED
               width       CDATA #IMPLIED
               height      CDATA #IMPLIED

'icon' can be used by both 'channel' and 'programme'