
內容簡介
**外掛總結:**
"GetMD" 是一款 WordPress 外掛,允許您將文章、頁面和自訂文章類型匯出至 Markdown 格式。非常適合用於遷移內容、建立備份或者與靜態網站產生器一起使用。
**問題與答案:**
1. 這個外掛的主要功能是什麼?
- 回答:允許使用者將文章、頁面和媒體匯出為 Markdown 格式,同時提供進階的內容篩選功能,靈活的匯出選項,並能保留格式、將 WordPress 內容轉換為乾淨易讀的 Markdown。
2. 這個外掛應用的案例有哪些?
- 回答:能用於遷移至靜態網站產生器(如 Hugo、Jekyll、Gatsby)、建立可攜的內容備份、準備內容供外部編輯、以及將文章存檔為通用格式。
3. 關於隱私和安全性,這個外掛有哪些安全措施?
- 回答:
- 下載保護(4層安全):包括 Nonce 驗證、權限檢查、擁有權驗證、路徑驗證等。
- 其他安全措施:包括使用者輸入清理、輸出逃逸、資料庫查詢準備語句使用、REST API 端點的身分驗證和正確權限設定等。
4. 如何從源代碼構建這個外掛?
- 回答:
- 先決條件包括 Node.js 20.10.0 或更高版本,npm 10.0.0 或更高版本。
- 構建步驟包括進入外掛目錄、安裝構建相依性、構建生產資產等。
5. 這個外掛的源代碼位置在哪裡?
- 回答:React/TypeScript 源文件位於 src/ 目錄,構建配置在 vite.config.ts、tsconfig.json、package.json 中,前端堆棧則為 React 18.2+、TypeScript 5.2+、Vite 5.0+、Tailwind CSS 3.4+。
最終感謝 Summix (https://summix.io)團隊的開發。
外掛標籤
開發者團隊
原文外掛簡介
Make your WordPress site AI-ready in one click.
GetMD transforms your WordPress content into clean, structured Markdown that AI systems love. Whether you’re feeding content to ChatGPT, Claude, or building RAG pipelines, GetMD ensures your content is optimized for machine consumption.
AI Discovery & Consumption
Public Markdown View — Add ?view=md to any post URL for instant Markdown access
AI-Friendly Headers — Automatic X-AI-Friendly: true headers for AI crawler identification
Automatic Discovery — tags help AI systems find your content
YAML Frontmatter — Structured metadata including title, date, author, and categories
Export & Migration
Export posts, pages, and custom post types to Markdown format
Media bundling — Download and bundle images (featured, inline, galleries, attachments)
Image optimization — Optional resize and compression
Relative paths — Automatic path conversion for portable exports
Organized archives — ZIP exports with media/ folders and manifests
Advanced content filtering by post type, date, and status
Export history tracking and management
Preserve formatting (bold, italic, lists, code blocks, tables)
Convert WordPress content to clean CommonMark
Database health monitoring
Batch processing with Action Scheduler
Simple and intuitive React-based interface
Fast and scalable (100 posts < 60s)
Use Cases:
AI & LLM Integration — Feed your content to ChatGPT, Claude, Gemini, or custom LLMs
RAG Pipelines — Structured Markdown perfect for retrieval-augmented generation
Knowledge Bases — Build searchable AI-powered knowledge systems
Content Indexing — Let AI crawlers easily discover and index your content
Migrating to static site generators (Hugo, Jekyll, Gatsby)
Creating portable backups of your content
Preparing content for external editing
Archiving posts in a universal format
Privacy & Security
Security Highlights:
4-layer download protection (nonces, capabilities, ownership, path validation)
All inputs sanitized, outputs escaped, queries prepared
REST API endpoints require authentication
No external data transmission – exports stay on your server
Privacy: This plugin does not collect, store, or transmit personal data externally. Full GDPR compliance.
For detailed security documentation, see SECURITY.md or visit our GitHub repository.
Building from Source
Source code is included in src/ for WordPress.org compliance. Build instructions and prerequisites are available at: https://github.com/Summix-io/GetMD
Credits
Developed by Summix (https://summix.io)
