Don't bother showing 'Download Image' enclosure links. Just embed them.

This commit is contained in:
Samuel Clay 2012-01-15 19:17:17 -08:00
parent 89002d9bc6
commit b2977b73c5

View file

@ -91,6 +91,7 @@ def pre_process_story(entry):
}
elif 'image' in media_type and media_url:
entry['story_content'] += """<br><br><img src="%s" />""" % media_url
continue
elif media_content.get('rel') == 'alternative' or 'text' in media_content.get('type'):
continue
elif media_type_name in ['application']: