{"id":521,"date":"2009-03-24T20:10:06","date_gmt":"2009-03-24T19:10:06","guid":{"rendered":"http:\/\/www.galhano.com\/blog\/?p=521"},"modified":"2009-03-27T10:14:49","modified_gmt":"2009-03-27T09:14:49","slug":"wordofforg","status":"publish","type":"post","link":"http:\/\/galhano.com\/blog\/?p=521","title":{"rendered":"wordoff.org"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-520 alignnone\" title=\"wordoff-logo-only\" src=\"http:\/\/www.galhano.com\/blog\/wp-content\/2009\/03\/wordoff-logo-only.gif\" alt=\"wordoff-logo-only\" width=\"311\" height=\"55\" \/><\/p>\n<p>Ajuda-o a remover todos os espa\u00e7os em branco, tags e estilos desnecess\u00e1rios do seu c\u00f3digo HTML. Normalmente este tipo de edi\u00e7\u00e3o \u00e9 feita manualmente pelo programador, logo  com esta ferramenta tudo fica mais f\u00e1cil<\/p>\n<p>Wordoff applies the following rules to strip the cruft that is pasted into  \tWYSIWYG editors from Word:<\/p>\n<ul>\n<li>Attributes are removed for all elements except &lt;a&gt;s<\/li>\n<li>&lt;span&gt;s and &lt;div&gt;s are removed<\/li>\n<li>Empty elements are removed<\/li>\n<li>Consecutive line breaks are reduced to two<\/li>\n<\/ul>\n<p>Wordoff is written in Python and runs on Django in Google App Engine. It was designed as a demonstration  \tproject for a short talk at <a href=\"http:\/\/oxford.geeknights.net\/2008\/jun-25th\/\">Oxford Geek Nights<\/a>.  \tThe logo uses the <a href=\"http:\/\/www.dafont.com\/sketch-rockwell.font\">Sketch Rockwell<\/a> font<\/p>\n<p><a title=\"http:\/\/wordoff.org\" href=\"http:\/\/wordoff.org\">http:\/\/wordoff.org<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ajuda-o a remover todos os espa\u00e7os em branco, tags e estilos desnecess\u00e1rios do seu c\u00f3digo HTML. Normalmente este tipo de edi\u00e7\u00e3o \u00e9 feita manualmente pelo programador, logo com esta ferramenta tudo fica mais f\u00e1cil Wordoff applies the following rules to strip the cruft that is pasted into WYSIWYG editors from Word: Attributes are removed for [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"close","ping_status":"close","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[87,42],"tags":[],"class_list":["post-521","post","type-post","status-publish","format-standard","hentry","category-servicos-web","category-utils","author-admin"],"_links":{"self":[{"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/521","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=521"}],"version-history":[{"count":5,"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/521\/revisions"}],"predecessor-version":[{"id":531,"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/521\/revisions\/531"}],"wp:attachment":[{"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=521"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=521"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=521"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}