=== AI Auto Content Publisher Lite === Contributors: miaomiao1 Tags: ai, content generation, auto post, content automation, artificial intelligence Requires at least: 5.0 Tested up to: 6.8 Requires PHP: 7.4 Stable tag: 1.1.1 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Use the power of AI to automatically create content for your website! This lite plugin allows you to configure one task to generate articles with images and product links, triggered daily or manually. == Description == Still writing product promotion articles by hand? Let AI help! **AI Auto Content Publisher Lite** is a free WordPress plugin designed to streamline your content creation process. This plugin uses the Tongyi Qwen (qwen-max) model via the Alibaba Cloud DashScope API to generate high-quality text content. This lite version focuses on core functionality: * **AI Integration:** Utilizes a powerful AI model to generate high-quality text content. * **Single Configuration:** Set up one content generation task, including your product links, custom prompt, keywords, image URL, and image link. * **Dynamic Keywords:** Provide a list of keywords (one per line). The plugin will randomly select one for each generation, replacing the `[dynamic_keyword]` placeholder in your prompt for diverse content. * **Auto-Post/Schedule:** Choose to set the generated post status to "Published," "Draft," or "Pending Review." * **Scheduled Updates:** Set to "Daily" to run automatically once a day (requires website visits to trigger WP-Cron), or "Never" for manual-only triggering. * **Manual Trigger (Once-a-day):** A "Run Once Now" button allows you to test your configuration or generate content on demand (limited to one use per day). * **Image Handling:** Optionally add an image URL and choose to set it as a featured image or insert it at the end of the content (with a clickable link). * **Easy to Use:** A clear settings interface with status display and an activity log. * **Multi-language Support:** Choose to generate content in Chinese (zh-CN) or English (en-US). **Upgrade to Pro?** Need more features? Visit our website [http://aicontentwp.cn/ai-auto-content-publisher-lite/] to learn about the Pro version. == Installation == 1. Upload the `ai-auto-content-publisher-lite` folder to the `/wp-content/plugins/` directory. 2. Activate the plugin through the 'Plugins' menu in WordPress. 3. Go to the "Settings" > "AI Content Lite" page. 4. Enter your Tongyi Qwen API key (obtainable from Alibaba Cloud DashScope). 5. Configure your product link, prompt, keywords, optional image, and publishing rules. 6. Click "Save All Settings." == External Services == This plugin connects to the Alibaba Cloud DashScope API to generate content. This is a core feature of the plugin and is required for it to function. * **Service Used:** Alibaba Cloud DashScope (which provides the Tongyi Qwen AI Model) * **What data is sent:** To generate an article, the plugin sends the following data to the API endpoint `https://dashscope.aliyuncs.com/api/v1/services/aigc/text-generation/generation`: your API Key for authentication, the user-configured prompt, product link, a randomly selected keyword, and the chosen language. * **When data is sent:** Data is sent only when a content generation task is triggered, either automatically via the daily schedule (WP-Cron) or manually by clicking the "Run Once Now (Test)" button. * **Service Terms and Privacy:** You can find the service's terms and privacy policy at the following links: * Alibaba Cloud DashScope Service Agreement: https://help.aliyun.com/document_detail/2541335.html * Alibaba Cloud Legal & Compliance: https://www.alibabacloud.com/en/trust-center/legal-compliance * Alibaba Cloud Privacy Policy: https://www.alibabacloud.com/en/trust-center/privacy-policy == Frequently Asked Questions == = Do I need an API key? = Yes, you need a Tongyi Qwen (DashScope) API key to generate content with this plugin. You can register and obtain one from the official Alibaba Cloud website. = Why is the manual trigger button sometimes grayed out? = The manual trigger button is designed to be used only once per day to prevent abuse. It will reset on the following day if you have already used it. = How does automatic posting work? = If you set "Update Frequency" to "Daily" and click "Enable Daily Auto-Post," the plugin schedules a daily task using WordPress's Cron system. This task **requires a user to visit your website** to be triggered. It does not guarantee execution at the exact same time every day; it depends on your site's traffic. = Where can I see the plugin's activity log? = On the plugin's settings page ("Settings" > "AI Content Lite"), under the "Status & Control" area, there is an "Activity Log" box that displays recent operations and status messages. == Screenshots == 1. The plugin's settings page, showing all configuration options. 2. An example of an automatically generated post as it appears on the front-end of the site. == Changelog == = 1.1.1 = * Fix: Corrected the version mismatch between the main plugin file and the readme's Stable Tag to ensure proper updates. = 1.1.0 = * Compliance: Renamed plugin and changed slug to `ai-auto-content-publisher-lite` to avoid any potential trademark conflicts. * Compliance: Updated Text Domain throughout the plugin to match the new slug. * Compliance: Added disclosure for external service usage (Alibaba Cloud DashScope API) in readme.txt as required. * Compliance: Removed code that writes a file to the plugin directory during activation. * Security: Replaced all `wp_redirect()` calls with `wp_safe_redirect()`. * Code Standard: Removed deprecated `load_plugin_textdomain()` function call. = 1.0.0 = * Initial release. == Upgrade Notice == = 1.1.1 = This is a mandatory update for compliance with WordPress.org guidelines. It includes a name change to avoid trademark issues, security enhancements, and proper disclosure of external API usage. All users should update. 使用AI 为您的网站自动创建内容!这个精简版插件允许您配置一个任务,每天或手动触发生成包含图片和产品链接的文章。 == Description == 还在手动编写产品推广文章吗?让 AI 来帮忙!**AI Auto Content Publisher Lite (for Tongyi Qwen)** 是一款免费的 WordPress 插件,旨在简化您的内容创建流程。 此精简版专注于核心功能: * **集成通义千问 (Qwen-Max):** 利用通义千问模型生成高质量文本内容。 * **单一配置:** 设置一个内容生成任务,包括您的产品链接、自定义提示、关键词、图片 URL 和图片链接。 * **动态关键词:** 提供一个关键词列表(每行一个),插件会在每次生成时随机选择一个,替换提示中的 `[dynamic_keyword]` 占位符,轻松创建多样化内容。 * **自动发布/计划:** 可选择将生成的文章状态设置为“已发布”、“草稿”或“待审”。 * **定时更新:** 设置为“每日”自动运行一次(需要网站访问触发 WP Cron),或选择“从不”仅通过手动按钮触发。 * **手动触发 (每日一次):** 提供一个“立即运行一次”按钮,方便您测试配置或在需要时立即生成内容(限制每天使用一次)。 * **图片处理:** 可选添加图片 URL,并选择将其设置为特色图片或插入到内容末尾(内容末尾时可添加图片链接)。 * **简单易用:** 清晰的设置界面,包含状态显示和活动日志。 * **多语言支持:** 可以在设置中选择生成中文 (zh-CN) 或英文 (en-US) 内容。 **升级到 Pro 版?** 需要更多功能?访问我们的网站 [http://aicontentwp.cn/ai-auto-content-publisher-lite/] 了解 Pro 版本,解锁包括: * 支持更多 AI 模型 (如 GPT 系列等) * 管理**多个**内容生成配置 * 更灵活的更新频率选项 (每小时、每天多次等) * 内容相似度检测,避免重复 * 以及更多高级功能! 立即开始使用 AI Auto Content Publisher Lite,体验自动化内容生成的便捷! == Installation == 1. 将 `ai-auto-content-publisher-lite-tongyi-edition` 文件夹上传到 `/wp-content/plugins/` 目录。 2. 通过 WordPress 的“插件”菜单激活插件。 3. 进入“设置” > “AI Content Lite”页面。 4. 输入您的通义千问 API 密钥 (在阿里云 DashScope 获取)。 5. 配置产品链接、提示、关键词、图片(可选)和发布规则。 6. 点击“保存所有设置”。 7. (可选) 点击“启用每日自动发布”来激活自动任务(需要频率设置为“每日”)。 8. (可选) 点击“立即运行一次 (测试)”来手动生成一篇内容(每天限一次)。 == External Services == This plugin connects to the Alibaba Cloud DashScope API to generate content. This is a core feature of the plugin and is required for it to function. * **Service Used:** Alibaba Cloud DashScope (Tongyi Qwen AI Model) * **What data is sent:** To generate an article, the plugin sends the following data to the API endpoint `https://dashscope.aliyuncs.com/api/v1/services/aigc/text-generation/generation`: your API Key for authentication, the user-configured prompt, product link, a randomly selected keyword, and the chosen language. * **When data is sent:** Data is sent only when a content generation task is triggered, either automatically via the daily schedule (WP-Cron) or manually by clicking the "Run Once Now (Test)" button. * **Service Terms and Privacy:** You can find the service's terms and privacy policy at the following links: * Alibaba Cloud DashScope Service Agreement: https://help.aliyun.com/document_detail/2541335.html * Alibaba Cloud Legal & Compliance: https://www.alibabacloud.com/en/trust-center/legal-compliance * Alibaba Cloud Privacy Policy: https://www.alibabacloud.com/en/trust-center/privacy-policy == Frequently Asked Questions == = 我需要 API 密钥吗? = 是的,您需要一个通义千问 (DashScope) 的 API 密钥才能使用此插件生成内容。您可以在阿里云官方网站注册并获取。 = 手动触发按钮为什么有时是灰色的? = 手动触发按钮设计为每天只能使用一次,以防止滥用。如果您今天已经点击过一次,它将在第二天重置。 = 自动发布是如何工作的? = 如果您将“更新频率”设置为“每日”并点击了“启用每日自动发布”,插件会使用 WordPress 的 Cron 系统安排一个每日任务。这个任务**需要有用户访问您的网站**才能被触发执行。它不保证在每天的精确同一时间运行,取决于您网站的访问情况。 = 我在哪里可以看到插件的运行日志? = 在插件的设置页面(设置 > AI Content Lite)的“状态与控制”区域下方,有一个“活动日志”框,会显示最近的操作和状态信息。