<%= article.source || 'Source inconnue' %> <% if (article.language || article.source_language) { %><%= (article.language || article.source_language) === 'fr' ? 'FR' : (article.language || article.source_language).toUpperCase() %><% } %>
<%= article.published_at ? new Date(article.published_at).toLocaleDateString('fr-FR', { year: 'numeric', month: 'long', day: 'numeric' }) : '' %>
<%= article.title %>
<% if (article.summary) { %><%= article.summary %>
<% } %> <% if (article.categories) { %>
<% try {
const cats = JSON.parse(article.categories);
if (Array.isArray(cats)) {
cats.forEach(cat => { %>
<%= cat %>
<% });
}
} catch(e) {} %>
<% } %>
Lire l'article original ↗