Summary
%for language in articles_sorted_by_languages.keys():
- ${language}: ${sum(map(len, articles_sorted_by_languages[language].values()))} articles
%endfor
%for language in articles_sorted_by_languages.keys():
${language}
%for feed_id in articles_sorted_by_languages[language]:
<%
feed = mongo.get_feed(feed_id)
%>
${feed["feed_title"]}
%for article in articles_sorted_by_languages[language][feed_id][:10]:
${article["article_date"].strftime('%Y-%m-%d %H:%M')} -
${article["article_title"]}
%endfor
%endfor
%endfor