talklib 2.0.5__tar.gz → 2.0.6__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: talklib
3
- Version: 2.0.5
3
+ Version: 2.0.6
4
4
  Summary: A package to automate processing of shows/segments airing on the TL
5
5
  Author-email: Ben Weddle <ben.weddle@gmail.com>
6
6
  Maintainer-email: Ben Weddle <ben.weddle@gmail.com>
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "talklib"
3
- version = "2.0.5"
3
+ version = "2.0.6"
4
4
  description = "A package to automate processing of shows/segments airing on the TL"
5
5
  readme = "README.md"
6
6
  license = {file = "LICENSE.txt"}
@@ -185,6 +185,11 @@ class Episode(BaseModel):
185
185
  title.text = self.episode_title
186
186
  item.append(title)
187
187
 
188
+ # Drupal needs to see a category element on every episode that matches the name of the program
189
+ channel_title_category_element = ET.Element("category")
190
+ channel_title_category_element.text = root.find('title').text
191
+ item.append(channel_title_category_element)
192
+
188
193
  pubDate = ET.Element('pubDate')
189
194
  pubDate.text = self.pub_date()
190
195
  item.append(pubDate)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: talklib
3
- Version: 2.0.5
3
+ Version: 2.0.6
4
4
  Summary: A package to automate processing of shows/segments airing on the TL
5
5
  Author-email: Ben Weddle <ben.weddle@gmail.com>
6
6
  Maintainer-email: Ben Weddle <ben.weddle@gmail.com>
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes