+ title = programme.find('title').text
+ subtitle = programme.find('sub-title').text
+ premiere = False
+ if title != 'Stay tuned...' and title != 'On DUKE today...':
+ if title[0:9] == 'PREMIERE ':
+ premiere = True
+ title = title[9:]
+ if title[0:10] == 'PREMIERE: ':
+ premiere = True
+ title = title[10:]
+ if title[-3:] == '...':
+ if subtitle[0:3] == '...':
+ subtitle = subtitle[3:]
+ location = subtitle.find('. ')
+ if location != -1:
+ title_second_part = subtitle[0:location]
+ subtitle = subtitle[location+2:]
+ title = title[0:-3] + ' ' + title_second_part
+ programme.find('title').text = title
+ programme.find('desc').text = ('PREMIERE: ' if premiere else '') + subtitle + ' ' + programme.find('desc').text