Title: Published Posts Exporter
Author: purohitdheeraj
Published: <strong>2025 年 12 月 5 日</strong>
Last modified: 2025 年 12 月 8 日

---

搜索插件

![](https://s.w.org/plugins/geopattern-icon/published-posts-exporter.svg)

# Published Posts Exporter

 作者：[purohitdheeraj](https://profiles.wordpress.org/purohitdheeraj/)

[下载](https://downloads.wordpress.org/plugin/published-posts-exporter.1.2.0.zip)

 * [详情](https://cn.wordpress.org/plugins/published-posts-exporter/#description)
 * [评价](https://cn.wordpress.org/plugins/published-posts-exporter/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/published-posts-exporter/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/published-posts-exporter/#developers)

 [支持](https://wordpress.org/support/plugin/published-posts-exporter/)

## 描述

Published Posts Exporter is a simple and powerful WordPress plugin that allows you
to export all your published blog posts to CSV format. Perfect for marketing teams,
data analysis, and bulk operations.

**Key Features:**

 * Export directly from your WordPress database
 * Process WordPress XML export files (WXR format)
 * Generate CSV file with URL, title, content, tags, and categories
 * Generate TXT file with URLs only (bonus feature)
 * Accessible from multiple locations: Tools menu, Settings page, and Dashboard 
   widget
 * Secure file downloads with proper validation
 * Clean, user-friendly interface

**Use Cases:**

 * Marketing teams need post URLs and metadata for campaigns
 * Content audits and inventory management
 * Data migration and backup preparation
 * SEO analysis and link building
 * Content strategy planning

The plugin exports only published posts, excluding drafts, scheduled, and private
posts. All exported data is properly formatted and ready for use in spreadsheets,
databases, or other tools.

## 屏幕截图

 * [[
 * Main export page with database and XML export options – choose between exporting
   directly from your WordPress database or uploading an XML file
 * [[
 * Dashboard widget for quick access – export your posts directly from the WordPress
   dashboard
 * [[
 * Export results with download links – after export, download your CSV and TXT 
   files with one click

## 安装

 1. Upload the `published-posts-exporter` folder to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Navigate to **Tools  Posts Exporter** to start exporting

## 常见问题

### Can I export posts from an XML file?

Yes! The plugin supports both direct database export and XML file processing. Simply
upload your WordPress XML export file (.xml or .wxr format) in the XML tab, and 
the plugin will extract all published posts.

### What file formats are generated?

The plugin generates two files:
 * **CSV file**: Contains URL, title, content (full
post content with HTML), tags (semicolon-separated), and categories (semicolon-separated)–
perfect for spreadsheets and content analysis * **TXT file**: Contains URLs only,
one per line – useful for bulk operations

### Where are the exported files saved?

Files are temporarily saved in your WordPress uploads directory and can be downloaded
directly through your browser. Files are automatically cleaned up after download.

### Do I need special permissions?

Yes, you need administrator privileges (manage_options capability) to use this plugin.
This ensures only authorized users can export your content.

### Can I export specific posts or filter by date?

Currently, the plugin exports all published posts. Future versions may include filtering
options for date ranges, categories, or tags.

### What happens to draft or scheduled posts?

Only published posts are exported. Drafts, scheduled posts, and private posts are
excluded from the export.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Published Posts Exporter」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ purohitdheeraj ](https://profiles.wordpress.org/purohitdheeraj/)

[帮助将「Published Posts Exporter」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/published-posts-exporter)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/published-posts-exporter/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/published-posts-exporter/)，或通过
[RSS](https://plugins.trac.wordpress.org/log/published-posts-exporter/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/published-posts-exporter/)。

## 更新日志

#### 1.2.0

 * Added post content export to CSV file
 * Content column now includes full post content with HTML formatting
 * Updated CSV format: url, title, content, tags, categories
 * Enhanced XML parsing to extract content from WordPress export files
 * Improved documentation and user interface descriptions

#### 1.1.0

 * Fixed WordPress coding standards compliance
 * Improved security with proper input validation and output escaping
 * Fixed naming conventions (proper prefixes for constants, functions, classes)
 * Enhanced file upload validation for XML/WXR files
 * Added translators comments for better internationalization
 * Replaced unlink() with wp_delete_file() for better WordPress compatibility
 * Reduced README tags to meet WordPress.org requirements

#### 1.0.0

 * Initial release
 * Database export functionality
 * XML file processing (.xml and .wxr formats)
 * TXT and CSV file generation
 * Admin menu, settings page, and dashboard widget
 * Secure file downloads with nonce verification

## 额外信息

 *  版本 **1.2.0**
 *  最后更新：**6 月前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 5.0 或更高版本 **
 *  已测试的最高版本为 **6.8.5**
 *  PHP 版本 ** 7.0 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/published-posts-exporter/)
 * 标签
 * [blog](https://cn.wordpress.org/plugins/tags/blog/)[csv](https://cn.wordpress.org/plugins/tags/csv/)
   [export](https://cn.wordpress.org/plugins/tags/export/)[posts](https://cn.wordpress.org/plugins/tags/posts/)
   [xml](https://cn.wordpress.org/plugins/tags/xml/)
 *  [高级视图](https://cn.wordpress.org/plugins/published-posts-exporter/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/published-posts-exporter/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/published-posts-exporter/reviews/)

## 贡献者

 *   [ purohitdheeraj ](https://profiles.wordpress.org/purohitdheeraj/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/published-posts-exporter/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://github.com/purohitdheeraj)