{"id":10,"date":"2005-11-21T02:19:00","date_gmt":"2005-11-21T02:19:00","guid":{"rendered":"http:\/\/10.168.29.5\/blog\/?p=10"},"modified":"2010-02-15T08:34:39","modified_gmt":"2010-02-15T08:34:39","slug":"micro-disaster-plan","status":"publish","type":"post","link":"https:\/\/davidsterry.com\/blog\/2005\/11\/micro-disaster-plan\/","title":{"rendered":"Micro-disaster plan"},"content":{"rendered":"<p>Livemarks became slow yesterday for an hour or so. That meant I had to update my database  by trying to connect and download links manually. I didn&#8217;t think of the possibility that my script might not connect but it&#8217;s important to plan ahead when you&#8217;re using a web service.<\/p>\n<p>You&#8217;ve got to think, what happens if it&#8217;s not available for an hour, day, or week. What does your site look like then? Turns out my <a href=\"#\">trend sweet trend<\/a>(retired in 2008) displayed its header only&#8230;no links, no trends, nothing.<\/p>\n<p>Today, I fixed it by displaying a message that livemarks was down and showing how many hours the info is delayed. I&#8217;ll have to work on the scraping script since running it manually seemed to work with a 4-5 minute time for curl to get the page.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Livemarks became slow yesterday for an hour or so. That meant I had to update my database by trying to connect and download links manually. I didn&#8217;t think of the possibility that my script might not connect but it&#8217;s important to plan ahead when you&#8217;re using a web service. You&#8217;ve got to think, what happens [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[31],"tags":[],"class_list":["post-10","post","type-post","status-publish","format-standard","hentry","category-trend-sweet-trend"],"_links":{"self":[{"href":"https:\/\/davidsterry.com\/blog\/wp-json\/wp\/v2\/posts\/10","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/davidsterry.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/davidsterry.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/davidsterry.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/davidsterry.com\/blog\/wp-json\/wp\/v2\/comments?post=10"}],"version-history":[{"count":2,"href":"https:\/\/davidsterry.com\/blog\/wp-json\/wp\/v2\/posts\/10\/revisions"}],"predecessor-version":[{"id":201,"href":"https:\/\/davidsterry.com\/blog\/wp-json\/wp\/v2\/posts\/10\/revisions\/201"}],"wp:attachment":[{"href":"https:\/\/davidsterry.com\/blog\/wp-json\/wp\/v2\/media?parent=10"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/davidsterry.com\/blog\/wp-json\/wp\/v2\/categories?post=10"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/davidsterry.com\/blog\/wp-json\/wp\/v2\/tags?post=10"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}