3 function searchPodcast(podcast)
7 emit(podcast.oldid, null);
10 for(var n in podcast.merged_oldids)
12 emit(podcast.merged_oldids[n], null);
16 if(doc.doc_type == "Podcast")
20 else if(doc.doc_type == "PodcastGroup")
22 for(var i in doc.podcasts)
24 searchPodcast(doc.podcasts[i]);