{"id":605,"date":"2008-12-19T19:19:33","date_gmt":"2008-12-20T00:19:33","guid":{"rendered":"http:\/\/www.kayak2u.com\/blog\/?p=605"},"modified":"2008-12-20T23:44:31","modified_gmt":"2008-12-21T04:44:31","slug":"code-enforcement","status":"publish","type":"post","link":"http:\/\/www.kayak2u.com\/?p=605","title":{"rendered":"Code enforcement"},"content":{"rendered":"<p>Coming up on the end of my first year of haphazardly dragging the blog around, and still unwinding out of and into the new Holiday season, what with assorted family members needing a wide variety of computing tasks performed, it seemed the perfect time to update the WordPress installation.<\/p>\n<p>WordPress&nbsp;version 2.7 finally has&nbsp;functions incorporated into itself to automate its own updating. &nbsp;Unfortunately, automatic updating must first be manually updated, but that and all the other new features added up to incentive enough to get me to commit to chucking old version 2.3.3. &nbsp;That, and I&#8217;d seen some of the changes when I built a website for my mother, installed a blog on it with WordPress version 2.6, and liked the way it looked to be going. &nbsp;Widgets and everything.<\/p>\n<p>The non-automatic update process is tedious, to say the least. &nbsp;Basically, one manually removes <em>almost <\/em>all of the old installation (meaning the blog goes kaput for a time) and then the whole new shebang is uploaded and set ticking. &nbsp;I didn&#8217;t have any problems with it, but I was pretty careful reading the instructions before I went in.<\/p>\n<p>First thing I noticed, WordPress&#8217;s built-in editor still sucks, despite testimonials that it doesn&#8217;t. &nbsp;So, I went after the upgrade to&nbsp;<a target=\"_blank\" href=\"http:\/\/www.deanlee.cn\/wordpress\/fckeditor-for-wordpress-plugin\/\">FCKEditor<\/a>, which plug-in served me&nbsp;(with some very small annoyances of its own)&nbsp;so well the better part of the year. &nbsp;Wahoo, annoyances gone, and after a few tweaks to the appropriate config files, everything was looking and working groovy.<\/p>\n<p>Meanwhile, WordPress&#8217;s image upload gizmo also seems to be missing some parts, but, again, the FCKEditor routines work in their stead. &nbsp;I still have to manually apply &lt;div> tags for the styling I like, but I may be able to find the appropriate code to jigger, when I get the time.<\/p>\n<p>Next, I looked around for a new plug-in weapon to deal with the small amount of comment and\/or trackback spam that dribbles in at a rate of two or three a day, despite having a plug-in or two already set up to prevent it. &nbsp;Having never tried the&nbsp;<a target=\"_blank\" href=\"http:\/\/akismet.com\/\">Akismet<\/a> plug-in (yes, I know, it&#8217;s practically the default) I gave it a shot, and it seems to be working better than what I had.<\/p>\n<p>Then it was on to the ol&#8217; web stat counter gizmo. &nbsp;All year I used <a target=\"_blank\" href=\"http:\/\/www.openwebanalytics.com\/\">Open Web Analytics<\/a>, and with some skepticism, too. &nbsp;All I really ever wanted from it were some basic numbers and a pretty graph of recent traffic so I could flog myself with the brutality of existing as a very minor league player in a very, very big ballpark, and it seemed to do that, but I always wondered how competently. &nbsp;The software itself consists of more than a thousand files, and the PHP code is either so incredibly complex or so purposefully obfuscated that I could rarely make sense of it. &nbsp;The numerous MySQL tables it built seemed ineptly designed, and the trickle of emails into and out of the developer&#8217;s list kept turning up minor and silly bugs. &nbsp;Most importantly, there was no way I could find to keep it from including obvious bots and spiders in its visitor tallies. &nbsp;So, I dumped it, and switched to <a target=\"_blank\" href=\"http:\/\/blog.matrixagents.org\/statpress-reloaded\/\">StatPress Reloaded<\/a>, which has an adequate graph, and also breaks out the bots and spiders it knows about, while letting me add IPs or new spiders to lists it watches, and readily presents a better mix of info than I was getting from OWA, and all out of one not-too-large sourcefile.<\/p>\n<p>And then, after last night&#8217;s posts, I noticed that my Post ID numbers had shot up by nearly 100, instead of the 3 that I expected. &nbsp;It seems that WordPress&#8217;s new AutoSave functions, crossed with its new Versioning functions, were kicking up the ID numbers every time my draft posts were auto or manually saved, and stuffing every different version into a new row of the big database table. &nbsp;That seems like inappropriate behavior to me, but I don&#8217;t see anyone else complaining about it in the WP forums. &nbsp;While versioning seems like it might be a cool feature, I&#8217;m not sure about the way WP has tried to implement it. &nbsp;I&#8217;ve now shut it off, by adding to wp-config.php thusly&#8230;&nbsp;&nbsp;<\/p>\n<p>define (&#8216;WP_POST_REVISIONS&#8217;, false);<\/p>\n<p>&#8230; and have likewise rendered the autosave feature virtually non compos mentis with&#8230;&nbsp;<\/p>\n<p>define( &#8216;AUTOSAVE_INTERVAL&#8217;, 6000);<\/p>\n<p>Related info <a target=\"_blank\" href=\"http:\/\/codex.wordpress.org\/Revision_Management\">here<\/a>.<\/p>\n<p>And, while we&#8217;re on the subject of software and the like; &nbsp;Mrs Sweet Cheeks spent three hours a couple weeks ago on the phone with Dell Support, all about the way Vista couldn&#8217;t connect with Microsoft Update without freezing up all over itself. &nbsp;After all that time, and not fixing the problem, the support guy&#8217;s final suggesting was to reinstall the whole lovely OS (followed by a proposal to sell her a portable hard drive to manage the data save) when I flagged the proceedings and postponed any further Dell Support endeavors. &nbsp;It took me another couple hours, but I managed to fix it and a couple of other problems, to boot (sort of ironically), using the magic of the Internets. &nbsp;Vista and its browser do indeed suck.<\/p>\n<p>And now, on to figure out how to more better market my dear mother&#8217;s egoods.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Coming up on the end of my first year of haphazardly dragging the blog around, and still unwinding out of and into the new Holiday season, what with assorted family members needing a wide variety of computing tasks performed, it seemed the perfect time to update the WordPress installation. WordPress&nbsp;version 2.7 finally has&nbsp;functions incorporated into [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[655,656,657,654,9,658],"class_list":["post-605","post","type-post","status-publish","format-standard","hentry","category-programming","tag-fckedit","tag-open-web-analytics","tag-statpress","tag-vista","tag-wordpress","tag-wp_post_revisions"],"_links":{"self":[{"href":"http:\/\/www.kayak2u.com\/index.php?rest_route=\/wp\/v2\/posts\/605","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.kayak2u.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.kayak2u.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.kayak2u.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.kayak2u.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=605"}],"version-history":[{"count":0,"href":"http:\/\/www.kayak2u.com\/index.php?rest_route=\/wp\/v2\/posts\/605\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.kayak2u.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=605"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.kayak2u.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=605"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.kayak2u.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=605"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}