{"id":2882,"date":"2010-04-18T00:23:16","date_gmt":"2010-04-18T04:23:16","guid":{"rendered":"http:\/\/blogs.n1zyy.com\/n1zyy\/?p=2882"},"modified":"2010-04-18T00:23:16","modified_gmt":"2010-04-18T04:23:16","slug":"micro-posts","status":"publish","type":"post","link":"https:\/\/blogs.n1zyy.com\/n1zyy\/2010\/04\/18\/micro-posts\/","title":{"rendered":"Micro-posts"},"content":{"rendered":"<p>I modified the main page a bit. It tries to parse WordPress cookies and see if you&#8217;re logged in. If so, it offers a &#8220;micro-post&#8221; option. A few things you should know&#8230;<\/p>\n<p>The first is that these &#8216;microposts&#8217; are <em>not<\/em> stored on your real blog. They&#8217;re stored in the generic posts table that RSS feeds of individual blogs are dumped into. Right now there&#8217;s no way to comment on a micropost, thought I hope to add that capability at some point. (I also thought it&#8217;d be neat to add a thumbs-up option to posts, although then I realized that my novel idea was rapidly becoming a clone of Facebook.)<\/p>\n<p>Another thing is that microposts use the way-cool <a href=\"http:\/\/auto-html.rors.org\/\">auto_html<\/a> plugin. (I&#8217;ll have to add AJAX preview at some point.) Basically, if you post a link (by just copying-and-pasting the URL), it will linkify it. If it&#8217;s a Youtube post, it will actually embed the video. If it detects that it&#8217;s an image, it will insert the image. (Sidenote: no resizing is done, since it doesn&#8217;t actually download the image. Please don&#8217;t include enormous photos.)<\/p>\n<p>My hope isn&#8217;t for posts like &#8220;<a href=\"http:\/\/www.youtube.com\/watch?v=PN2HAroA12w\">sitting in my chair now<\/a>&#8220;, but I find a lot of neat links and such that aren&#8217;t really worthy of a full blog post, so I thought I&#8217;d experiment with making it easy to share simple links, more along the lines of Tumblr.<\/p>\n<p>There seems to be a parsing error if you mix URLs and images\/videos in the same post, so keep things simple. \ud83d\ude09 And let me know what you think &#8212; suggestions for enhancements, or pleas to fix anything that I don&#8217;t realize is broken, are always welcome.<\/p>","protected":false},"excerpt":{"rendered":"<p>I modified the main page a bit. It tries to parse WordPress cookies and see if you&#8217;re logged in. If so, it offers a &#8220;micro-post&#8221; option. A few things you should know&#8230; The first is that these &#8216;microposts&#8217; are not &hellip; <a href=\"https:\/\/blogs.n1zyy.com\/n1zyy\/2010\/04\/18\/micro-posts\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-2882","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blogs.n1zyy.com\/n1zyy\/wp-json\/wp\/v2\/posts\/2882","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.n1zyy.com\/n1zyy\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.n1zyy.com\/n1zyy\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.n1zyy.com\/n1zyy\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.n1zyy.com\/n1zyy\/wp-json\/wp\/v2\/comments?post=2882"}],"version-history":[{"count":0,"href":"https:\/\/blogs.n1zyy.com\/n1zyy\/wp-json\/wp\/v2\/posts\/2882\/revisions"}],"wp:attachment":[{"href":"https:\/\/blogs.n1zyy.com\/n1zyy\/wp-json\/wp\/v2\/media?parent=2882"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.n1zyy.com\/n1zyy\/wp-json\/wp\/v2\/categories?post=2882"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.n1zyy.com\/n1zyy\/wp-json\/wp\/v2\/tags?post=2882"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}