{"id":314,"date":"2006-10-06T20:13:00","date_gmt":"2006-10-06T20:13:00","guid":{"rendered":"http:\/\/new.tola.me.uk\/blog\/2006\/10\/06\/mchicago-content-negotiation\/"},"modified":"2006-10-06T20:13:00","modified_gmt":"2006-10-06T20:13:00","slug":"mchicago-content-negotiation","status":"publish","type":"post","link":"https:\/\/tola.me.uk\/blog\/2006\/10\/06\/mchicago-content-negotiation\/","title":{"rendered":"mChicago: Content Negotiation"},"content":{"rendered":"<p>As Advogato&#8217;s trust metric does not appear to trust me enough to allow me to post a reply, this is in reply to mchicago&#8217;s post about <a href=\"http:\/\/www.advogato.org\/person\/Chicago\/diary.html?start=81\">.Net and Browsercaps<\/a>:<\/p>\n<p>  As someone who is currently in academia and will not qualify as an engineer for quite a while, I feel qualified to give you an unhelpful answer which has no practical application to your current real world problem.<\/p>\n<p> Trying to keep up to date lists of every mobile device is like chasing the wind. <\/p>\n<p> This is what <a href=\"http:\/\/www.w3.org\/Protocols\/rfc2616\/rfc2616-sec12.html\">Content Negotiation<\/a> in the HTTP specification is for, in this case Server-driven negotiation would probably be preferable. A user agent should send an Accept header as part of the HTTP request which specifies which formats the user agent can render and the server should respond accordingly. <\/p>\n<p> Unfortunately a lot of browsers send a wildcard instead of a real argument in Accept headers and claim to be able to render all formats, which of course they can&#8217;t. Apache has partial support for Content Negotiation and if you&#8217;re using IIS you&#8217;d probably have to write it yourself. <\/p>\n<p> So the answer is to get manufacturers of mobile devices to get their web browsers to send proper Accept headers and Microsoft to think about <a href=\"http:\/\/www.w3.org\/2001\/di\/\">Device Independence<\/a> for their server products. Good Luck.<\/p>\n<h3>In other news&#8230;<\/h3>\n<p>  <a href=\"http:\/\/tola.me.uk\">tola.me.uk<\/a> is nearly ready to roll, despite accidentally looking uncannily like <a href=\"http:\/\/www.townx.org\">Elliot&#8217;s web site<\/a>. That&#8217;s what happens when you use stock themes! Once I&#8217;ve moved over, then hopefully interesting things will happen with hippygeek.co.uk<\/p>\n<p>I&#8217;ve ordered a <a href=\"http:\/\/europe.nokia.com\/770\">Nokia 770<\/a>, I have evil plans for it.<\/p>\n<p>Me and Sam spent several hours today trying to fix the <a href=\"http:\/\/burnfm.com\">BurnFM<\/a> web stream, the web part is fixed but we can&#8217;t get the sound engineering part right. I blame poor sound engineering kit. A poor worker always blames his tools. Sam&#8217;s planning to swap out the server with one running slackware and icecast, I&#8217;ve almost convinced the station manager it&#8217;s a good idea. &#8216;Cept I vote for Ubuntu Server.<\/p>\n<p>University are making me use Access \ud83d\ude41<\/p>\n<p>Now of to Tom&#8217;s to see how many people we can fit in his house, I reckon about 130.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>As Advogato&#8217;s trust metric does not appear to trust me enough to allow me to post a reply, this is in reply to mchicago&#8217;s post about .Net and Browsercaps: As someone who is currently in academia and will not qualify as an engineer for quite a while, I feel qualified to give you an unhelpful &hellip; <a href=\"https:\/\/tola.me.uk\/blog\/2006\/10\/06\/mchicago-content-negotiation\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">mChicago: Content Negotiation<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[4,2],"class_list":["post-314","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-personal","tag-technology"],"_links":{"self":[{"href":"https:\/\/tola.me.uk\/blog\/wp-json\/wp\/v2\/posts\/314","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tola.me.uk\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tola.me.uk\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tola.me.uk\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tola.me.uk\/blog\/wp-json\/wp\/v2\/comments?post=314"}],"version-history":[{"count":0,"href":"https:\/\/tola.me.uk\/blog\/wp-json\/wp\/v2\/posts\/314\/revisions"}],"wp:attachment":[{"href":"https:\/\/tola.me.uk\/blog\/wp-json\/wp\/v2\/media?parent=314"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tola.me.uk\/blog\/wp-json\/wp\/v2\/categories?post=314"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tola.me.uk\/blog\/wp-json\/wp\/v2\/tags?post=314"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}