{"id":31,"date":"2004-10-27T01:20:33","date_gmt":"2004-10-27T01:20:33","guid":{"rendered":"http:\/\/lachy.id.au\/log\/2004\/10\/the-farmshed"},"modified":"2006-04-30T23:52:12","modified_gmt":"2006-04-30T23:52:12","slug":"farmshed","status":"publish","type":"post","link":"https:\/\/lachy.id.au\/log\/2004\/10\/farmshed","title":{"rendered":"The Farmshed"},"content":{"rendered":"<p>Yesterday, it seems that the site I spent about the last 4 months developing, <a href=\"http:\/\/www.thefarmshed.com.au\">The Farmshed<\/a>, went live!  The old disastrous site is thankfully gone, but the new site isn\u2019t without it\u2019s share of problems.  The markup is quite semantic, but not totally pure.  There is a single layout table used to achieve the 3 column layout, but I was forced to implement that for reasons beyond anyone\u2019s control \u2013 <em>Internet Exploder<\/em>!  Most of the site validates.  In fact all of the pages I worked on while I was there do validate as XHTML 1.0 Transitional, but sadly, several of the pages created after I left do not.<\/p>\r\n\r\n<p>On one of the pages, he seems to have made one of the most bewildering errors I\u2019ve ever seen. A <code>mailto:<\/code> link has been written like this.<\/p>\r\n\r\n<pre>\r\n<code>&lt;a mailto:customerservice@thefarmshed.com.au.invalid&gt;Customer\r\n    Service&lt;\/a&gt;<\/code>\r\n<\/pre>\r\n\r\n<p>Obviously, it should be:<\/p>\r\n\r\n<pre>\r\n<code>&lt;a href=\"mailto:customerservice@thefarmshed.com.au.invalid\"&gt;Customer\r\n    Service&lt;\/a&gt;<\/code>\r\n<\/pre>\r\n\r\n<p>However, it\u2019s no-longer my problem, I just hope it gets fixed. (The e-mail was munged with <code>.invalid<\/code> to prevent spammers finding it)<\/p>\r\n\r\n<p>Other than the bewildering validation errors, and some relatively minor UTF-8 encoding problems due to the configuration of the database (that will hopefully be fixed in the near future), the server has its own problems also.  Visiting the URI, <a href=\"http:\/\/www.thefarmshed.com.au\/\"><code>http:\/\/www.thefarmshed.com.au\/<\/code><\/a>, redirects to the IP address of the server.  This is obviously a temporary measure until the DNS records are set up properly, but it\u2019s the method of redirection that I find odd.  The HTTP request and response headers contain the following:<\/p>\r\n\r\n<pre><code>http:\/\/www.thefarmshed.com.au\/\r\n\r\nGET \/ HTTP\/1.1\r\nHost: www.thefarmshed.com.au\r\nUser-Agent: Mozilla\/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko\/20041001 Firefox\/0.10.1 StumbleUpon\/1.998\r\nAccept: text\/xml,application\/xml,application\/xhtml+xml,text\/html;q=0.9,text\/plain;q=0.8,image\/png,*\/*;q=0.5\r\nAccept-Language: en-au,en;q=0.5\r\nAccept-Encoding: gzip,deflate\r\nAccept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7\r\nKeep-Alive: 300\r\nConnection: keep-alive\r\n\r\nHTTP\/1.x 301 Error\r\nLocation: http:\/\/61.95.30.11\/\r\nServer: Microsoft-IIS\/4.0\r\nContent-Type: text\/html\r\nContent-Length: 135<\/code><\/pre>\r\n\r\n<p>Notice the <code>301<\/code> response code!  A <code>301<\/code> is supposed to be <code>HTTP\/1.x 301 Moved Permanently<\/code>.  Firstly, I don\u2019t understand why the poorly configured Microsoft IIS HTTP server is sending an invalid response, and secondly, I don\u2019t understand why it would be trying to send a <code>Moved Permanently<\/code> response.  Ideally, it should be sending a <code>302 Found<\/code> (for HTTP 1.1), or at least the HTTP 1.0 name: <code>302 Moved Temporarily<\/code>.  Oh well, I guess that\u2019s either the result of using an inferior Microsoft server, or the fact it has not been configured properly.<\/p>\r\n\r\n<p>I think that\u2019s enough problems that I need to point out, my purpose is not to criticise his mistakes, but to point out what needs to be looked into.  Overall, I would have to say that I\u2019m relatively proud of the work I did for The Farmshed, I certainly did <em>make a difference<\/em> towards the quality of the site.  It is much better than the vast majority of the web, but it could be better.  I never expected the site to be perfect as soon as it launced, though I did try my best to achieve that \u2013 there were, unfortunately, some factors beyond my control that prevented that.<\/p>\r\n\r\n<p>Some of the good things in the site include the almost complete use of CSS for layout and presentation (except for the single table mentioned earlier).  The whole menu is a pure CSS menu, backed up with an IE-only script.  It works perfectly in Firefox and IE, but there seems to be some minor bugs with Opera, but it does work.  I believe it does work in Safari, but neither Safari, nor sadly, Opera were tested in during development \u2013 just Firefox, and occasionally IE.  There were originally skip-links at the top, but I was ordered to remove them, despite my objections.  All the images have reasonable <code>alt<\/code> text and the site is fairly accessible to non-visual browsers.  Unfortunatly, the whole site is locked up, you have to be a member to access anything.  I objected, but it was a corporate\/marketing decision I had to accept.<\/p>\r\n\r\n<p>As <a href=\"http:\/\/www.lachy.id.au\/blogs\/log\/2004\/10\/apology\" title=\"Lachy\u2019s Log: Apology\">I said once before<\/a>, working at The Farmshed was a learning experience, and I certainly have gained some invaluable experience, both good a bad.  I\u2019m happy to have worked on creating such a high quality site, but I\u2019m happier to be moving on to something better.<\/p>","protected":false},"excerpt":{"rendered":"Yesterday, it seems that the site I spent about the last 4 months developing, The Farmshed, went live! The old disastrous site is thankfully gone, but the new site isn\u2019t without it\u2019s share of problems. The markup is quite semantic, but not totally pure. There is a single layout table used to achieve the 3 &hellip; <a href=\"https:\/\/lachy.id.au\/log\/2004\/10\/farmshed\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">The Farmshed<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a>","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[16],"tags":[],"_links":{"self":[{"href":"https:\/\/lachy.id.au\/log\/wp-json\/wp\/v2\/posts\/31"}],"collection":[{"href":"https:\/\/lachy.id.au\/log\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lachy.id.au\/log\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lachy.id.au\/log\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lachy.id.au\/log\/wp-json\/wp\/v2\/comments?post=31"}],"version-history":[{"count":0,"href":"https:\/\/lachy.id.au\/log\/wp-json\/wp\/v2\/posts\/31\/revisions"}],"wp:attachment":[{"href":"https:\/\/lachy.id.au\/log\/wp-json\/wp\/v2\/media?parent=31"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lachy.id.au\/log\/wp-json\/wp\/v2\/categories?post=31"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lachy.id.au\/log\/wp-json\/wp\/v2\/tags?post=31"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}