Beispiel #1
0
def feed_entry_title(context, key, path):
    entry = utils.feeditem(key, path)
    if entry is not None:
        return entry.title
    return ""
def feed_entry_title(context, key, path):
    entry = utils.feeditem(key, path)
    if entry is not None:
        return entry.title
    return ""
Beispiel #3
0
def feed_entry(context, key, path):
    entry = utils.feeditem(key, path)
    t = template.loader.get_template('externalfeed/entry_snippet.html')
    return t.render({'entry': entry})
def feed_entry(context, key, path):
    entry = utils.feeditem(key, path)
    t = template.loader.get_template('externalfeed/entry_snippet.html')
    return t.render(template.Context({'entry': entry}))