
=== 导入微信文章 (Import Articles from WeChat) ===
Contributors: xiaozhai001
Donate link: https://anjir.top/
Tags: 微信公众号文章, 采集, 导入, 微信公众号, wechat
Requires at least: 5.0
Tested up to: 6.8
Stable tag: 1.5.0
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
A simple yet powerful tool to import articles from WeChat Official Accounts into your WordPress site, including all content and images.
== Description ==
Have you ever wanted to back up or share a great article from WeChat to your own WordPress site? “Import Articles from WeChat” makes it incredibly easy.
Just paste the article’s URL, and this plugin will automatically fetch:
- Title and Publish Date
- Full Content
- Featured Image (set automatically)
- All inline images (downloaded to your media library)
This plugin simulates a real browser’s behavior, including handling cookies, to reliably fetch images that are usually protected by anti-hotlinking measures. All content will be safely saved as a draft post, ready for you to edit and publish.
[中文描述]
您是否曾想过将一篇精彩的微信文章备份或分享到自己的 WordPress 网站上?“导入微信文章”插件让这一切变得无比简单。
您只需粘贴文章的链接,点击导入,插件便会自动抓取:
- 文章标题和原始发布时间
- 完整的正文内容
- 封面图 (自动设为特色图片)
- 文章内的所有图片 (自动下载到您的媒体库)
本插件通过模拟真实浏览器的行为(包含Cookie处理),能够可靠地抓取通常受防盗链保护的图片,确保导入内容的完整性。所有内容都会被安全地存为一篇草稿,方便您后续编辑和发布。
== Installation ==
- Upload the
import-articles-from-wechatfolder to the/wp-content/plugins/directory. - Activate the plugin through the ‘Plugins’ menu in WordPress.
- Find the ‘导入微信文章’ menu in your WordPress admin sidebar and start importing!
[中文安装说明]
- 将
import-articles-from-wechat文件夹上传到您网站的/wp-content/plugins/目录。 - 在 WordPress 后台的“插件”菜单中激活本插件。
- 在后台左侧菜单栏找到“导入微信文章”,开始您的导入之旅吧!
== Frequently Asked Questions ==
= Does this plugin work for all WeChat articles? =
It works for the vast majority of articles from WeChat Official Accounts. However, due to potential changes in WeChat’s page structure or rare protection mechanisms, 100% success cannot be guaranteed.
= Will this plugin slow down my site? =
No. The plugin only consumes server resources when you are on its admin page and click the “Import” button. It has zero impact on your website’s frontend performance.
== Screenshots ==
- The clean and simple import interface.
- A successfully imported draft post, with all images and a featured image correctly embedded.
== Changelog ==
= 1.5.0 =
- FIX: Resolved timezone bug causing an 8-hour discrepancy in post publication time. (解决文章发布时间8小时时区差异的Bug)
- TWEAK: Automatically remove editor-specific attributes (e.g., data-tools) from the HTML for cleaner code. (为净化代码,自动移除135、mdnice等编辑器残留属性)
- TWEAK: Added support for SVG file uploads and metadata handling. (增加对SVG文件上传和元数据处理的支持)
= 1.3.0 =
- Final version for review. Compliant with WordPress standards, including security, i18n, and coding practices.
= 1.0.0 =
- Initial release.
未经允许不得转载:无花果 » 导入微信文章 (Import Articles from WeChat)

无花果
微信扫码,获取更多 