
{"id":4685,"date":"2020-03-24T00:08:22","date_gmt":"2020-03-24T04:08:22","guid":{"rendered":"https:\/\/ikriv.com\/blog\/?p=4685"},"modified":"2020-03-24T00:08:22","modified_gmt":"2020-03-24T04:08:22","slug":"update-livejournal-cross-post-requires-php-xml","status":"publish","type":"post","link":"https:\/\/ikriv.com\/blog\/?p=4685","title":{"rendered":"Update: Livejournal cross-post requires PHP XML"},"content":{"rendered":"<p>Found first hiccup: LiveJournal cross-post plugin did not work on the new site. The error was somewhat misleading: something like &#8216;message from www.livejournal.com: malformed, unable to parse&#8217;. In fact it was the local PHP code that was unable to parse the response from LiveJournal because of missing PHP XML plugin, but it took some debugging to detect.<\/p>\n<p>I also found that I don&#8217;t have a nice process for updating dependencies like that (yet): have to pull\/push and rebuild docker containers by hand: not cool. Will think on how to automate this.<\/p>\n<p>Generally, whenever you remotely login into production machine to &#8220;customize&#8221; it, you open yourself to human error, and lose ability to reliably duplicate production environment at will: it is impossible to guarantee that whatever commands were run on current production would be repeated on the new one.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Found first hiccup: LiveJournal cross-post plugin did not work on the new site. The error was somewhat misleading: something like &#8216;message from www.livejournal.com: malformed, unable to parse&#8217;. In fact it <a href=\"https:\/\/ikriv.com\/blog\/?p=4685\" class=\"more-link\">[&hellip;]<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"Layout":"","footnotes":""},"categories":[1],"tags":[],"class_list":["entry","author-ikriv","post-4685","post","type-post","status-publish","format-standard","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/ikriv.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/4685","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ikriv.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ikriv.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ikriv.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ikriv.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4685"}],"version-history":[{"count":1,"href":"https:\/\/ikriv.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/4685\/revisions"}],"predecessor-version":[{"id":4686,"href":"https:\/\/ikriv.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/4685\/revisions\/4686"}],"wp:attachment":[{"href":"https:\/\/ikriv.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4685"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ikriv.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4685"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ikriv.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4685"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}