Mode: {{ $mode }} · last {{ $days }} days · {{ $articles->count() }} articles · generated {{ now()->format('d M Y H:i') }}
@if($articles->isEmpty())No coverage found for this topic in the period.
@else @php $t = $articles->countBy('tone'); @endphp{{ $articles->count() }} articles from {{ $articles->pluck('outlet_id')->unique()->count() }} outlets cover this topic. Tone: {{ $t['negative'] ?? 0 }} negative, {{ $t['neutral'] ?? 0 }} neutral, {{ $t['positive'] ?? 0 }} positive. Most covered in: {{ $articles->groupBy(fn($a) => $a->category?->name ?? 'Other')->map->count()->sortDesc()->keys()->first() }}.
{{ $i + 1 }}. {{ $a->title }} [{{ $a->tone }}]
{{ $a->excerpt(400) }}
{{ $a->outlet?->name }}, {{ $a->published_at?->format('d M Y') }}
| Date | Headline | Outlet |
|---|---|---|
| {{ $a->published_at?->format('d M Y') }} | {{ $a->title }} | {{ $a->outlet?->name }} |
| Outlet | Articles | Negative | Positive |
|---|---|---|---|
| {{ $o }} | {{ $l->count() }} | {{ $l->where('tone','negative')->count() }} | {{ $l->where('tone','positive')->count() }} |
{{ $articles->flatMap->companies->pluck('name')->countBy()->sortDesc()->map(fn($n, $c) => "$c ($n)")->implode(', ') ?: 'None detected.' }}
{{ $a->outlet?->name }} — {{ $a->title }} — {{ $a->url ?: 'print' }}
@endforeach @endif