{"id":364,"date":"2006-09-14T15:21:20","date_gmt":"2006-09-14T22:21:20","guid":{"rendered":"http:\/\/www.redmonk.com\/cote\/wp\/?p=364"},"modified":"2006-09-14T15:21:20","modified_gmt":"2006-09-14T22:21:20","slug":"anti-pattern-beware-the-screw-up-cots-feeds-redirect-or-shifty-http-servers-in-las-vegas","status":"publish","type":"post","link":"https:\/\/redmonk.com\/cote\/2006\/09\/14\/anti-pattern-beware-the-screw-up-cots-feeds-redirect-or-shifty-http-servers-in-las-vegas\/","title":{"rendered":"Anti-pattern: Beware the Screw up Cot&#233;&#039;s Feeds Redirect, or, Shifty HTTP Servers in Las Vegas"},"content":{"rendered":"<p>I&#8217;ve been curious over the past few days why Vienna hasn&#8217;t been pulling in new items from my feeds. So, I just went to dig around for more info, and was horrified to find out that all the URLs for my feeds &#8212; you know, 100&#8217;s of them &#8212; to the &#8220;register for WiFi&#8221; page for the hotel. That is, I&#8217;m going to have to go track down all the URLs for the feeds and fix them.<\/p>\n<p>In essence, I&#8217;m screwed.<\/p>\n<p>And there&#8217;s the larger lesson about winning by doing the wrong thing. Without digging into the actual guts to see what&#8217;s happening, my theory is this: the hotel WiFi network does a permant redirect, the type of HTTP redirct that has the semantics of &#8220;this URL has permentaly changes, so update your URLs.&#8221; So, like a good HTTP client, Vienna went and updated all my URLS.<\/p>\n<p>In the happy path &#8212; if <a href=\"http:\/\/www.redmonk.com\/sogrady\/\">Steve or <a href=\"http:\/\/www.redmonk.com\/jgovernor\/\">James<\/a> changed their feed URL, Vienna would switch to it without hassling me. But, unfortunitly, you can&#8217;t trust that people will use permanant HTTP redirects correctly.<\/p>\n<p>Thus, allow me to say again: I&#8217;m screwed.<\/p>\n<p>Trusting HTTP servers in Las Vegas is clearly a bad idea.<\/p>\n<p><!-- technorati tags start --><\/p>\n<p>Tags: <a href=\"http:\/\/www.technorati.com\/tag\/aggregators\" rel=\"tag\">aggregators<\/a>, <a href=\"http:\/\/www.technorati.com\/tag\/http\" rel=\"tag\">http<\/a>, <a href=\"http:\/\/www.technorati.com\/tag\/stallgeruch\" rel=\"tag\">stallgeruch<\/a>, <a href=\"http:\/\/www.technorati.com\/tag\/vienna\" rel=\"tag\">vienna<\/a><\/p>\n<p><!-- technorati tags end --><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve been curious over the past few days why Vienna hasn&#8217;t been pulling in new items from my feeds. So, I just went to dig around for more info, and was horrified to find out that all the URLs for my feeds &#8212; you know, 100&#8217;s of them &#8212; to the &#8220;register for WiFi&#8221; page [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[23],"tags":[],"class_list":["post-364","post","type-post","status-publish","format-standard","hentry","category-programming"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/redmonk.com\/cote\/wp-json\/wp\/v2\/posts\/364","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/redmonk.com\/cote\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/redmonk.com\/cote\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/redmonk.com\/cote\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/redmonk.com\/cote\/wp-json\/wp\/v2\/comments?post=364"}],"version-history":[{"count":0,"href":"https:\/\/redmonk.com\/cote\/wp-json\/wp\/v2\/posts\/364\/revisions"}],"wp:attachment":[{"href":"https:\/\/redmonk.com\/cote\/wp-json\/wp\/v2\/media?parent=364"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/redmonk.com\/cote\/wp-json\/wp\/v2\/categories?post=364"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/redmonk.com\/cote\/wp-json\/wp\/v2\/tags?post=364"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}