{"id":414035,"date":"2024-11-24T08:00:00","date_gmt":"2024-11-24T08:00:00","guid":{"rendered":"https:\/\/www.weixiaoduo.com\/plugins\/simple-publish-rewrite-api\/"},"modified":"2024-12-03T03:42:00","modified_gmt":"2024-12-03T03:42:00","slug":"simple-publish-rewrite-api","status":"publish","type":"post","link":"https:\/\/www.weixiaoduo.com\/plugins\/simple-publish-rewrite-api\/","title":{"rendered":"Simple Post Publish &#038; Rewrite using API"},"content":{"rendered":"<p>Simple Post Publish & Rewrite using API is a WordPress plugin that allows users to publish and rewrite text content into articles automatically. The plugin leverages OpenAI\u2019s GPT model for content generation and rewriting, making it easier to create articles with minimal effort. Additionally, any associated images (thumbnails) are automatically saved to the WordPress media library. Developers can use this API to integrate into their projects and handle auto rewrite & publishing.<\/p>\n<p><iframe loading=\"lazy\" title=\"Master WordPress Content Automation: Simple Post Publish & Rewrite using API Plugin Tutorial\" width=\"750\" height=\"422\" src=\"https:\/\/www.youtube.com\/embed\/dH-viqHbTDA?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/p>\n<h3>Key Features<\/h3>\n<p>\u2013 <strong>Publish & Rewrite Content<\/strong>: Using OpenAI\u2019s GPT model, the plugin can publish new posts and rewrite existing content into well-structured news articles.<br \/>\n\u2013 <strong>API Integration<\/strong>: You can access the plugin\u2019s functionality via a RESTful API, making it easy to integrate with external scripts and applications (like PHP, Python, Curl, etc.) using HTTP POST requests.<br \/>\n\u2013 <strong>Image Handling<\/strong>: The plugin saves any associated image URL as a thumbnail image in the WordPress media library.<br \/>\n\u2013 <strong>Flexible Content Generation<\/strong>: The plugin allows you to customize the content generation, including generating a title, rewriting content, and adding categories and tags.<br \/>\n\u2013 <strong>Automatic Post Creation<\/strong>: Generate content automatically from external sources, scripts, or applications, saving time and streamlining content management.<\/p>\n<h3>Requirements<\/h3>\n<p>\u2013 <strong>JWT Authentication for WP REST API<\/strong>: This plugin requires the <strong>JWT Authentication for WP REST API<\/strong> plugin for secure API authentication using a JWT token.<\/p>\n<h3>Extend this Plugin<\/h3>\n<p>\u2013 <strong>Telegram Bot Integration & Article Rewrite with ChatGPT<\/strong>: Create a Telegram bot that lets you publish articles directly to your website from Telegram. It also has the capability to generate and rewrite both the title and the post content. <a href=\"https:\/\/www.techavenuelabs.com\/ppec-products\/telegram-bot-integration-rewrite-article-using-chatgpt\/\" rel=\"nofollow ugc\">Buy Extension<\/a><\/p>\n<h3>API Endpoint<\/h3>\n<p>\u2013 <strong>API Endpoint URL<\/strong>:<br \/>\n      https:\/\/yoursite.com\/wp-json\/api-publisher\/v1\/generate<\/p>\n<h3>Authentication<\/h3>\n<p>To use the API, authentication is required using a <strong>JWT token<\/strong> (Bearer). Ensure that the JWT Authentication for WP REST API plugin is installed and configured properly.<\/p>\n<h3>Git Repository<\/h3>\n<p>https:\/\/github.com\/techavenuelabs\/Simple-Post-Publish-Rewrite-using-API<\/p>\n<h3>External Services<\/h3>\n<p>This plugin connects to OpenAI\u2019s GPT API to generate and rewrite article content. It sends user-provided text and settings to OpenAI\u2019s servers for processing and retrieves the generated content. The use of this service requires an active OpenAI API key.<\/p>\n<p>Service provider: <a href=\"https:\/\/openai.com\/\" rel=\"nofollow ugc\">OpenAI<\/a><br \/>\nTerms of use: <a href=\"https:\/\/openai.com\/terms\" rel=\"nofollow ugc\">OpenAI Terms of Use<\/a><br \/>\nPrivacy policy: <a href=\"https:\/\/openai.com\/privacy\" rel=\"nofollow ugc\">OpenAI Privacy Policy<\/a><\/p>\n<h3>Donate<\/h3>\n<p>If you find this plugin helpful, consider supporting us: <a href=\"buymeacoffee.com\/techavenuelabs\" rel=\"nofollow ugc\">Donate here<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A WordPress plugin to publish and rewrite text content into articles automatically using OpenAI's GPT model.<\/p>\n","protected":false},"author":65,"featured_media":414036,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"slim_seo":{"title":"Simple Post Publish & Rewrite using API - \u8587\u6653\u6735\u63d2\u4ef6\u76ee\u5f55","description":"A WordPress plugin to publish and rewrite text content into articles automatically using OpenAI's GPT model."},"footnotes":""},"categories":[1],"tags":[461,3855,3852,58636,6741],"class_list":["post-414035","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-api","tag-gpt","tag-openai","tag-post-publish","tag-rewrite"],"_links":{"self":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/414035","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/users\/65"}],"replies":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/comments?post=414035"}],"version-history":[{"count":0,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/414035\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media\/414036"}],"wp:attachment":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media?parent=414035"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/categories?post=414035"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/tags?post=414035"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}