soderlind / read-offline
Export WordPress posts and pages to PDF and EPUB
Fund package maintenance!
paypal.me/PerSoderlind
Installs: 4
Dependents: 0
Suggesters: 0
Security: 0
Stars: 31
Watchers: 6
Forks: 10
Open Issues: 1
Type:project
Requires
- php: >=8.2
- grandt/phpepub: ^4.0
- mpdf/mpdf: ^8.2
- yahnis-elsts/plugin-update-checker: ^5.0
- dev-main
- 2.2.6
- 2.2.5
- 2.2.4
- 0.9.17
- 0.9.16
- 0.9.15
- 0.9.14
- 0.9.13
- 0.9.12
- 0.9.11
- 0.9.10
- 0.9.9
- 0.9.8
- 0.9.7
- 0.9.6
- 0.9.5
- 0.9.4
- 0.9.3
- 0.9.2
- 0.9.1
- 0.9.0
- 0.8.2
- 0.8.1
- 0.7.7
- 0.7.6
- 0.7.5
- 0.7.4
- 0.7.3
- 0.7.2
- 0.7.1
- 0.7.0
- 0.6.4
- 0.6.3
- 0.6.2
- 0.6.1
- 0.6.0
- 0.5.0
- 0.4.1
- 0.4.0
- dev-update/assets
- dev-add/me
- dev-add/updater
- dev-doc
- dev-legacy-master
- dev-upgrade-mpdf-epub
- dev-backend/admin-page-framework
This package is auto-updated.
Last update: 2025-09-02 22:40:15 UTC
README
Turn any WordPress post or page into beautiful, portable documents in seconds.
Create professional PDF, EPUB, and Markdown files from your WordPress content with one click. Perfect for bloggers, content creators, businesses, and anyone who wants to share their content offline or across different platforms.
✨ Lightning fast • 🔒 Privacy-first • 🎨 Beautifully formatted • 🔧 Developer-friendly
🚀 Why Choose Read Offline?
📄 Professional PDF Export
- Beautiful table of contents with automatic page numbers
- Custom branding with headers, footers, and watermarks
- Responsive layouts that look great on any device
- Multi-post exports - combine articles into comprehensive guides
📖 Publishing-Ready EPUB
- Industry-standard format compatible with all e-readers
- Custom cover images and professional metadata
- Multiple styling options - light, dark, or completely custom
- Validation tools to ensure perfect compatibility
⚡ Lightning-Fast Performance
- Smart caching - exports are generated once, served instantly
- Bulk operations - export dozens of posts at once
- Background processing - no waiting around for large exports
🔒 Privacy & Security First
- No tracking or telemetry - your content stays private
- Local processing - files generated on your server
- Rate limiting to prevent abuse
- Secure access controls with optional public sharing
🎯 Perfect For
- 📝 Bloggers - Share your posts as professional PDFs or e-books
- 🏢 Businesses - Create branded reports and documentation
- 👩🏫 Educators - Distribute course materials and reading lists
- 📚 Authors - Convert blog series into publishable e-books
- 💼 Agencies - Deliver client reports in multiple formats
- 🔧 Developers - Export content for static sites or migration
⚡ Quick Start (3 Simple Steps)
1. Install & Activate
-
Quick Install
- Download
read-offline.zip
- Upload via Plugins > Add New > Upload Plugin
- Activate the plugin.
- Download
-
Updates
- Plugin updates are handled automatically via GitHub. No need to manually download and install updates.
2. Configure Your Preferences
Visit Settings → Read Offline to choose your default formats and customize appearance.
3. Start Exporting
Add the export button to any post automatically, or use the [read_offline]
shortcode anywhere.
🛠️ Advanced Features
📦 Bulk Export Magic
Select multiple posts and pages from your admin area and export them as:
- Single combined document - Perfect for creating comprehensive guides
- ZIP archive - Individual files for easy distribution
- Custom filename patterns - Organize your exports automatically
🎨 Customization Options
- PDF Styling: Custom margins, headers, footers, and watermarks
- EPUB Themes: Light, dark, or completely custom CSS
- Brand Integration: Add your logo and company information
- Table of Contents: Automatic generation with smart formatting
🔌 Developer Friendly
- REST API for programmatic access:
GET /wp-json/read-offline/v1/export
- 50+ hooks and filters for complete customization (see HOOKS.md)
- Smart caching for optimal performance
- Markdown export for static site generators
For developers: Run composer install
to update vendors or access testing tools.
💻 System Requirements
- ✅ WordPress 6.5+
- ✅ PHP 8.2+
- ✅ Zip extension (for bulk exports)
- ✅ Tested up to WordPress 6.8
All required libraries are bundled - no additional setup needed!
❓ Common Questions
Question | Answer |
---|---|
How do I add the export button to my posts? | Go to Settings → Read Offline and enable auto-insertion, or use the [read_offline] shortcode anywhere. |
Can I customize the PDF styling? | Yes! Adjust margins, headers, footers, fonts, and colors in the PDF settings section. |
Are exports cached for performance? | Absolutely! Files are cached until content or settings change, ensuring lightning-fast repeat downloads. |
Can visitors download without logging in? | Only if you enable public REST access in settings. By default, only logged-in users can export. |
How do I export multiple posts at once? | Select posts in your admin area, choose a "Read Offline" bulk action, and apply. |
🛡️ Privacy & Security
- 🔒 Zero telemetry - Your content never leaves your server
- 🚫 No external dependencies - All processing happens locally
- ⚡ Rate limiting - Built-in protection against abuse
- 🔐 Access controls - Public downloads disabled by default
📋 What's New in 2.x
- ✨ Improved PDF TOCs with hierarchical structure and page numbers
- 🔒 Enhanced security with nonce-based access for non-public mode
- 📊 Integrity headers for download verification (Content-Length, checksums)
- 🔧 EPUB validation with external epubcheck integration support
- 📱 Responsive admin UI with better mobile experience
🆘 Need Help?
Quick Fixes:
- Missing export buttons? Check if formats are enabled in Settings → Read Offline
- PDF missing page numbers? Enable page numbering in PDF settings
- Getting ZIP instead of combined file? Make sure "Combine bulk exports" is turned on
- Stale content in exports? Use the "Clear Cache" button in settings
Still stuck? Check out the detailed HOOKS.md for developer documentation or open an issue on GitHub.
📄 License & Credits
- License: GPLv2 or later
- PDF Engine: Powered by mPDF
- EPUB Engine: Powered by PHPePub
Ready to transform your WordPress content? Install Read Offline today and start creating beautiful documents in seconds.
For complete technical details, see readme.txt
, CHANGELOG.md
, and HOOKS.md
.