{{-- ===================== SUCCESS / ERROR ===================== --}}
@if($successMessage)
{{-- ===================== CSV CARD ===================== --}}
@error('csv_file')
{{ $message }}
@enderror
Max size: 10MB. Accepted: .csv, .txt
{{-- CSV Column Reference Table --}}
{{ $successMessage }}
@endif
@if($errorsList)
Some rows skipped:
@endif
{{-- ===================== JSON CARD ===================== --}}
-
@foreach($errorsList as $e)
- {{ $e }} @endforeach
Import via JSON
Paste a JSON array [{...}, {...}] or a single object {...}.
Each object represents one news article.
Import via CSV
Upload a .csv file. First row must be the header row with the column names below.
Download sample CSV to get started:
sample_crypto_news.csv
| # | Column Name | Required | Example |
|---|---|---|---|
| 1 | title | Yes | Bitcoin Hits $100k |
| 2 | alias | Yes | bitcoin-hits-100k |
| 3 | is_gabbar | Yes | 1 = News, 2 = Press Release, 3 = Sponsored, 4 = Guest, 5 = Price Prediction, 6 = Blog |
| 4 | author_id | Yes | 5 |
| 5 | project_name | Optional | Bitcoin |
| 6 | project_website | Optional | https://bitcoin.org |
| 7 | channel_id | Optional | 1 (default) |
| 8 | tags | Optional | bitcoin,crypto,defi |
| 9 | is_rss_feed | Optional | 0 = No, 1 = Yes, 2 = Review |
| 10 | h2_title | Yes | Sub Heading Here |
| 11 | img_alt_title | Yes | Bitcoin chart image alt |
| 12 | description | Yes | <h2>Heading</h2><p>Content...</p> |
| 13 | focus_keyword | Yes | bitcoin price |
| 14 | seo_title | Yes | Bitcoin Price Analysis 2026 |
| 15 | meta_keywords | Yes | bitcoin,crypto,blockchain |
| 16 | meta_description | Yes | 130–155 char description |
| 17 | faqs | Optional | JSON string: [{"question":"Q?","answer":"A."}] |
| 18 | publishedat | Yes | 2026-03-31 10:00:00 |
| 19 | category | Optional | crypto,defi |