def feed(): podcast = Podcast() podcast.title = "MacBob2 Podcast" podcast.description = "Just some random MP3s on MacBob2" podcast.url = "http://localhost/podcast" podcast.mediaFileDirectoryPath = mediaFileDirectoryPath podcast.mediaFileURLPrefix = "http://localhost/podcast/" return Response(podcast.generate(), mimetype='application/xml')
def feedvideo(): podcast = Podcast() podcast.title = "MacBob2 Video Podcast" podcast.description = "Just some random videos on MacBob2" podcast.url = "http://localhost/podcast" podcast.mediaFileDirectoryPath = mediaFileDirectoryPath podcast.mediaFileURLPrefix = "http://localhost/podcast/" podcast.mediaFilePathRegexes = [".+m4v$", ".+M4V$", ".+mov$", ".+MOV$", ".+mp4$", ".+MP4$"] return Response(podcast.generate(), mimetype='application/xml')
def feedvideo(): podcast = Podcast() podcast.title = "MacBob2 Video Podcast" podcast.description = "Just some random videos on MacBob2" podcast.url = "http://localhost/podcast" podcast.mediaFileDirectoryPath = mediaFileDirectoryPath podcast.mediaFileURLPrefix = "http://localhost/podcast/" podcast.mediaFilePathRegexes = [ ".+m4v$", ".+M4V$", ".+mov$", ".+MOV$", ".+mp4$", ".+MP4$" ] return Response(podcast.generate(), mimetype='application/xml')