def METHOD_NAME(event):
    for talk in event.talks:
        yield talk.urls.public
        yield talk.urls.ical
        for resource in talk.active_resources:
            if resource.resource and resource.resource.url:
                yield resource.resource.url