WordPress.org

Ready to get started?Download WordPress

Forums

WP Post to PDF
Contributed update available (42 posts)

  1. Lewis Rosenthal
    Member
    Posted 1 year ago #

    Hi, Neerav, and thanks so much for your work on this elegant plugin.

    I installed 2.3.1 and found a few minor things which bugged me, so I fixed them. :)

    Brief changelog:

    - Fix typo on options page ("Display")
    - Fix issue with quotes in blog name and/or description not being properly decoded
    - Added option to disable header logo image entirely
    - Added option to specify left/right alignment of icon

    Updated package (version 2.3.2) available from my FTP server:

    ftp://ftp.2rosenthals.com/ftp/pub/WordPress/plugins/wp-post-to-pdf.2.3.2.zip

    along with diff (just the readme and two main php files changed):

    ftp://ftp.2rosenthals.com/ftp/pub/WordPress/plugins/wp-post-to-pdf.2.3.2.diff

    There may be (probably is) a better way to implement my changes. If you decide to not use my code in the official release and do something different, I'll be interested to see (I'm an IT consultant and network engineer; my work with php is usually on the server side, and not with the actual code, but I do cobble from time to time).

    Cheers, and thanks again.

    PS - For anyone else, the contributed zip file is fully installable, so feel free to give it a whirl. If you have comments on my changes vs the official release, please feel free to contact me via the contact form on my site:

    http://www.2rosenthals.net/wordpress/contact/

    http://wordpress.org/extend/plugins/wp-post-to-pdf/

  2. Lewis Rosenthal
    Member
    Posted 1 year ago #

    Updated again: 2.3.3 (unofficial).

    Per another request here, I also wanted the header to only appear on the first page (removing the logo was only the first step for me). So, I've added an option which when unchecked, (new default), only prints the header on the first page. To return to the previous default (header on all pages), check the box.

    Download link:

    ftp://ftp.2rosenthals.com/ftp/pub/WordPress/plugins/wp-post-to-pdf.2.3.3.zip

    Diff against the latest official release (2.3.1):

    ftp://ftp.2rosenthals.com/ftp/pub/WordPress/plugins/wp-post-to-pdf.2.3.3-against-2.3.1.diff

    Diff against my previous version (2.3.2 unofficial):

    ftp://ftp.2rosenthals.com/ftp/pub/WordPress/plugins/wp-post-to-pdf.2.3.3.diff

    I also have a build using the latest TCPDF, but it is over 11MB. I haven't figured out which fonts can get dumped, yet.

    Again, if anyone has comments on my changes vs the official release, please feel free to contact me via the contact form on my site:

    http://www.2rosenthals.net/wordpress/contact/

  3. Lewis Rosenthal
    Member
    Posted 1 year ago #

    Updated again: 2.3.4 (unofficial).

    I've added an option to set the scaling factor for images, overriding the TCPDF default of 1.25. The TCPPDF scaling factor is a ratio, i.e., 1:1.25, so 1.25 is slightly smaller than original; thus a scaling factor of 2 results in an image which is 50% of original, or 1:2. Ultimately, what I'd like to do is allow a "percentage of original" entry here, and let php do the arithmetic. Suggestions are welcome.

    Download link:

    ftp://ftp.2rosenthals.com/ftp/pub/WordPress/plugins/wp-post-to-pdf.2.3.4.zip

    Diff against the latest official release (2.3.1):

    ftp://ftp.2rosenthals.com/ftp/pub/WordPress/plugins/wp-post-to-pdf.2.3.4-against-2.3.1.diff

    Diff against my previous version (2.3.3 unofficial):

    ftp://ftp.2rosenthals.com/ftp/pub/WordPress/plugins/wp-post-to-pdf.2.3.4.diff

    Again, if anyone has comments on my changes vs the official release, please feel free to contact me via the contact form on my site:

    http://www.2rosenthals.net/wordpress/contact/

  4. Jaabie
    Member
    Posted 1 year ago #

    Lewis, can i ask a silly question?

    I cant seem to download your link? I would like to try the 2.3.4 plugin but may be I am missing something. Thanks for all the customization support BTW!

    Jamie

  5. Lewis Rosenthal
    Member
    Posted 1 year ago #

    Ugh... Sorry about that. Corrected links, below:

    2.3.4 (unoffocial):

    ftp://ftp.2rosenthals.com/pub/WordPress/plugins/wp-post-to-pdf.2.3.4.zip

    Diff against the latest official release (2.3.1):

    ftp://ftp.2rosenthals.com/pub/WordPress/plugins/wp-post-to-pdf.2.3.4-against-2.3.1.diff

    Diff against my previous version (2.3.3 unofficial):

    ftp://ftp.2rosenthals.com/pub/WordPress/plugins/wp-post-to-pdf.2.3.4.diff

    2.3.3 (unofficial):

    ftp://ftp.2rosenthals.com/pub/WordPress/plugins/wp-post-to-pdf.2.3.3.zip

    Diff against the latest official release (2.3.1):

    ftp://ftp.2rosenthals.com/pub/WordPress/plugins/wp-post-to-pdf.2.3.3-against-2.3.1.diff

    Diff against my previous version (2.3.2 unofficial):

    ftp://ftp.2rosenthals.com/pub/WordPress/plugins/wp-post-to-pdf.2.3.3.diff

    2.3.2 (unofficial):

    ftp://ftp.2rosenthals.com/pub/WordPress/plugins/wp-post-to-pdf.2.3.2.zip

    Diff against the latest official release (2.3.1):

    ftp://ftp.2rosenthals.com/pub/WordPress/plugins/wp-post-to-pdf.2.3.2.diff

    Thanks for the note, Jamie!

    Cheers

    Lewis

  6. Neerav Dobaria
    Member
    Plugin Author

    Posted 1 year ago #

    Hey Lewis,

    WOW! This's some brilliant work. I didn't even know till now about this thread.

    I'll include your changes in next release which is scheduled for March 1st Week.

    I salute you for your effort!

    Thanks and keep up the good work.

    Regards,
    Neerav

  7. Lewis Rosenthal
    Member
    Posted 1 year ago #

    You bet, Neerav!

    Thank you for all of your excellent work in bringing this to WordPress. All I did was round off a couple of corners and add a shelf or two. ;-)

    Looking forward to your next official release!

    Cheers

    Lewis

  8. mdroca
    Member
    Posted 1 year ago #

    Could you both do something about custom fields?

    Thanks in advance!

  9. Blake Imeson
    Member
    Posted 1 year ago #

    @Neerav any timeframe on the new version being released?

    I'm trying to find a way to include the Category the post came from as well as the date. Looks like this is where I should go ?
    http://wordpress.org/support/topic/add-the-category-of-the-post?replies=5

  10. Lewis Rosenthal
    Member
    Posted 1 year ago #

    @mdroca: Are looking for something as discussed in http://wordpress.org/support/topic/wp-post-to-pdf-and-custom-fields?replies=4 ?

    @Blake: Indeed, that thread is a good starting point. I'll have a look at adding options for these in the back end settings page, as well.

  11. Lewis Rosenthal
    Member
    Posted 1 year ago #

    2.3.5 (unoffocial):

    ftp://ftp.2rosenthals.com/pub/WordPress/plugins/wp-post-to-pdf.2.3.5.zip

    Diff against the latest official release (2.3.1):

    ftp://ftp.2rosenthals.com/pub/WordPress/plugins/wp-post-to-pdf.2.3.5-against-2.3.1.diff

    Diff against my previous version (2.3.4 unofficial):

    ftp://ftp.2rosenthals.com/pub/WordPress/plugins/wp-post-to-pdf.2.3.5.diff

    What's new:

      Added option to include the date in the same area where the author name would go (i.e., beneath the post title).
      Added option to include a comma-separated list of categories for the post in the same area where the author name would go (i.e., beneath the post title).

    To-do:

      Add option to move either or both of the above to the footer, with left, right, or center alignment.
      Add option to specify the separator in a list of categories.
      Add option to remove paragraph break between author, categories, date (to format better and waste less vertical space).
      Add option to specify first or all categories (presently, we display the list, via get_the_category_list).
      Add option to specify ordering/alignment (see above) of these items.

    Feedback is welcome.

    Enjoy!

    Lewis

  12. Lewis Rosenthal
    Member
    Posted 1 year ago #

    2.3.6 (unoffocial):

    ftp://ftp.2rosenthals.com/pub/WordPress/plugins/wp-post-to-pdf.2.3.6.zip

    Diff against the latest official release (2.3.1):

    ftp://ftp.2rosenthals.com/pub/WordPress/plugins/wp-post-to-pdf.2.3.6-against-2.3.1.diff

    Diff against my previous version (2.3.5 unofficial):

    ftp://ftp.2rosenthals.com/pub/WordPress/plugins/wp-post-to-pdf.2.3.6.diff

    What's new:

    Added option to select the format of the author's name from a dropdown list (None, Username, Display Name, or Nickname). N.B.: The Display Name is set for/by each user in his or her user settings, so whatever the user has selected there will be displayed if Display Name is selected here.

    To-do:

    Add option to move date and/or category to the footer, with left, right, or center alignment.

    Add option to specify the separator in a list of categories.

    Add option to remove paragraph break between author, categories, date (to format better and waste less vertical space).

    Add option to specify first or all categories (presently, we display the list, via get_the_category_list).

    Add option to specify ordering/alignment (see above) of these items.

    Feedback is welcome.

    Enjoy!

    Lewis

  13. jennybeaumont
    Member
    Posted 1 year ago #

    Hey Lewis - very interested in checking out your improvements on this plugin, but am unable to download from these links...

    Also, am wondering if you've also updated your plugin with the latest version of TCPDF ?

    thanks!
    -jennyb

  14. Lewis Rosenthal
    Member
    Posted 1 year ago #

    Sorry, Jenny; server hiccup. You should be able to reach them, now.

    Updated TCPDF: Indeed, this is in the mill (and should handle CSS better than the version in the existing builds). I hope to have it available for download this weekend. There is a surprising number of fonts bundled with TCPDF 6.0, and I'm not certain that all are appropriate for inclusion with this plugin. They increase the size of the distribution considerably.

    Cheers

    Lewis

  15. jennybeaumont
    Member
    Posted 1 year ago #

    Hey, great Lewis, thanks. Think you could give a shout when the new one is up? I had be away from my TCPDF project for a while, but am back on it at full force! And my brain is slowly melting...lol.

    thanks for the continued support.

    best,
    -jennyb

  16. Lewis Rosenthal
    Member
    Posted 1 year ago #

    LOL...

    You bet, Jenny. No problem.

    Cheers

    Lewis

  17. david1103
    Member
    Posted 1 year ago #

    Could we PLEASE get 2.3.6 or newer as an official update so it can be installed automatically by wordpress!

    I can't copy the zip file across due to unresolvable technical problems and would LOVE these great new features!

  18. jennybeaumont
    Member
    Posted 1 year ago #

    +1 !

  19. Lewis Rosenthal
    Member
    Posted 1 year ago #

    :-)

    Thanks for the kind words, David & Jenny... I've contacted Neerav directly, and am waiting on his reply.

    David, what can we do to get you a zip file in that installation? Can you not install via the upload method in Plugin Installation? Or would the Install via URL plugin help, perhaps?

    Meanwhile, I've created an updated support page for my contributed builds of this (including screenshots of the expanded configuration settings) on my blog.

    Internally, I still have a rather lengthy to-do list for this plugin, but it seems to be coming along as time permits. I'm glad there is demand for my tweaks!

    Cheers

    Lewis

  20. david1103
    Member
    Posted 1 year ago #

    Hi Lewis, thanks for your reply. I did manage to get it installed from the .zip and it seems to be working much better than before. It's GREAT that we don't have to have a header on each page now! :)

    The formatting is still messed up in some posts, do you think it is possible to fix positioning of graphics when there is a CSS box?

    Original:

    http://www.learndigitalaudio.com/blog/a-beginners-guide-to-internet-privacy-and-security

    PDF link (also at top of post)

    http://www.learndigitalaudio.com/blog/a-beginners-guide-to-internet-privacy-and-security?format=pdf

    cheers

  21. Lewis Rosenthal
    Member
    Posted 1 year ago #

    Great news, David! I'm so glad you were able to put some of my fixes to work.

    I do realize that there is more work to be done in terms of image positioning and css in general (this latest TCPDF is supposed to be more css-friendly). I see the issue you describe. What we want is for the plugin to retain the image position - if not necessarily the scaling - as specified in the css (in this case, left aligned, with text wrapped). I need to see what we need to pass along to TCPDF which we're somehow not currently passing.

    I'll see what I can do with this, and will follow up. At least we've got the captions printing on the page, at least!

    Cheers

    Lewis

  22. Lewis Rosenthal
    Member
    Posted 1 year ago #

    2.4.0 (unofficial; refreshed 5 July, 2013):

    ftp://ftp.2rosenthals.com/pub/WordPress/plugins/wp-post-to-pdf.2.4.0.zip

    Diff against the latest official release (2.3.1):

    ftp://ftp.2rosenthals.com/pub/WordPress/plugins/wp-post-to-pdf.2.4.0-against-2.3.1.diff

    Diff against my previous version (2.3.6 unofficial):

    ftp://ftp.2rosenthals.com/pub/WordPress/plugins/wp-post-to-pdf.2.4.0.diff

    What's new:

    Updated TCPDF to 6.0.018, including a huge number of new fonts (much larger package).

    To-do:

    Add option to move date and/or category to the footer, with left, right, or center alignment.

    Add option to specify the separator in a list of categories.

    Add option to remove paragraph break between author, categories, date (to format better and waste less vertical space).

    Add option to specify first or all categories (presently, we display the list, via get_the_category_list).

    Add option to specify ordering/alignment (see above) of these items.

    Allow exception to site-wide image scaling factor via shortcode (and add other shortcodes as overrides for various options set in the admin panel).

    Allow for custom css definitions to apply to PDF (note that this is highly dependent upon css support in TCPDF class; this to-do list item refers to the ability to enter such css in the admin panel, and not to any specific css support).

    Thanks to Jenny Beaumont for additional testing of this version!

    Feedback is welcome and appreciated.

    Enjoy!

    Lewis

  23. Lewis Rosenthal
    Member
    Posted 1 year ago #

    Sorry, but I've temporarily pulled the 2.4.0 version from my server. I discovered a problem with images not showing up at all, as well as a couple other oddities with some formatting. Until I get those tweaked, better stick with the 2.3.6 build.

    Apologies for jumping the gun!

    Lewis

  24. 2020media
    Member
    Posted 9 months ago #

    Great work Lewis.

  25. ajg-cal
    Member
    Posted 9 months ago #

    My thanks to both Lewis and Neerav.

  26. Lewis Rosenthal
    Member
    Posted 9 months ago #

    Thanks to both of you for your kind words, and for my contribution, you're very welcome. I'm glad this continues to be of value.

    As soon as I can get some time, I want to get back to my last round of updates to see about getting the updated tcpdf library finally working as expected (you know; fix one thing, break two more...).

    Cheers, all. ;-)

  27. 2020media
    Member
    Posted 9 months ago #

    Hi

    Can I also urge you to reconsider forking it?

    If it has it's own place within WordPress plugin repository, the people who are using your much needed version will get notifications of any updates.
    With a seperate download area we'd never know if some vulnerability was found that you'd later fixed (for example).

    Rex

  28. Lewis Rosenthal
    Member
    Posted 9 months ago #

    Point taken, Rex.

    When Neerav and I left off, we were discussing adding me as a developer, so that my changes would get merged into the official source directly. I'll ping him about that, as we haven't exchanged email since the end of June. Obviously, that is the best solution, but if that doesn't work out, I'm certainly ready, willing, and able to fork the project.

    Let's check in here in the next week or so, and see what progress Neerav and I make.

    Thanks again for your input, Rex, and for making such a clear and concise case (aside from the convenience factor).

    Cheers

    Lewis

  29. alexblajan
    Member
    Posted 8 months ago #

    ftp://ftp.2rosenthals.com/pub/WordPress/plugins/wp-post-to-pdf.2.4.0.zip

    the link doesn't work anymore.
    Also, I have a bitly officialy plugin on my install and messes with the plugin. please check iwiki.ro/wordpress-cdn/ the icon is up, just click on it. Any resolve for the conflict ? Don't know if its from the PDF plugin or the bitly.

  30. Lewis Rosenthal
    Member
    Posted 8 months ago #

    I'll have a look at the link, Alex; sorry for the trouble with the conflict.

    As for version 2.4, I pulled the file. See my note, above, quoted here:

    Sorry, but I've temporarily pulled the 2.4.0 version from my server. I discovered a problem with images not showing up at all, as well as a couple other oddities with some formatting. Until I get those tweaked, better stick with the 2.3.6 build.

    What version of the pdf plugin are you using which conflicts with Bitly plugin, and which version of Bitly are you using?

    Lewis

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic