@extends('layouts.admin') @section('title', 'News Importer') @section('content')
Import licensed news from NewsAPI.org into your database.
{{ session('success') }}
@if (session('import_output')){{ session('import_output') }}
@endif
Get a free API key at newsapi.org/register and add it to your .env as NEWSAPI_KEY.
| Title | Source | Published | Image | |
|---|---|---|---|---|
| {{ Str::limit($article->title, 60) }} | {{ $article->source_name }} | {{ $article->published_at?->format('Y-m-d') }} | @if ($article->featured_image) ✓ @else — @endif | source ↗ |
| No imports yet. | ||||