{"id":28,"date":"2005-04-10T00:36:42","date_gmt":"2005-04-10T08:36:42","guid":{"rendered":"http:\/\/zachfine.com\/blog\/2005\/04\/10\/in-which-i-write-my-own-version-of-tinyurl-for-the-hell-of-it\/"},"modified":"2007-04-24T01:59:07","modified_gmt":"2007-04-24T09:59:07","slug":"in-which-i-write-my-own-version-of-tinyurl-for-the-hell-of-it","status":"publish","type":"post","link":"https:\/\/zachfine.com\/blog\/2005\/04\/10\/in-which-i-write-my-own-version-of-tinyurl-for-the-hell-of-it\/","title":{"rendered":"in which I write my own version of tinyURL for the hell of it"},"content":{"rendered":"<p>On a text based bbs that I frequent, someone posted a URL so long that it spanned 4 lines. I didn&#8217;t even bother looking at it because that would have entailed copying and pasting the 4 lines separately into my web browser&#8217;s location field. Someone later posted a <a href=\"http:\/\/www.tinyurl.com\">tinyurl<\/a> version of it to the bbs.<\/p>\n<p>In case you&#8217;re wondering what I&#8217;m talking about, tinyurl is a site that lets you create really short URLs that will then redirect to the original longer URL.<\/p>\n<p>I posted that I thought tinyURL was a great way to go for URLs on the bbs. Several people responded that they don&#8217;t like tinyURL for a number of reasons:<\/p>\n<ol>\n<li>They don&#8217;t know what a link is before they click on it &#8212; it could be a porn site for all they know.<\/li>\n<li>They never know before clicking a link whether it&#8217;s work-safe or not &#8212; goes along with reason #1<\/li>\n<li>They can&#8217;t get to tinyURL from work &#8212; maybe the router at their workplace blocks the site for some reason?<\/li>\n<\/ol>\n<p>I figured it&#8217;d be easy to write a script that does the same sort of thing as tinyURL, but adds features that these bbs users would want. I haven&#8217;t done any web development for a while, and figured writing my own tinyURL alternative would be a fun exercise.<\/p>\n<p>So I fired up emacs, dusted off my mysql server, apache, and php processes, and got to work. The result: <a href=\"http:\/\/zachfine.com\/xiao.php\">xiaoURL<\/a>.  Using xiaoURL is a more complicated process than tinyURL &#8212; xiaoURL doesn&#8217;t automatically forward users to the longer URL&#8217;d website, but instead shows a page of information on the site and provides a link for them to click. This is what people in the industry would call increased &#8220;friction&#8221; in the user experience, but it&#8217;s the best way to deal with the needs of these particular bbs users. Feel free to use it if you like.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>On a text based bbs that I frequent, someone posted a URL so long that it spanned 4 lines. I didn&#8217;t even bother looking at it because that would have entailed copying and pasting the 4 lines separately into my web browser&#8217;s location field. Someone later posted a tinyurl version of it to the bbs. [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_hide_featured_image":false,"_jetpack_featured_image_duplicate_dismissed":0,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[13],"tags":[],"class_list":["post-28","post","type-post","status-publish","format-standard","hentry","category-geeky"],"jetpack_publicize_connections":[],"jetpack_shortlink":"https:\/\/wp.me\/ptNpF-s","jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/zachfine.com\/blog\/wp-json\/wp\/v2\/posts\/28","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/zachfine.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zachfine.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zachfine.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/zachfine.com\/blog\/wp-json\/wp\/v2\/comments?post=28"}],"version-history":[{"count":0,"href":"https:\/\/zachfine.com\/blog\/wp-json\/wp\/v2\/posts\/28\/revisions"}],"wp:attachment":[{"href":"https:\/\/zachfine.com\/blog\/wp-json\/wp\/v2\/media?parent=28"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zachfine.com\/blog\/wp-json\/wp\/v2\/categories?post=28"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zachfine.com\/blog\/wp-json\/wp\/v2\/tags?post=28"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}