{"id":29457,"date":"2014-05-16T08:26:30","date_gmt":"2014-05-16T08:26:30","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/pdf-creator\/"},"modified":"2014-05-16T08:33:11","modified_gmt":"2014-05-16T08:33:11","slug":"pdf-creator","status":"publish","type":"plugin","link":"https:\/\/twd.wordpress.org\/plugins\/pdf-creator\/","author":13058418,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.3","stable_tag":"0.2.6","tested":"3.4.2","requires":"3.4","requires_php":"","requires_plugins":"","header_name":"PDF Creator","header_author":"Maarten Hemmes - Hemmes.IT","header_description":"","assets_banners_color":"","last_updated":"2014-05-16 08:33:11","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/www.hemmes.it","header_plugin_uri":"http:\/\/www.hemmes.it\/wordpress-pdf-creator\/","header_author_uri":"http:\/\/www.hemmes.it","rating":1,"author_block_rating":0,"active_installs":10,"downloads":2701,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"":"<p>More to come<\/p>"},"ratings":{"1":"1","2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.2.6"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[6417,1764],"plugin_category":[50],"plugin_contributors":[85664],"plugin_business_model":[],"class_list":["post-29457","plugin","type-plugin","status-publish","hentry","plugin_tags-creator","plugin_tags-pdf","plugin_category-media","plugin_contributors-maartenhemmes","plugin_committers-maartenhemmes"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/pdf-creator.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Use this plugin to generator PDF's. Note: this is a beta version!<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Download 'PDF creator'.<\/li>\n<li>Upload the 'PDF creator' directory to your '\/wp-content\/plugins\/' directory, using your favorite method (ftp, sftp, scp, etc...)<\/li>\n<li>Activate 'PDF creator' from your Plugins page.<\/li>\n<li><p>Initiate and use the plugin in your code by writing :<\/p>\n\n<p>4.1. $mode = 'utf-8'; \n4.2. $size = array(212.72500, 276.22500);\n4.3. $html = '<\/p>\n\n<p>&lt;<\/p>\n\n<p>div&gt;';\n4.4. $css = site_url().'\/wp-content\/plugins\/directorypress-extend-listings\/includes\/pdf-generation\/sample-css.css';\n     $css = file_get_contents($css); \n4.5. $footer = '<\/p>\n\nfooter\n\n<p>';<\/p>\n\n<p>4.6. pdf_generation($css, mode, $size, $html, $footer);<\/p><\/li>\n<li><p>Have fun! Send an email to info@hemmes.it or visit http:\/\/www.hemmes.it\/wordpress-pdf-creator\/ if you have any questions related to this project.<\/p><\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>Please explain this stage<\/dt>\n<dd><ol>\n<li><p>Initiate and use the plugin in your code by writing :<\/p>\n\n<p>4.1. $mode = 'utf-8'; \n4.2. $size = array(212.72500, 276.22500);\n4.3. $html = '<\/p>\n\n<p>&lt;<\/p>\n\n<p>div&gt;';\n4.4. $footer = '<\/p>\n\nfooter\n\n<p>';\n4.5. pdf_generation($mode, $size, $html, $footer); =<\/p><\/li>\n<\/ol>\n\n<p>You have to run this (without the 4.1. etc.) to generate the PDF. Make sure you include the function pdf_generation.\nYour $html is the variable where you store the content of the PDF, it's now, as an example, '<\/p>\n\n<p>&lt;<\/p>\n\n<p>div&gt;', you need to change that and add your own content. Same goes for the $footer.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>0.2<\/h4>\n\n<p>11\/11\/2013<\/p>\n\n<ul>\n<li>Added MDF5.7 class<\/li>\n<li>Added function to create directory structure to upload PDF<\/li>\n<li>Changed PDF name to result.pdf<\/li>\n<\/ul>\n\n<h4>0.2.2<\/h4>\n\n<p>04\/12\/2013<\/p>\n\n<ul>\n<li>Added support for CSS<\/li>\n<\/ul>\n\n<h4>0.2.4<\/h4>\n\n<p>04\/12\/2013<\/p>\n\n<ul>\n<li>Added feature to delete (old) PDF before generating a new one<\/li>\n<li>Small fixes<\/li>\n<\/ul>\n\n<h4>0.2.5.<\/h4>\n\n<p>04\/12\/2013<\/p>\n\n<ul>\n<li>Fixed footer bug (needed to print footer before html-content)<\/li>\n<\/ul>\n\n<h4>0.2.6.<\/h4>\n\n<p>08\/12\/2013<\/p>\n\n<ul>\n<li>Added settings for tmp-folders<\/li>\n<\/ul>\n\n<h4>0.3.<\/h4>\n\n<p>01\/31\/2014<\/p>\n\n<ul>\n<li>Added PDF Generator menu to backend<\/li>\n<li>Created separate section in code for settings<\/li>\n<li>Added expirimental API<\/li>\n<\/ul>","raw_excerpt":"Plugin to create PDF files","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/29457","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=29457"}],"author":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/maartenhemmes"}],"wp:attachment":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=29457"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=29457"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=29457"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=29457"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=29457"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=29457"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}