=== Trendly AI Post - Trending Topics from Google News ===
Contributors: nitishsharma6
Tags: ai, automation, google news, gemini, pexels
Requires at least: 5.0
Tested up to: 6.9
Requires PHP: 7.4
Stable tag: 1.0.1
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

AI-powered WordPress plugin that generates SEO-optimized blog posts from trending Google News topics.

== Description ==

Trendly AI Post is a revolutionary WordPress plugin that transforms how you create content for your website. By leveraging the power of Google Gemini AI and real-time trending news data, this plugin automatically generates engaging, SEO-friendly articles that keep your audience informed and engaged.

**Key Benefits:**
* Save countless hours on content creation
* Never run out of fresh, relevant content ideas
* Boost your website's SEO with automatically optimized posts
* Stay ahead of trends in your niche
* Automatically source high-quality images from Pexels
* Eliminate writer's block forever

Whether you're a blogger, marketer, or business owner, Trendly AI Post helps you maintain a consistent content schedule without the stress of constant brainstorming and writing.

== External Services ==

This plugin connects to the following external services:

1. Google News RSS – to fetch trending news data
   Data sent: region parameter for news feed
   Terms: https://news.google.com/

2. Gemini API (by Google AI) – to generate AI-based post content
   Data sent: text prompts
   Terms: https://ai.google.dev/terms

3. Pexels API – to fetch and download stock images
   Data sent: search keywords
   Terms: https://www.pexels.com/api/terms/

= Features =
* **Trending Topic Discovery** - Automatically fetch trending topics from Google News across 25+ regions (India default)
* **AI-Powered Content Generation** - Create engaging articles using Google Gemini AI with multiple model options
* **Automatic Image Sourcing** - Fetch and insert high-quality, relevant images from Pexels with automatic featured image selection
* **Smart Scheduling** - Set it and forget it with automatic posting (1-2 posts per day)
* **Duplicate Prevention** - Built-in system prevents creation of duplicate content
* **SEO Preview** - Optimize your posts before publishing with the integrated SEO preview meta box
* **Easy Configuration** - Simple admin interface with quick actions and settings
* **Multi-Region Support** - Generate content based on trending topics from different countries

== Installation ==

1. Upload the plugin files to the `/wp-content/plugins/trendly-ai-post` directory, or install the plugin through the WordPress plugins screen directly.
2. Activate the plugin through the 'Plugins' screen in WordPress
3. Use the Trendly AI Post menu to configure the plugin
4. Add your Google Gemini API key and Pexels API key in the settings
5. Configure your preferred region, post length, category, and author
6. Enable auto-scheduling or manually generate posts as needed

== Frequently Asked Questions ==

= Do I need API keys to use this plugin? =

Yes, you need both a Google Gemini API key and a Pexels API key for full functionality. These are free to obtain:
* Google Gemini API: https://ai.google.dev/
* Pexels API: https://www.pexels.com/api/

= How many posts can I generate per day? =

You can configure the plugin to automatically generate 1-2 posts per day at your preferred times.

= Can I choose which topics to write about? =

Yes! You can manually select from trending topics or enter your own custom topics for the AI to write about.

= Does it work with any WordPress theme? =

Yes, Trendly AI Post works with any standard WordPress theme.

= Is the content SEO-optimized? =

Yes, the plugin generates SEO-friendly content and includes an SEO preview meta box to help you optimize further.

== Screenshots ==

1. Plugin settings page with API configuration
2. Content generation interface
3. Generated post example with images
4. SEO preview meta box

== Changelog ==

= 1.0.1 =
* Updated compatibility with WordPress 6.9
* Minor bug fixes and performance improvements

= 1.0.0 =
* Initial release
* Google News trending topic integration
* Google Gemini AI content generation
* Pexels image integration
* Automatic scheduling (1-2 posts/day)
* Duplicate prevention system
* SEO preview meta box
* Multi-region support (25+ countries)

== Upgrade Notice ==

= 1.0.1 =
Updated compatibility with WordPress 6.9 and minor bug fixes.

= 1.0.0 =
Initial release of Trendly AI Post - Generate SEO-optimized content from trending topics automatically!