Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/developertugrul/wp-gemini-news/archive/refs/heads/main.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
Find today’s news (via Google News RSS) and use Gemini to filter/rank and generate SEO-ready posts. Images are processed (<=600px, WebP).
Features
- Gemini API key + model selection (1.5 Flash/Pro)
- Global instructions for finding news and generating content
- AI options: temperature, topK, topP, max tokens
- Find News (query + extra instructions) → list with Title, Description, Date, Source, Action
- “Haber olacak” Save button → Saved candidates (Queued/Converted)
- Convert → Creates WP post with SEO title/description and content
- Featured image: download, rename SEO-friendly, resize to width 600, WebP
- Admin menu: Gemini News (Settings, Find News, Saved)
Requirements
- WordPress 5.8+, PHP 7.4+
- HTTPS recommended
- Gemini API key from Google AI Studio
Install
- Copy
wp-gemini-newsintowp-content/plugins/ - (Optional) Composer in plugin dir: composer install
- Activate plugin and set API key and options under Settings.
Usage
- Gemini News → Find News: Enter query (optional) and click Find
- Save items with “Haber olacak” to queue conversion
- Gemini News → Saved: Convert items; posts are published with SEO meta
Notes
- News data is sourced from Google News RSS; Gemini filters/ranks per your instructions.
- Image processing requires GD/Imagick; falls back when not available.
- For best results, provide clear global instructions for tone, style, and target audience.