=== WpNewblog ===
Contributors: rameshpoudel, tekinepal
Tags: news, rss, ai, automation, seo, multilingual, content, publish, gemini
Requires at least: 5.8
Tested up to: 6.7
Requires PHP: 7.4
Stable tag: 2.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Fetch RSS feeds, rewrite articles with AI in your language, optimize SEO meta, and publish professional news-style posts on a schedule.

== Description ==

WpNewblog helps publishers turn RSS feeds into ready-to-publish posts.

It fetches items from the feeds you configure, groups similar stories, rewrites them with Google Gemini in your chosen language, optionally sets a featured image, fills common SEO meta fields, and publishes on your schedule.

= Who it is for =

* Local and international news sites
* Niche blogs that curate updates from trusted feeds
* Publishers who want scheduled drafts or posts with less manual rewriting

= Highlights =

* Multi-language rewriting (including Nepali and English)
* Adjustable target word count
* Professional article body formatting (clean paragraphs)
* SEO meta support for Rank Math, Yoast, and All in One SEO
* AI image, default image, or no featured image
* Deduplication to reduce repeat stories
* Scheduled runs plus a manual Run Now button
* Admin logs and recent publish history

= Third-party services =

This plugin can connect to:

* Google Gemini API (article rewriting) – requires your own API key
* Pollinations image service (optional AI images)

You are responsible for complying with each service’s terms and with copyright law for any feeds you use.

= Author =

Made by tekinepal. Author: Ramesh Poudel.
Website: https://www.rameshpoudel.com

== Installation ==

1. Upload the `wpnewblog` folder to the `/wp-content/plugins/` directory, or install the ZIP via Plugins → Add New → Upload Plugin.
2. Activate the plugin through the Plugins screen.
3. Go to **WpNewblog** in the admin menu.
4. Enter your Google Gemini API key from https://aistudio.google.com/
5. Configure language, word count, feeds, image mode, and schedule.
6. Save settings. Optionally click **Run Automation Now** to test.

== Frequently Asked Questions ==

= Do I need a paid AI plan? =

No. A free Google Gemini API key is enough for many sites. Limits depend on Google’s current free tier.

= Will it republish the same story? =

The plugin stores published story fingerprints and tries to skip duplicates. It is not perfect for every edge case.

= Does it copy source articles word for word? =

No. It asks the AI to rewrite. Still, only use feeds and sources you are allowed to use, and follow local copyright rules.

= Does it work with Rank Math? =

Yes. It can set focus keywords, SEO title, meta description, and related social meta when those fields are available.

= Why did my scheduled run not fire? =

WordPress cron depends on site traffic. For reliability, trigger `wp-cron.php` every 10–15 minutes from real server cron.

== Screenshots ==

1. Main settings – API key, language, word count, schedule.
2. Image and SEO options.
3. RSS feeds and external links.
4. Manual run and logs.
5. Example published article layout.
6. Recent publish history.

== Changelog ==

= 2.0.0 =
* Rebuild and rebrand to WpNewblog
* Language selector and word count controls
* Image modes: AI, default image, or none
* Configurable external links
* SEO meta improvements (Rank Math, Yoast, AIOSEO)
* Professional article body formatting
* Tabbed admin UI with stats and logs

= 1.0.0 =
* Initial release

== Upgrade Notice ==

= 2.0.0 =
Major update with new settings keys. Re-enter your API key and review settings after upgrading.