{"id":28983,"date":"2018-11-19T14:52:23","date_gmt":"2018-11-19T12:52:23","guid":{"rendered":"https:\/\/mamchenkov.net\/wordpress\/?p=28983"},"modified":"2018-11-19T14:52:38","modified_gmt":"2018-11-19T12:52:38","slug":"percollate-a-command-line-tool-to-turn-web-pages-into-beautifully-formatted-pdfs","status":"publish","type":"post","link":"https:\/\/mamchenkov.net\/wordpress\/2018\/11\/19\/percollate-a-command-line-tool-to-turn-web-pages-into-beautifully-formatted-pdfs\/","title":{"rendered":"percollate &#8211; a command-line tool to turn web pages into beautifully formatted PDFs"},"content":{"rendered":"<!-- google_ad_section_start -->\n<p><a href=\"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2018\/11\/percollate.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"28984\" data-permalink=\"https:\/\/mamchenkov.net\/wordpress\/2018\/11\/19\/percollate-a-command-line-tool-to-turn-web-pages-into-beautifully-formatted-pdfs\/percollate\/\" data-orig-file=\"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2018\/11\/percollate.png?fit=1000%2C713&amp;ssl=1\" data-orig-size=\"1000,713\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"percollate\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2018\/11\/percollate.png?fit=660%2C471&amp;ssl=1\" class=\"aligncenter size-medium wp-image-28984\" src=\"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2018\/11\/percollate-500x357.png?resize=500%2C357&#038;ssl=1\" alt=\"\" width=\"500\" height=\"357\" srcset=\"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2018\/11\/percollate.png?resize=500%2C357&amp;ssl=1 500w, https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2018\/11\/percollate.png?resize=768%2C548&amp;ssl=1 768w, https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2018\/11\/percollate.png?w=1000&amp;ssl=1 1000w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/github.com\/danburzo\/percollate\">percollate<\/a> is a command-line tool to convert web pages into PDF files.\u00a0 It supports single-page and multi-page files, can fetch the HTML documents from the web, understands accelerated mobile pages (see <a href=\"https:\/\/www.ampproject.org\/\">AMP<\/a>), and even allows some control of the output with CSS snippets.<\/p>\n<!-- google_ad_section_end -->\n","protected":false},"excerpt":{"rendered":"<!-- google_ad_section_start -->\n<p>percollate is a command-line tool to convert web pages into PDF files.\u00a0 It supports single-page and multi-page files, can fetch the HTML documents from the web, understands accelerated mobile pages (see AMP), and even allows some control of the output with CSS snippets.<\/p>\n<!-- google_ad_section_end -->\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"percollate - a command-line tool to turn web pages into beautifully formatted PDFs #WebDev #PDF #HTML #CSS","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"_links_to":"","_links_to_target":""},"categories":[1,6,18,62,1334],"tags":[1960,1517,1190,1139,3209,3606,1330],"keyring_services":[],"class_list":["post-28983","post","type-post","status-publish","format-standard","hentry","category-general","category-linux","category-programming","category-technology","category-web-work","tag-command-line","tag-css","tag-html","tag-javascript","tag-nodejs","tag-pdf","tag-web-development"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":22255,"url":"https:\/\/mamchenkov.net\/wordpress\/2014\/07\/24\/validating-website-html-css-and-links-from-the-command-line\/","url_meta":{"origin":28983,"position":0},"title":"Validating website HTML, CSS, and links from the command line","author":"Leonid Mamchenkov","date":"July 24, 2014","format":false,"excerpt":"When working on a long running projects, it's easy to lose track of HTML and CSS standard compliance. \u00a0Also, link rot is a common occurrence. \u00a0Gladly, there are command line tools that can be executed on a regular basis (think weekly or monthly cron jobs), that would check the site\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":28254,"url":"https:\/\/mamchenkov.net\/wordpress\/2017\/11\/28\/css-purge-css-cleaner\/","url_meta":{"origin":28983,"position":1},"title":"css-purge &#8211; CSS cleaner","author":"Leonid Mamchenkov","date":"November 28, 2017","format":false,"excerpt":"css-purge is a tool that does the following: A CSS tool written in Node JS as a command line app or library for the purging, burning, reducing, shortening, compressing, cleaning, trimming and formatting of duplicate, extra, excess or bloated CSS.","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":16471,"url":"https:\/\/mamchenkov.net\/wordpress\/2012\/07\/13\/ultimate-guide-for-css-support-in-email-clients\/","url_meta":{"origin":28983,"position":2},"title":"Ultimate guide for CSS support in email clients","author":"Leonid Mamchenkov","date":"July 13, 2012","format":"link","excerpt":"Ultimate guide for CSS support in email clients Designing an HTML email that renders consistently across the major email clients can be very time consuming. Support for even simple CSS varies considerably between clients, and even different versions of the same client. We've put together this guide to save you\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":22241,"url":"https:\/\/mamchenkov.net\/wordpress\/2014\/07\/21\/construct-a-visual-layout-editor-based-on-blueprint-css-framework\/","url_meta":{"origin":28983,"position":3},"title":"Construct &#8211; a visual layout editor based on Blueprint CSS framework","author":"Leonid Mamchenkov","date":"July 21, 2014","format":"link","excerpt":"Construct - a visual layout editor based on Blueprint CSS framework. \u00a0Now if only someone would build a similar tool for Twitter Bootstrap...","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":12626,"url":"https:\/\/mamchenkov.net\/wordpress\/2010\/06\/22\/google-services-via-command-line\/","url_meta":{"origin":28983,"position":4},"title":"Google services via command line","author":"Leonid Mamchenkov","date":"June 22, 2010","format":false,"excerpt":"I don't know how I missed the announcement and why there is no noise around this release, but here it goes. \u00a0GoogleCL is a tool that you use from the command line to access Google web services. \u00a0I just installed it on my Fedora 13 laptop and its awesome! Here\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":28141,"url":"https:\/\/mamchenkov.net\/wordpress\/2017\/10\/23\/front-end-checklist\/","url_meta":{"origin":28983,"position":5},"title":"Front-End Checklist","author":"Leonid Mamchenkov","date":"October 23, 2017","format":false,"excerpt":"This Front-End Checklist is pretty awesome and quite extensive: The\u00a0Front-End Checklist\u00a0is an exhaustive list of all elements you need to have \/ to test before launching your site \/ page HTML to production. It is based on Front-End developers' years of experience, with the addition from some other open-source checklists.\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_sharing_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts\/28983","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/comments?post=28983"}],"version-history":[{"count":0,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts\/28983\/revisions"}],"wp:attachment":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/media?parent=28983"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/categories?post=28983"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/tags?post=28983"},{"taxonomy":"keyring_services","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/keyring_services?post=28983"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}