diff --git a/src/Torann/PodcastFeed/Manager.php b/src/Torann/PodcastFeed/Manager.php index e11d0fb..34edcb5 100755 --- a/src/Torann/PodcastFeed/Manager.php +++ b/src/Torann/PodcastFeed/Manager.php @@ -262,7 +262,8 @@ private function generate() // Create the if ($this->category !== null) { - $category = $dom->createElement("itunes:category", $this->category); + $category = $dom->createElement("itunes:category"); + $category->setAttribute("text", $this->category); $channel->appendChild($category); }