Ejemplo n.º 1
0
def build_entry_content(entry, teaser=False, teaser_size=None):
    content = clean_html(parse_entry_content(entry))
    if teaser:
        content = truncate_html(content, teaser_size)
    return content
Ejemplo n.º 2
0
def build_entry_content(entry, teaser=False, teaser_size=None):
    content = clean_html(parse_entry_content(entry))
    if teaser:
        content = truncate_html(content, teaser_size)
    return content
Ejemplo n.º 3
0
def parse_entry_teaser(entry, size):
    content = truncate_html(parse_entry_content(entry), size)
    return content
Ejemplo n.º 4
0
def parse_entry_teaser(entry, size):
    content = truncate_html(parse_entry_content(entry), size)
    return content