=== UR Content AI ===
Contributors: vutruseo
Tags: ai, seo, content-generation, google-docs, automation
Requires at least: 5.0
Tested up to: 6.8
Requires PHP: 7.2
Stable tag: 1.0.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Plugin URI: https://uprank.vn/
Author URI: https://uprank.vn/about-us

Generate SEO-optimized content with Gemini AI. Save time, publish faster, and upload directly to Google Docs & Drive.

== Description ==

Automatically generate SEO-optimized content with Gemini AI technology. Write articles automatically, optimize for SEO, and publish posts, saving time and effort.

### Features:
- Generate SEO-optimized articles with Gemini AI.
- Upload generated content directly to Google Docs.
- Save documents on Google Drive for easy access and sharing.
- Built-in templates to customize your writing prompts.
- Integrate Google Drive with your WordPress site for better content management.

== Third-Party Services ==

This plugin relies on the following external services:

= Google APIs (Google Docs & Google Drive) =
- **Purpose:** Used to create, edit, and store generated articles directly in Google Docs/Drive.
- **Data Sent:** Document title, document content, and authentication tokens are transmitted securely to Google’s APIs only when you connect your account and choose to upload content.
- **Terms & Privacy:** [Google Terms of Service](https://policies.google.com/terms), [Google Privacy Policy](https://policies.google.com/privacy)

= Google Gemini AI API =
- **Purpose:** Used to generate SEO-optimized content from a keyword and prompt template.
- **Data Sent:** Keywords, prompt text, and optional configuration (language, word count) are sent to the Gemini API endpoint for content generation.
- **Terms & Privacy:** [Google AI Privacy & Terms](https://ai.google.dev/terms), [Google Privacy Policy](https://policies.google.com/privacy)

= UpRank License Server (uprank.vn) =
- **Purpose:** Used to validate plugin licenses and track usage limits (e.g., post counts for free vs. pro users).
- **Data Sent:** Your registered email address, your site’s domain, and post count information are securely transmitted during license validation.
- **Terms & Privacy:** [UpRank Terms of Service](https://uprank.vn/terms), [UpRank Privacy Policy](https://uprank.vn/privacy)

== Installation ==

1. Upload the plugin files to the `/wp-content/plugins/ur-content-ai/` directory, or install the plugin through the WordPress plugin repository.
2. Activate the plugin through the 'Plugins' menu in WordPress.
3. Navigate to the plugin settings to connect your Google account and configure your prompts.

== Frequently Asked Questions ==

= How do I connect my Google Account? =
Go to **Settings > UR Content AI** and follow the OAuth process. Ensure you've entered your Google API credentials (Client ID and Client Secret).

= How do I generate content? =
Go to **UR Content AI > Generate Post**. Enter your keyword, select a prompt template, and click **Generate Article**. The article will be created and displayed.

= How do I upload content to Google Docs? =
Once you've generated your article, go to the **Upload to Google Drive** tab, enter the document title, and click **Upload to Google Drive**. The content will be uploaded to your Google Docs.

= Can I edit existing content? =
Yes, you can edit existing content by selecting it from the **Edit Existing Content** tab, making necessary updates, and saving the changes.

== Changelog ==

= 1.0.1 =
* Added third-party service disclosures for compliance with WordPress.org guidelines.
* Minor fixes and improvements.

= 1.0.0 =
* Initial release of UR Content AI Plugin.

== Upgrade Notice ==

= 1.0.1 =
This update ensures compliance with WordPress.org’s third-party service disclosure requirements.

= 1.0.0 =
This is the initial version of the plugin. No upgrade is required yet.

== Screenshots ==

1. **Dashboard UI:** The main page where you can generate and upload content.
2. **Settings Page:** Connect your Google account and set up templates.
3. **Google Docs Integration:** Upload generated content directly to Google Docs.
4. **Content Generation Form:** Enter keywords and select templates for AI-generated content.

== Credits ==

This plugin utilizes **Google Gemini AI** for content generation and **Google Docs/Drive APIs** for document management.
