{"id":1245,"date":"2009-05-05T21:00:54","date_gmt":"2009-05-05T19:00:54","guid":{"rendered":"http:\/\/planetozh.com\/blog\/?p=1245"},"modified":"2009-05-05T21:35:18","modified_gmt":"2009-05-05T19:35:18","slug":"didnt-know-but-im-awesm-a-post-about-url-shorteners-gpl-and-wordpress","status":"publish","type":"post","link":"https:\/\/planetozh.com\/blog\/2009\/05\/didnt-know-but-im-awesm-a-post-about-url-shorteners-gpl-and-wordpress\/","title":{"rendered":"Didn&#8217;t Know, But I&#8217;m Awe.sm (a Post About URL Shorteners, GPL and WordPress)"},"content":{"rendered":"<p>I&#39;ve just read on TechCrunch the <a href=\"http:\/\/www.techcrunch.com\/2009\/05\/04\/its-awesm-create-a-powerful-custom-url-shortener-for-your-own-domain\/\">announcement<\/a> about <a href=\"http:\/\/awe.sm\/\">awe.sm<\/a>, a service that sells custom URL shorteners (<em>a la<\/em> TinyURL) for your own domain.<\/p>\n<p>That&#39;s funny: I&#39;ve been using my own private URL shortener for about a week now (notice the &quot;shorter link&quot; mention at the top of this post). The script I&#39;m using is based on something created by <a href=\"http:\/\/lesterchan.net\/\">Lester &#39;GamerZ&#39; Chan<\/a> who has been running his own URL shortener on <a href=\"http:\/\/lc.sg\/\">lc.sg<\/a> for a while, and that I&#39;ve improved (re-using some code from my work on <a href=\"http:\/\/scr.im\/\">scr.im<\/a>) and hooked with WordPress (so, for instance, right when I&#39;ll press &quot;Publish&quot;, my URL shortener will create a tiny link for this post, WP will store it in a custom field and broadcast it on my <a href=\"http:\/\/twitter.com\/ozh\">Twitter account<\/a>)<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/planetozh.com\/blog\/wp-content\/uploads\/2009\/05\/url-shortener-ozh.png\" alt=\"url-shortener-ozh\" title=\"url-shortener-ozh\" width=\"590\" height=\"170\" class=\"aligncenter size-full wp-image-1247\" srcset=\"https:\/\/planetozh.com\/blog\/wp-content\/uploads\/2009\/05\/url-shortener-ozh.png 590w, https:\/\/planetozh.com\/blog\/wp-content\/uploads\/2009\/05\/url-shortener-ozh-300x86.png 300w\" sizes=\"auto, (max-width: 590px) 100vw, 590px\" \/><\/p>\n<p>The point of running your own URL shortener is obvious: it&#39;s leet and fun :) Moreover, it sorts of certifies that the shortened link won&#39;t be some crappy spam, as this is not a public tool. Our tool provides basic stats (number of clicks), my domain is short (ozh.in), my wife is amazed, I don&#39;t need more to be a happy man.<\/p>\n<p>Lester and I have been discussing about GPL&#39;ing our URL shortener and plugin, but I was just dubious that this would interest people. Now, seeing the announcement about awe.sm, I&#39;m changing my mind. Would this actually interest some of you?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#39;ve just read on TechCrunch the announcement about awe.sm, a service that sells custom URL shorteners (a la TinyURL) for your own domain. That&#39;s funny: I&#39;ve been using my own private URL shortener for about a week now (notice the &quot;shorter link&quot; mention at the top of this post). The script I&#39;m using is based on something created by Lester\u2026<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[21],"tags":[85,354,245],"class_list":["post-1245","post","type-post","status-publish","format-standard","hentry","category-published","tag-plugins","tag-tinyurl","tag-wordpress"],"_links":{"self":[{"href":"https:\/\/planetozh.com\/blog\/wp-json\/wp\/v2\/posts\/1245","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/planetozh.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/planetozh.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/planetozh.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/planetozh.com\/blog\/wp-json\/wp\/v2\/comments?post=1245"}],"version-history":[{"count":0,"href":"https:\/\/planetozh.com\/blog\/wp-json\/wp\/v2\/posts\/1245\/revisions"}],"wp:attachment":[{"href":"https:\/\/planetozh.com\/blog\/wp-json\/wp\/v2\/media?parent=1245"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/planetozh.com\/blog\/wp-json\/wp\/v2\/categories?post=1245"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/planetozh.com\/blog\/wp-json\/wp\/v2\/tags?post=1245"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}