Changeset 3303786
- Timestamp:
- 05/30/2025 08:32:12 PM (7 months ago)
- Location:
- print-my-blog/trunk
- Files:
-
- 10 edited
-
lang/print-my-blog-de_DE.mo (modified) (previous)
-
lang/print-my-blog-es_ES.mo (modified) (previous)
-
lang/print-my-blog-fr_FR.mo (modified) (previous)
-
lang/print-my-blog-it_IT.mo (modified) (previous)
-
lang/print-my-blog-ja.mo (modified) (previous)
-
lang/print-my-blog-zh_CN.mo (modified) (previous)
-
printmyblog.php (modified) (2 diffs)
-
readme.txt (modified) (24 diffs)
-
src/PrintMyBlog/entities/ProjectGeneration.php (modified) (2 diffs)
-
templates/project_edit_generate.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
print-my-blog/trunk/printmyblog.php
r3280632 r3303786 11 11 * Author: Michael Nelson 12 12 * Author URI: https://printmy.blog 13 * Version: 3.27. 713 * Version: 3.27.8 14 14 * Requires at least: 4.7 15 15 * Requires PHP: 5.4 … … 120 120 } else { 121 121 // it's all good! start bootstraping PMB. 122 define( 'PMB_VERSION', '3.27. 7' );122 define( 'PMB_VERSION', '3.27.8' ); 123 123 define( 'PMB_DIR', wp_normalize_path( __DIR__ ) . '/' ); 124 124 define( 'PMB_MAIN_FILE', __FILE__ ); -
print-my-blog/trunk/readme.txt
r3280632 r3303786 1 1 === Print My Blog - Print, PDF, & eBook Converter WordPress Plugin === 2 Contributors: mnelson4, ryanvdk, szepeviktor 2 Contributors: mnelson4, ryanvdk, szepeviktor, freemius 3 3 Tags: print, PDF, backup, eBook, print button 4 4 Requires at least: 4.6 … … 8 8 License URI: https://www.gnu.org/licenses/gpl-2.0.html 9 9 Donate link: https://printmy.blog/pricing/ 10 Stable tag: 3.27. 710 Stable tag: 3.27.8 11 11 12 12 Make printing your blog easy and impressive. For you & your visitors. One post or thousands. … … 24 24 Each of which takes your WordPress content and optimizes it for print, PDF, and eBook by: 25 25 26 * removing ink guzzlers like site logo, sidebars and footer26 * removing ink guzzlers like site logo, sidebars, and footer 27 27 * avoiding page breaks inside images, between images and captions, and even right after headers 28 28 * allowing you to use other plugins in your printed output … … 47 47 * prints posts and pages 48 48 * uses your theme’s and plugins’ styles (so Gutenberg and page builders are supported) 49 * print your entire blog, or filter by author, date, status (e g draft, pending, private, password-protected, trashed, etc), category, and tags49 * print your entire blog, or filter by author, date, status (e.g. draft, pending, private, password-protected, trashed, etc.), category, and tags 50 50 * optionally prints comments 51 51 * optionally places each post on a new page 52 * resize text53 * resize images or removethem altogether52 * resizes text 53 * resizes images or removes them altogether 54 54 * replaces embedded videos with a link, full video title, screenshot and QRCode 55 55 * optionally removes hyperlinks 56 * optionally includes post ’s excerpt57 * order posts by date, orpages by the "order" attribute56 * optionally includes post excerpts 57 * orders posts by date, and pages by the "order" attribute 58 58 * place the “Print My Blog” Gutenberg block on a page and allow site visitors to print your blog too 59 59 * no watermark in print-out, and attribution optional, 60 60 * [GDPR](https://en.wikipedia.org/wiki/General_Data_Protection_Regulation) compliant (no data is collected about you or your visitors) 61 61 * free, open-source software, so you can use it for whatever you like without fear of changing terms of use, 62 customize it to fit your needs (although we'd curious to hear what you've done with it), and even redistribute it. There is no lengthy legal document describing how you're giving up your rights by using this software!62 customize it to fit your needs (although we'd be curious to hear what you've done with it), and even redistribute it. There is no lengthy legal document describing how you're giving up your rights by using this software! 63 63 64 64 = Print Buttons = … … 73 73 **Print Button Features** 74 74 75 * prints individual posts and/or pages just like Quick Print (e g omits the theme's header, sidebars, andfooter, etc.)76 * display on all posts and/or pages, or specific ones using the shortcode `[pmb_print_buttons]`75 * prints individual posts and/or pages just like Quick Print (e.g. omits the theme's header, sidebars, footer, etc.) 76 * displays on all posts and/or pages, or specific ones using the shortcode `[pmb_print_buttons]` 77 77 * enable buttons for print, PDF, and/or eBook 78 78 * customize print output settings for each (using the same print settings from Quick Print) 79 79 * place buttons above or below content, or somewhere in-between using the shortcode `[pmb_print_buttons]` 80 * customize print button text (e g"Print", "Imprimir", or just a print emoji like 🖨)80 * customize print button text (e.g. "Print", "Imprimir", or just a print emoji like 🖨) 81 81 * buttons use theme's design 82 82 * make more seamless integration with your design or content using the shortcode `[pmb_print_page_url]` to just get the URL of the print page ([see this FAQ for more details](https://wordpress.org/plugins/print-my-blog/#how%20do%20i%20show%20the%20print%20buttons%20on%20posts%20or%20pages%3F)) 83 83 84 84 = Pro Print = 85 Replace Google Docs and Microsoft Word with WordPress! Turn existing posts, pages, and custom post types —or write all new print materials—into professional-looking documents that are ready to share with customers and the world.86 Use your browser to print Pro Print projects for free, but some features (like automatic page references, footnotes, and full control of page margins) require printing using our Pro PDF Service for a subscription fee.85 Replace Google Docs and Microsoft Word with WordPress! Turn existing posts, pages, and custom post types—or write all new print materials—into professional-looking documents that are ready to share with customers and the world. 86 Use your browser to **print Pro Print projects for free**, and access premium features (e.g. automatic page references, footnotes, and full control of page margins) with a [Pro PDF Service subscription](https://printmy.blog/pricing/). 87 87 88 88 https://youtu.be/-RzrbnCbbLw … … 90 90 Example uses: 91 91 92 * **white paper**. Share an in-depth analysis of a topic on your website and in print 93 * **printed version of entire website or blog**. Print it all, except ink guzzlers like site heading, sidebars, footers and pop-ups. Use your own printer or send to a printing service lulu.com94 * **book from select content**. Add a title page, introduction, table of contents, and pick existing content from your site to make a book. Sell it on Amazon KDP. Like that, you're an author!92 * **white paper**. Share an in-depth analysis of a topic on your website and in print. 93 * **printed version of entire website or blog**. Print it all, except ink guzzlers like site heading, sidebars, footers and pop-ups. Use your own printer or send to a printing service such as lulu.com. 94 * **book from select content**. Add a title page, introduction, table of contents, and pick existing content from your site to make a book. Sell it on Amazon KDP. Just like that, you're an author! 95 95 * **new book from scratch**. Write new print-only materials that never appear on your website. Leverage WordPress' great editors and other plugins. 96 * **lead magnets**. Compile content on a subject into a PDF and grant access after users signup for your email list 97 * **members-only content**. Combine with Restrict Content Pro or other plugins to only allow access to select downloadable PDFs of your content 98 * **printed course materials**. Create a course using an LMS (learning management system) plugin, and use Print My Blog for learners to print 99 * **event brochure**. Let event attendees print a useful copy of your event's details to take with them 100 * **printed user manual**. And digital user manual on the website 101 * **product brochure**. Use WooCommerce or other WordPress e-commerce plugins to make content accessible to those who would rather not browse online 96 * **lead magnets**. Compile content on a subject into a PDF and grant access after users signup for your email list. 97 * **members-only content**. Combine with Restrict Content Pro or other plugins to only allow access to select downloadable PDFs of your content. 98 * **printed course materials**. Create a course using an LMS (learning management system) plugin, and use Print My Blog for learners to print. 99 * **event brochure**. Let event attendees print a useful copy of your event's details to take with them. 100 * **printed user manual**. And digital user manual on the website. 101 * **product brochure**. Use WooCommerce or other WordPress e-commerce plugins to make content accessible to those who would rather not browse online. 102 102 * **monthly magazine or newspaper**. Reuse the same design and blog post content to create a digital or print magazine to send to your email subscribers. 103 * **research paper**. Put your research on your website and print it with a consistent design 103 * **research paper**. Put your research on your website and print it with a consistent design. 104 104 * **restaurant menu**. Optimized for display on your website, and to look great in print. 105 105 … … 108 108 * saveable projects 109 109 * create digital PDFs, print-ready PDFs, ePub eBooks (paid only), and Microsoft Word documents (paid only) 110 * select posts, pages, print materials (posts intended only for use in Pro Print) and most custom post types (e gproducts from WooCommerce)110 * select posts, pages, print materials (posts intended only for use in Pro Print) and most custom post types (e.g. products from WooCommerce) 111 111 * search and filter for posts based on post type, status, categories, tags, custom taxonomies, author, and publish date 112 112 * drag-and-drop reordering of content (and add new print materials on-the-fly) … … 117 117 * Theme Designers will feel at home creating a custom design using HTML, CSS, and even Javascript 118 118 * better integration with plugins than Quick Print (especially those using Javascript) 119 * save project metadata ( like title, extra cover page content, categories etc)119 * save project metadata (e.g. title, extra cover page content, categories etc.) 120 120 * automatic table of contents (with page references using Pro PDF Service) 121 121 * automatically replace hyperlinks to included content with page references (Pro PDF Service only) … … 123 123 * automatically move or automatically resize images to reduce whitespace and fit better on the page (Pro PDF Service only) 124 124 * choose image quality and maximum image size to reduce filesize or save ink 125 * choose article templates (e g"Content Only" or "Centered Content")125 * choose article templates (e.g. "Content Only" or "Centered Content") 126 126 * choose fonts, font sizes, page sizes and lots more 127 * optionally apply your active theme's CSS (this is optional and because themes usually aren't designed for print, support for this requires payment)127 * optionally apply your active theme's CSS. Note: Themes are usually not designed for print, so we offer a [paid service](https://printmy.blog/pricing/) to those who need help customizing a design to match their brand. 128 128 129 129 Some designs have features like: … … 163 163 * [WP Quick LaTeX](https://wordpress.org/plugins/wp-quicklatex/) for mathematical formulas 164 164 * [Translate WordPress with GTranslate](https://wordpress.org/plugins/gtranslate/) for quick and automatic translating of projects 165 * [WPML](https://wpml.org) for more advanced translating of projects, and add print buttonsdifferent languages. [Read Translating Projects with WPML Plugin](https://printmy.blog/user-guide/design-layout/translating-projects-with-wpml-plugin/)165 * [WPML](https://wpml.org) for more advanced translating of projects, and adding print buttons in different languages. [Read Translating Projects with WPML Plugin](https://printmy.blog/user-guide/design-layout/translating-projects-with-wpml-plugin/) 166 166 * [TablePress](https://wordpress.org/plugins/tablepress/) makes tables look good in print too, even when they span multiple pages 167 167 … … 178 178 179 179 **Alternatives to Quick Print** 180 [printmy.blog](https://printmy.blog/now) we run a hosted version of this same plugin, so you can print your blog without even installing this. Especially useful for WordPress**.com** users, or those who can't install the plugin on their site. (Its free like Quick Print, but won't use your blog's styles ).180 [printmy.blog](https://printmy.blog/now) we run a hosted version of this same plugin, so you can print your blog without even installing this. Especially useful for WordPress**.com** users, or those who can't install the plugin on their site. (Its free like Quick Print, but won't use your blog's styles.) 181 181 [Anthologize](https://wordpress.org/plugins/anthologize/) is another great plugin for customizing your blog's content before exporting to an e-book format. Also free. 182 182 [Blog To HTML](https://wordpress.org/plugins/blog-to-html/) is actually very similar to Print My Blog. It allows you to export your blog to HTML for eBook creation. 183 [blogbooker](https://blogbooker.com/) prints a book, or creates a PDF, from your blog using their pre-made styles. Paid service.184 [blog2print](https://www.blog2print.com/) ditto, but temporarily requests your username and password. Paid service.183 [blogbooker](https://blogbooker.com/) prints a book, or creates a PDF, from your blog using their pre-made styles. (Paid service.) 184 [blog2print](https://www.blog2print.com/) ditto, but temporarily requests your username and password. (Paid service.) 185 185 186 186 **Alternatives for adding print buttons** … … 202 202 203 203 1. Upload the plugin files to the `/wp-content/plugins/print-my-blog` directory, or install the plugin through the WordPress plugins screen directly. 204 1. Activate the plugin through the 'Plugins' screen in WordPress 204 1. Activate the plugin through the 'Plugins' screen in WordPress. 205 205 206 206 **To Print Your Blog using Quick Print** … … 213 213 214 214 1. Under the "Print My Blog" menu item, click "Settings." 215 1. Beside "Show print buttons on:", check "Posts" and/or "Pages" 216 1. Click "Save Settings" 215 1. Beside "Show print buttons on:", check "Posts" and/or "Pages". 216 1. Click "Save Settings". 217 217 218 218 Also [see this FAQ](https://wordpress.org/plugins/print-my-blog/#how%20do%20i%20show%20the%20print%20buttons%20on%20posts%20or%20pages%3F) for more options to show the print buttons using shortcodes and postmeta. … … 220 220 **To Print with Pro Print** 221 221 222 Under "Print My Blog", click "Pro Print" 223 Follow the instructions presented, or refer to our [user guide](https://printmy.blog/user-guide/).222 1. Under "Print My Blog", click "Pro Print". 223 1. Follow the instructions presented, or refer to our [user guide](https://printmy.blog/user-guide/). 224 224 225 225 **To Add a Print Form for Visitors** 226 226 227 1. Add a page using the block editor (added in WordPress 5.0), maybe call it something like "Print My Blog" 228 1. Add the "Print My Blog" block anywhere you like 227 1. Add a page using the block editor (added in WordPress 5.0), maybe call it something like "Print My Blog". 228 1. Add the "Print My Blog" block anywhere you like. 229 229 1. Publish the post or page. 230 1. You may want to add a link to the page in a menu, widget, or footer 230 1. You may want to add a link to the page in a menu, widget, or footer. 231 231 232 232 == Frequently Asked Questions == 233 233 234 234 = Can I use Pro Print for Free? = 235 Yes, you can use PMB's Pro Print for free (it's included in this plugin) to create projects, and can print or make PDFs with them using your web browser. Your web browser will not, however, support all the features that Pro Print is capable of (e gadding page references, footnotes, and fully controlling page margins).235 Yes, you can use PMB's Pro Print for free (it's included in this plugin) to create projects, and can print or make PDFs with them using your web browser. Your web browser will not, however, support all the features that Pro Print is capable of (e.g. adding page references, footnotes, and fully controlling page margins). 236 236 237 237 ePub eBooks with Pro Print require payment. 238 238 239 So, creating PDFs and printing with PMB Pro Print is free, but it's best when used with our Pro PDF Servicewhich is paid.239 So, creating PDFs and printing with PMB Pro Print is free, but it's best when used with our [Pro PDF Service](https://printmy.blog/pricing/) which is paid. 240 240 241 241 = I have a question about Pro Print = 242 You're in luck, we have an [entire use guide](https://printmy.blog/user-guide/) that walks you through the first project, then onto customizations, and even through making your own custom designs in HTML, CSS, and Javascript (with a bit of PHP). These FAQs are mostly about Quick Print and Print Buttons.242 You're in luck, we have an [entire user guide](https://printmy.blog/user-guide/) that walks you through the first project, then onto customizations, and even through making your own custom designs in HTML, CSS, and Javascript (with a bit of PHP). These FAQs are mostly about Quick Print and Print Buttons. 243 243 244 244 = How do I create a PDF using Quick Print? = … … 254 254 https://youtu.be/ekwg2a1FPV0 255 255 256 Note: images may be missing from very large PDFs. See the FAQ "My PDFs are missing images" below for help.257 258 If you use Pro Print, you can download the PDF using our print service.256 Note: Images may be missing from very large PDFs. See the FAQ "My PDFs are missing images" below for help. 257 258 If you use Pro Print, you can download the PDF using our [Pro Print Service](https://printmy.blog/pricing/). 259 259 260 260 = How do I remove the headers and footers from printouts? = 261 *One option is to upgrade for the Pro Print service, which adds more professional-looking content to the margins (like justpage numbers, running headers, and logos).*261 *One option is to upgrade for the [Pro Print Service](https://printmy.blog/pricing/), which adds more professional-looking content to the margins (e.g. page numbers, running headers, and logos).* 262 262 263 263 You probably don't want the site's title, date, and URL appearing in printouts. Here is how to remove it for various browsers: … … 276 276 277 277 = How do I create an eBook using Print My Blog? = 278 Creat eePub eBooks requires payment, or you can create ePub eBooks using Quick Print and [dotEPUB browser extension](https:dotepub.com)278 Creating ePub eBooks requires payment, or you can create ePub eBooks using Quick Print and [dotEPUB browser extension](https:dotepub.com) 279 279 280 280 https://youtu.be/M5ZZN3KsqOA … … 288 288 Print My Blog can work too fast for some webservers, meaning the webservers refuse to load all the content, most noticeably some images. 289 289 In order to fix this, you need to tell Print My Blog to slow down. On the configuration page, show options, then scroll 290 down to show Troubleshooting options, and increase "Post Rendering Wait-Time" (e gto 2000 milliseconds, or whatever290 down to show Troubleshooting options, and increase "Post Rendering Wait-Time" (e.g. to 2000 milliseconds, or whatever 291 291 value you need to in order to get all the images to load). 292 292 293 293 = My PDFs are missing images = 294 *This is usually a problem with browsers, which our Pro PDF servicehasn't experienced. So you may want to try Pro Print with the Pro PDF Service.*294 *This is usually a problem with browsers, which our [Pro PDF Service](https://printmy.blog/pricing/) hasn't experienced. So you may want to try Pro Print with the Pro PDF Service.* 295 295 296 296 If your print-page has hundreds of images, browsers may generate PDFs that are missing images at the end. 297 To fix this, just retry generate the PDF. Each time the browser will fetch more images. Continue re-generating the PDF until the images at the end are included.297 To fix this, just retry "Generate the PDF". Each time the browser will fetch more images. Continue re-generating the PDF until the images at the end are included. 298 298 299 299 = The Print Page says "There seems to be an error initializing...", or is stuck on "Loading Content", or I can't filter by categories or terms from the print setup page= … … 315 315 = How do I remove post content from the printout? = 316 316 317 There may be text, images, and other stuff that looks great when viewed from a screen, but doesn't make sense to have in the printout. E g,related posts, share buttons, etc.317 There may be text, images, and other stuff that looks great when viewed from a screen, but doesn't make sense to have in the printout. E.g. related posts, share buttons, etc. 318 318 To remove them from printouts, [add the CSS class](https://technicalsupport.blog/2019/01/04/how-to-add-a-custom-css-class-to-gutenberg-blocks/) "pmb-screen-only". 319 319 Alternatively, you can use the shortcodes `[pmb_web_only_text]...text, text, text...[/pmb_web_only_text]` and `[pmb_web_only_blocks]...paragraphs, images, other blocks...[/pmb_web_only_blocks]`. … … 321 321 https://www.youtube.com/watch?v=xxNBkGafH_A 322 322 323 If you're handy writing CSS, add some additional CSS to your theme that uses the "pmb-print-page" class which is added to the `body` tag of the print page.323 If you're handy at writing CSS, add some additional CSS to your theme that uses the "pmb-print-page" class which is added to the `body` tag of the print page. 324 324 325 325 For example, if you want to hide all divs with CSS class "my-video" in printouts, but not on the regular website, add the following CSS to your theme: … … 381 381 **Using a Shortcode in the Post Body** 382 382 You can add print buttons directly into your posts and pages by using the shortcode `[pmb_print_buttons]`. You can also supply it with the ID of a different post or page like so: `[pmb_print_buttons ID=123]`. 383 You can alternatively use the shortcode `[pmb_print_page_url]` to just get the URL of the print page for more advanced integrations. You can supply it with the ID of a different post, and the `format` (defaults to "print", but also accepts "pdf" or "ebook"), and whether to `add_protocol` (i e,by default, the URL begins with "http://" or "https://", but setting this to `0` will prevent that, in case it was already added), like so: `[pmb_print_page_url format=pdf add_protocol=0]` will produce the URL of the print page for a PDF but not add the "https://" onto the start of the URL.383 You can alternatively use the shortcode `[pmb_print_page_url]` to just get the URL of the print page for more advanced integrations. You can supply it with the ID of a different post, and the `format` (defaults to "print", but also accepts "pdf" or "ebook"), and whether to `add_protocol` (i.e. by default, the URL begins with "http://" or "https://", but setting this to `0` will prevent that, in case it was already added), like so: `[pmb_print_page_url format=pdf add_protocol=0]` will produce the URL of the print page for a PDF but not add the "https://" onto the start of the URL. 384 384 385 385 https://www.youtube.com/watch?v=xxNBkGafH_A 386 386 387 **In a Widget (e gsidebar or footer) using a Shortcode**387 **In a Widget (e.g. sidebar or footer) using a Shortcode** 388 388 Alternatively, you can add the print buttons to a widget. In the WordPress admin dashboard, under the "Appearance" menu item, click "Widgets". Add a shortcode widget and add `[pmb_print_buttons]` like mentioned previously. The print buttons will only appear on single posts (eg not on an archive page). 389 389 … … 403 403 = How do I change the color of the print buttons? = 404 404 The print button's color is determined by your theme. But if you can't change the button colors using your theme's settings, you can change it with some custom CSS. 405 E g,this here's how to change the button's text color to black and background color to white:405 E.g. this here's how to change the button's text color to black and background color to white: 406 406 407 407 **For Block-Based Themes** … … 430 430 * whether print buttons appear by default above or below the post content 431 431 * which print buttons appear (print, PDF, and eBook) 432 * the text used on each button (translate them, or just an emoji, or whatever)432 * the text used on each button (translate them, use an emoji, etc.) 433 433 434 434 Under each format, you can also click "Show Options". These options affect the printout produced by the button. These … … 449 449 == Screenshots == 450 450 451 1. Print My Blog removes junk that doesn’t belong in a printout— like ink-guzzling logos, menus, search-bars, sidebars, footer widgets, etc.451 1. Print My Blog removes junk that doesn’t belong in a printout—like ink-guzzling logos, menus, search-bars, sidebars, footer widgets, etc. 452 452 2. Quick Print Setup page. Start printing right away, or customize which posts to print and how to print them. 453 3. Print Button settings page. Select whether to show on posts or pages and save. Or customize the buttons' and printout appearance.453 3. Print Button settings page. Select whether to show on posts or pages and save. Or customize the appearance of the buttons and printout. 454 454 4. Print Buttons on a post. Notice how much clutter is removed from the printout! 455 455 5. Pro Print project organizer. Search for content, drag-and-drop it into your project, organize in front matter, back matter, and parts. … … 459 459 460 460 == Changelog == 461 462 = 3.27.8 May 30 2025 = 463 * Enhancement: for Pro Print, added a filter for the project's print page 461 464 462 465 = 3.27.7 April 24, 2025 = -
print-my-blog/trunk/src/PrintMyBlog/entities/ProjectGeneration.php
r2910331 r3303786 169 169 170 170 /** 171 * Gets the URL of the intermediary file 171 * Gets the URL of the intermediary file ("Pro Print Page") 172 172 * @return string 173 173 */ … … 180 180 $start = $upload_dir_info['baseurl']; 181 181 } 182 return $start . '/pmb/generated/' . $this->project->code() . '/' . $this->format->slug() 183 . '/' . rawurlencode($this->getFileName()) . '.html?uniqueness=' . current_time('timestamp'); 182 return apply_filters( 183 '\PrintMyBlog\entities\ProjectGeneration::getGeneratedIntermediaryFileUrl return', 184 $start . '/pmb/generated/' . $this->project->code() . '/' . $this->format->slug() 185 . '/' . rawurlencode($this->getFileName()) . '.html?uniqueness=' . current_time('timestamp'), 186 $this 187 ); 184 188 } 185 189 -
print-my-blog/trunk/templates/project_edit_generate.php
r2918780 r3303786 130 130 ?> 131 131 <div class="pmb-after-generation" style="display:none"> 132 132 133 <button class="button button-primary" href="<?php echo esc_attr($generation->getGeneratedIntermediaryFileUrl());?>"><?php printf(__('View %s Print Page', 'print-my-blog'), $generation->getFormat()->title());?></button> 133 134 </div>
Note: See TracChangeset
for help on using the changeset viewer.