diff --git a/spec/epg.xml b/spec/epg.xml index c1a134c..dc0e956 100644 --- a/spec/epg.xml +++ b/spec/epg.xml @@ -10,6 +10,7 @@ subtitle desc 1999 + category keyword diff --git a/src/Tv/Programme.php b/src/Tv/Programme.php index d904c5f..950a061 100644 --- a/src/Tv/Programme.php +++ b/src/Tv/Programme.php @@ -229,6 +229,7 @@ public function xmlSerialize(): XmlElement ->withChildren($this->getSubTitles()) ->withChildren($this->getDescriptions()) ->withChild(new XmlElement('date', $this->date)) + ->withChildren($this->getCategories()) ->withChildren($this->getKeywords()) ->withChild(new XmlElement('language', $this->language)) ->withChild(new XmlElement('orig-language', $this->origLanguage));