Esempio n. 1
0
def feed_entry_title(context, key, path):
    entry = utils.feeditem(key, path)
    if entry is not None:
        return entry.title
    return ""
Esempio n. 2
0
def feed_entry_title(context, key, path):
    entry = utils.feeditem(key, path)
    if entry is not None:
        return entry.title
    return ""
Esempio n. 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})
Esempio n. 4
0
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}))