{"id":374,"date":"2016-10-29T12:51:26","date_gmt":"2016-10-29T12:51:26","guid":{"rendered":"https:\/\/www.blackestknight.com\/?p=374"},"modified":"2016-10-30T14:09:23","modified_gmt":"2016-10-30T14:09:23","slug":"webpages-epubs-and-editing","status":"publish","type":"post","link":"https:\/\/www.blackestknight.com\/index.php\/2016\/10\/29\/webpages-epubs-and-editing\/","title":{"rendered":"Webpages epubs and editing"},"content":{"rendered":"<p>I came across an interesting command<\/p>\n<p>javascript:document.body.contentEditable = &#8216;true&#8217;; document.designMode = &#8216;on&#8217;; void 0<\/p>\n<p>now if you copy and paste that into chrome it loses the javascript: \u00a0so you need to type that in<\/p>\n<p>The effect of it is that you can edit webpages in your browser.<\/p>\n<p>Which is kind of useful if you want to make an off line copy. Once you have what you want save it as webpage complete.<\/p>\n<p>The next stage is to change the format and that is probably best as an epub. \u00a0So saying a PDF file might do you in which case print to pdf and you are done.<\/p>\n<p>I don&#8217;t like pdf&#8217;s very much as they are designed around A4 size bits of paper and I don&#8217;t intend printing anything i don&#8217;t have to \u00a0also they never seem to fit well on anything other than a really big monitor. \u00a0epub is better since it resizes and flows to suit the screen and perhaps better than html as everything is in one file.<\/p>\n<p>The epub stage is easy to achieve just open your saved html file in Sigil a free epub editor. \u00a0It might be that things are not quite right, if you want just delete pretty much all the header information and that may be enough. Otherwise you can just delete non essential information. \u00a0Either way once it looks reasonable you can save as an epub and store it where you like e.g iTunes.<\/p>\n<p>You might want to do a little work on images scaling them to a percentage of the page width.<\/p>\n<p>Bare in mind this is essentially just personal notes from public webpages you are a jerk if you take this content and pass it off as all your own work.<\/p>\n<p>This little blog page was quite handy in figuring out a reasonable technique.<\/p>\n<p><a href=\"http:\/\/blog.michael.kuron-germany.de\/2010\/12\/html-to-epub-using-sigil\/\">http:\/\/blog.michael.kuron-germany.de\/2010\/12\/html-to-epub-using-sigil\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I came across an interesting command javascript:document.body.contentEditable = &#8216;true&#8217;; document.designMode = &#8216;on&#8217;; void 0 now if you copy and paste that into chrome it loses the javascript: \u00a0so you need to type that in The effect of it is that you can edit webpages in your browser. Which is kind of useful if you want [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_newsletter_tier_id":0,"footnotes":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[17,7,16],"tags":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p7UXrA-62","_links":{"self":[{"href":"https:\/\/www.blackestknight.com\/index.php\/wp-json\/wp\/v2\/posts\/374"}],"collection":[{"href":"https:\/\/www.blackestknight.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.blackestknight.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.blackestknight.com\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.blackestknight.com\/index.php\/wp-json\/wp\/v2\/comments?post=374"}],"version-history":[{"count":1,"href":"https:\/\/www.blackestknight.com\/index.php\/wp-json\/wp\/v2\/posts\/374\/revisions"}],"predecessor-version":[{"id":375,"href":"https:\/\/www.blackestknight.com\/index.php\/wp-json\/wp\/v2\/posts\/374\/revisions\/375"}],"wp:attachment":[{"href":"https:\/\/www.blackestknight.com\/index.php\/wp-json\/wp\/v2\/media?parent=374"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.blackestknight.com\/index.php\/wp-json\/wp\/v2\/categories?post=374"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.blackestknight.com\/index.php\/wp-json\/wp\/v2\/tags?post=374"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}