{"id":8433,"date":"2018-11-19T17:31:25","date_gmt":"2018-11-19T17:31:25","guid":{"rendered":"http:\/\/johnjohnston.info\/blog\/?p=8433"},"modified":"2018-11-19T17:33:03","modified_gmt":"2018-11-19T17:33:03","slug":"micro-whoops","status":"publish","type":"post","link":"https:\/\/johnjohnston.info\/blog\/micro-whoops\/","title":{"rendered":"micro whoops"},"content":{"rendered":"<p>I started to write the odd weekly recap of my view of micro.blog and it misfired in a very confusing, to me, way. <a title=\"a week in micro.blog |\" href=\"http:\/\/johnjohnston.info\/blog\/a-week-in-micro-blog\/\">The post<\/a> went through to the micro.blog app as a titled post. I had kept the character count down to under 280. The post was a status post. It should have appeared in all of its glory on micro.blog.<\/p>\n<p>I looked at it for a while and then headed over to the micro.blog slack community to bother <a title=\"Micro.blog - @manton\" href=\"https:\/\/micro.blog\/manton\">@manton<\/a>. Only after that I looked again and thought it through.<\/p>\n<p>My script that removes titles in RSS from my status posts if the post &lt;280 chars didn&#8217;t account for emoji being counted as multiple chars. It wasn&#8217;t till I&#8217;d posted to slack that I figured this out.<\/p>\n<p>I&#8217;ve figure out how to work round this, replacing emoji with one character using a slight change to <a href=\"https:\/\/mdhughes.tech\/2018\/01\/11\/fake-emoji-smart-quotes-fuck-off\/\">this function<\/a> from <a href=\"http:\/\/micro.blog\/mdhughes\">@mdhughes<\/a>. I&#8217;ll probably have to wait until next week to post another recap and see if it really will work.<\/p>\n<p>I&#8217;ve updated this gist: <a href=\"https:\/\/gist.github.com\/troutcolor\/d8efe232e030fcb94660fcb4813a98f0\">functions that have do with micro.blog and microblogging that live in my child theme&#8217;s functions.php<\/a><\/p>\n<p>It is getting time for a rethink of how the tubes are connected here, I need to simplify a little I think.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I started to write the odd weekly recap of my view of micro.blog and it misfired in a very confusing, to me, way. The post went through to the micro.blog app as a titled post. I had kept the character count down to under 280. The post was a status post. It should have appeared [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"mf2_syndication":[],"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"webmentions_disabled_pings":false,"webmentions_disabled":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[660],"tags":[860,664,85,11],"post_format":[],"class_list":{"0":"post-8433","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"category-micro","7":"tag-functions","8":"tag-micro-blog","9":"tag-php","10":"tag-wordpress","11":"kind-note","13":"h-entry","14":"hentry"},"better_featured_image":null,"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p57zFQ-2c1","jetpack_likes_enabled":false,"jetpack_sharing_enabled":true,"kind":false,"_links":{"self":[{"href":"https:\/\/johnjohnston.info\/blog\/wp-json\/wp\/v2\/posts\/8433","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/johnjohnston.info\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/johnjohnston.info\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/johnjohnston.info\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/johnjohnston.info\/blog\/wp-json\/wp\/v2\/comments?post=8433"}],"version-history":[{"count":1,"href":"https:\/\/johnjohnston.info\/blog\/wp-json\/wp\/v2\/posts\/8433\/revisions"}],"predecessor-version":[{"id":8434,"href":"https:\/\/johnjohnston.info\/blog\/wp-json\/wp\/v2\/posts\/8433\/revisions\/8434"}],"wp:attachment":[{"href":"https:\/\/johnjohnston.info\/blog\/wp-json\/wp\/v2\/media?parent=8433"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/johnjohnston.info\/blog\/wp-json\/wp\/v2\/categories?post=8433"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/johnjohnston.info\/blog\/wp-json\/wp\/v2\/tags?post=8433"},{"taxonomy":"post_format","embeddable":true,"href":"https:\/\/johnjohnston.info\/blog\/wp-json\/wp\/v2\/post_format?post=8433"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}