def urls(self): portal_url = getToolByName(self.settings, 'portal_url')() urls = make_urls(self.settings.feeds) return [ "%s/++chimpfeeds++/%s" % (portal_url, url) for url in urls ]
def urls(self): portal_url = getToolByName(self.settings, 'portal_url')() vocabulary = feeds_factory(self.settings) # Use term's titles as the basis for the feed URLs. urls = make_urls(vocabulary) return tuple(("%s/++chimpfeeds++/%s" % (portal_url, url), title) for url, value, title in urls)
def urls(self): portal_url = getToolByName(self.settings, 'portal_url')() vocabulary = feeds_factory(self.settings) # Use term's titles as the basis for the feed URLs. urls = make_urls(vocabulary) return tuple( ("%s/++chimpfeeds++/%s" % (portal_url, url), title) for url, value, title in urls )