Plugin Directory

Changeset 3303786


Ignore:
Timestamp:
05/30/2025 08:32:12 PM (7 months ago)
Author:
mnelson4
Message:

3.27.8

Location:
print-my-blog/trunk
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • print-my-blog/trunk/printmyblog.php

    r3280632 r3303786  
    1111 * Author: Michael Nelson
    1212 * Author URI: https://printmy.blog
    13  * Version: 3.27.7
     13 * Version: 3.27.8
    1414 * Requires at least: 4.7
    1515 * Requires PHP: 5.4
     
    120120} else {
    121121    // it's all good! start bootstraping PMB.
    122     define( 'PMB_VERSION', '3.27.7' );
     122    define( 'PMB_VERSION', '3.27.8' );
    123123    define( 'PMB_DIR', wp_normalize_path( __DIR__ ) . '/' );
    124124    define( 'PMB_MAIN_FILE', __FILE__ );
  • print-my-blog/trunk/readme.txt

    r3280632 r3303786  
    11=== Print My Blog - Print, PDF, & eBook Converter WordPress Plugin ===
    2 Contributors: mnelson4, ryanvdk, szepeviktor
     2Contributors: mnelson4, ryanvdk, szepeviktor, freemius
    33Tags: print, PDF, backup, eBook, print button
    44Requires at least: 4.6
     
    88License URI: https://www.gnu.org/licenses/gpl-2.0.html
    99Donate link: https://printmy.blog/pricing/
    10 Stable tag: 3.27.7
     10Stable tag: 3.27.8
    1111
    1212Make printing your blog easy and impressive. For you & your visitors. One post or thousands.
     
    2424Each of which takes your WordPress content and optimizes it for print, PDF, and eBook by:
    2525
    26 * removing ink guzzlers like site logo, sidebars and footer
     26* removing ink guzzlers like site logo, sidebars, and footer
    2727* avoiding page breaks inside images, between images and captions, and even right after headers
    2828* allowing you to use other plugins in your printed output
     
    4747* prints posts and pages
    4848* 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 (eg draft, pending, private, password-protected, trashed, etc), category, and tags
     49* print your entire blog, or filter by author, date, status (e.g. draft, pending, private, password-protected, trashed, etc.), category, and tags
    5050* optionally prints comments
    5151* optionally places each post on a new page
    52 * resize text
    53 * resize images or remove them altogether
     52* resizes text
     53* resizes images or removes them altogether
    5454* replaces embedded videos with a link, full video title, screenshot and QRCode
    5555* optionally removes hyperlinks
    56 * optionally includes post’s excerpt
    57 * order posts by date, or pages by the "order" attribute
     56* optionally includes post excerpts
     57* orders posts by date, and pages by the "order" attribute
    5858* place the “Print My Blog” Gutenberg block on a page and allow site visitors to print your blog too
    5959* no watermark in print-out, and attribution optional,
    6060* [GDPR](https://en.wikipedia.org/wiki/General_Data_Protection_Regulation) compliant (no data is collected about you or your visitors)
    6161* 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!
     62customize 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!
    6363
    6464= Print Buttons =
     
    7373**Print Button Features**
    7474
    75 * prints individual posts and/or pages just like Quick Print (eg omits the theme's header, sidebars, and footer, 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]`
    7777* enable buttons for print, PDF, and/or eBook
    7878* customize print output settings for each (using the same print settings from Quick Print)
    7979* place buttons above or below content, or somewhere in-between using the shortcode `[pmb_print_buttons]`
    80 * customize print button text (eg "Print", "Imprimir", or just a print emoji like 🖨)
     80* customize print button text (e.g. "Print", "Imprimir", or just a print emoji like 🖨)
    8181* buttons use theme's design
    8282* 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))
    8383
    8484= 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.
     85Replace 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.
     86Use 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/).
    8787
    8888https://youtu.be/-RzrbnCbbLw
     
    9090Example uses:
    9191
    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.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. 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!
    9595* **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.
    102102* **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.
    104104* **restaurant menu**. Optimized for display on your website, and to look great in print.
    105105
     
    108108* saveable projects
    109109* 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 (eg products 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)
    111111* search and filter for posts based on post type, status, categories, tags, custom taxonomies, author, and publish date
    112112* drag-and-drop reordering of content (and add new print materials on-the-fly)
     
    117117* Theme Designers will feel at home creating a custom design using HTML, CSS, and even Javascript
    118118* 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.)
    120120* automatic table of contents (with page references using Pro PDF Service)
    121121* automatically replace hyperlinks to included content with page references (Pro PDF Service only)
     
    123123* automatically move or automatically resize images to reduce whitespace and fit better on the page (Pro PDF Service only)
    124124* choose image quality and maximum image size to reduce filesize or save ink
    125 * choose article templates (eg "Content Only" or "Centered Content")
     125* choose article templates (e.g. "Content Only" or "Centered Content")
    126126* 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.
    128128
    129129Some designs have features like:
     
    163163* [WP Quick LaTeX](https://wordpress.org/plugins/wp-quicklatex/) for mathematical formulas
    164164* [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 buttons different 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/)
    166166* [TablePress](https://wordpress.org/plugins/tablepress/) makes tables look good in print too, even when they span multiple pages
    167167
     
    178178
    179179**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.)
    181181[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.
    182182[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.)
    185185
    186186**Alternatives for adding print buttons**
     
    202202
    2032031. 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
     2041. Activate the plugin through the 'Plugins' screen in WordPress.
    205205
    206206**To Print Your Blog using Quick Print**
     
    213213
    2142141. 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"
     2151. Beside "Show print buttons on:", check "Posts" and/or "Pages".
     2161. Click "Save Settings".
    217217
    218218Also [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.
     
    220220**To Print with Pro Print**
    221221
    222 Under "Print My Blog", click "Pro Print"
    223 Follow the instructions presented, or refer to our [user guide](https://printmy.blog/user-guide/).
     2221. Under "Print My Blog", click "Pro Print".
     2231. Follow the instructions presented, or refer to our [user guide](https://printmy.blog/user-guide/).
    224224
    225225**To Add a Print Form for Visitors**
    226226
    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
     2271. Add a page using the block editor (added in WordPress 5.0), maybe call it something like "Print My Blog".
     2281. Add the "Print My Blog" block anywhere you like.
    2292291. Publish the post or page.
    230 1. You may want to add a link to the page in a menu, widget, or footer
     2301. You may want to add a link to the page in a menu, widget, or footer.
    231231
    232232== Frequently Asked Questions ==
    233233
    234234= 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 (eg adding page references, footnotes, and fully controlling page margins).
     235Yes, 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).
    236236
    237237ePub eBooks with Pro Print require payment.
    238238
    239 So, creating PDFs and printing with PMB Pro Print is free, but it's best when used with our Pro PDF Service which is paid.
     239So, 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.
    240240
    241241= 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.
     242You'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.
    243243
    244244= How do I create a PDF using Quick Print? =
     
    254254https://youtu.be/ekwg2a1FPV0
    255255
    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.
     256Note: Images may be missing from very large PDFs. See the FAQ "My PDFs are missing images" below for help.
     257
     258If you use Pro Print, you can download the PDF using our [Pro Print Service](https://printmy.blog/pricing/).
    259259
    260260= 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 just page 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).*
    262262
    263263You probably don't want the site's title, date, and URL appearing in printouts. Here is how to remove it for various browsers:
     
    276276
    277277= How do I create an eBook using Print My Blog? =
    278 Create ePub eBooks requires payment, or you can create ePub eBooks using Quick Print and [dotEPUB browser extension](https:dotepub.com)
     278Creating ePub eBooks requires payment, or you can create ePub eBooks using Quick Print and [dotEPUB browser extension](https:dotepub.com)
    279279
    280280https://youtu.be/M5ZZN3KsqOA
     
    288288Print My Blog can work too fast for some webservers, meaning the webservers refuse to load all the content, most noticeably some images.
    289289In 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" (eg to 2000 milliseconds, or whatever
     290down to show Troubleshooting options, and increase "Post Rendering Wait-Time" (e.g. to 2000 milliseconds, or whatever
    291291value you need to in order to get all the images to load).
    292292
    293293= My PDFs are missing images =
    294 *This is usually a problem with browsers, which our Pro PDF service hasn'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.*
    295295
    296296If 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.
     297To 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.
    298298
    299299= 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=
     
    315315= How do I remove post content from the printout? =
    316316
    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. Eg, related posts, share buttons, etc.
     317There 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.
    318318To 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".
    319319Alternatively, 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]`.
     
    321321https://www.youtube.com/watch?v=xxNBkGafH_A
    322322
    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.
     323If 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.
    324324
    325325For 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:
     
    381381**Using a Shortcode in the Post Body**
    382382You 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` (ie, 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.
     383You 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.
    384384
    385385https://www.youtube.com/watch?v=xxNBkGafH_A
    386386
    387 **In a Widget (eg sidebar or footer) using a Shortcode**
     387**In a Widget (e.g. sidebar or footer) using a Shortcode**
    388388Alternatively, 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).
    389389
     
    403403= How do I change the color of the print buttons? =
    404404The 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 Eg, this here's how to change the button's text color to black and background color to white:
     405E.g. this here's how to change the button's text color to black and background color to white:
    406406
    407407**For Block-Based Themes**
     
    430430* whether print buttons appear by default above or below the post content
    431431* 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.)
    433433
    434434Under each format, you can also click "Show Options". These options affect the printout produced by the button. These
     
    449449== Screenshots ==
    450450
    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.
     4511. Print My Blog removes junk that doesn’t belong in a printout—like ink-guzzling logos, menus, search-bars, sidebars, footer widgets, etc.
    4524522. 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.
     4533. Print Button settings page. Select whether to show on posts or pages and save. Or customize the appearance of the buttons and printout.
    4544544. Print Buttons on a post. Notice how much clutter is removed from the printout!
    4554555. Pro Print project organizer. Search for content, drag-and-drop it into your project, organize in front matter, back matter, and parts.
     
    459459
    460460== Changelog ==
     461
     462= 3.27.8 May 30 2025 =
     463* Enhancement: for Pro Print, added a filter for the project's print page
    461464
    462465= 3.27.7 April 24, 2025 =
  • print-my-blog/trunk/src/PrintMyBlog/entities/ProjectGeneration.php

    r2910331 r3303786  
    169169
    170170    /**
    171      * Gets the URL of the intermediary file
     171     * Gets the URL of the intermediary file ("Pro Print Page")
    172172     * @return string
    173173     */
     
    180180            $start = $upload_dir_info['baseurl'];
    181181        }
    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        );
    184188    }
    185189
  • print-my-blog/trunk/templates/project_edit_generate.php

    r2918780 r3303786  
    130130        ?>
    131131        <div class="pmb-after-generation" style="display:none">
     132
    132133            <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>
    133134        </div>
Note: See TracChangeset for help on using the changeset viewer.