<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Anyone know how to make your own tiny/short URLs?</title>
	<atom:link href="http://www.edbott.com/weblog/?feed=rss2&#038;p=790" rel="self" type="application/rss+xml" />
	<link>http://www.edbott.com/weblog/?p=790</link>
	<description>Helping PC users make sense of Microsoft software since 1991</description>
	<lastBuildDate>Fri, 20 Nov 2009 18:54:09 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Ades</title>
		<link>http://www.edbott.com/weblog/?p=790&#038;cpage=1#comment-155238</link>
		<dc:creator>Ades</dc:creator>
		<pubDate>Thu, 19 Apr 2007 14:04:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.edbott.com/wordpress/?p=790#comment-155238</guid>
		<description>Have you tried shorty? It&#039;s a php script to make links shorter. Check it out http://get-shorty.com/</description>
		<content:encoded><![CDATA[<p>Have you tried shorty? It&#8217;s a php script to make links shorter. Check it out <a href="http://get-shorty.com/" rel="nofollow">http://get-shorty.com/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hubert Kay</title>
		<link>http://www.edbott.com/weblog/?p=790&#038;cpage=1#comment-1792</link>
		<dc:creator>Hubert Kay</dc:creator>
		<pubDate>Wed, 31 Dec 1969 17:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.edbott.com/wordpress/?p=790#comment-1792</guid>
		<description>How about Frontpage?

Not trying to be funny here, but what you&#039;re attempting is simple enough: a web based list of links. Why don&#039;t you create a simple home page, one sub-page per chapter of your book, and on each sub-page, properly referenced, you provide the URLs?</description>
		<content:encoded><![CDATA[<p>How about Frontpage?</p>
<p>Not trying to be funny here, but what you&#8217;re attempting is simple enough: a web based list of links. Why don&#8217;t you create a simple home page, one sub-page per chapter of your book, and on each sub-page, properly referenced, you provide the URLs?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ed Bott</title>
		<link>http://www.edbott.com/weblog/?p=790&#038;cpage=1#comment-1793</link>
		<dc:creator>Ed Bott</dc:creator>
		<pubDate>Wed, 31 Dec 1969 17:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.edbott.com/wordpress/?p=790#comment-1793</guid>
		<description>Thanks for the suggestion, Hubert.

That&#039;s one way of doing it, but it puts the burden on the reader to enter the URL for that chapter, find the corresponding link, and then click it. That&#039;s a little better than having some godawful long URL in the book, but it&#039;s still not friendly enough.

As a reader, I want to be able to type in a short URL and get redirected to the page where I want to go. I suppose I could hack around with FrontPage or a similar site management program and get it to do the redirects for me, but I&#039;m hoping that someone else has already had the same brainstorm and I can just use their code.</description>
		<content:encoded><![CDATA[<p>Thanks for the suggestion, Hubert.</p>
<p>That&#8217;s one way of doing it, but it puts the burden on the reader to enter the URL for that chapter, find the corresponding link, and then click it. That&#8217;s a little better than having some godawful long URL in the book, but it&#8217;s still not friendly enough.</p>
<p>As a reader, I want to be able to type in a short URL and get redirected to the page where I want to go. I suppose I could hack around with FrontPage or a similar site management program and get it to do the redirects for me, but I&#8217;m hoping that someone else has already had the same brainstorm and I can just use their code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan Walters</title>
		<link>http://www.edbott.com/weblog/?p=790&#038;cpage=1#comment-1794</link>
		<dc:creator>Ryan Walters</dc:creator>
		<pubDate>Wed, 31 Dec 1969 17:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.edbott.com/wordpress/?p=790#comment-1794</guid>
		<description>I&#039;ve implemented this on a couple of my sites, although I&#039;ve used it to redirect users from old content locations to the new URLs on the same site, not to manage external links. For instance, see &lt;a href=&quot;http://blj.ucdavis.edu/Editions/Spring%202003/bankruptcy_and_the_sarbanes.htm&quot; rel=&quot;nofollow&quot;&gt;this URL&lt;/a&gt;, which doesn&#039;t exist as physical file on the webserver. It&#039;s instead just an entry in the redirects database.

Getting the webserver to interpret a URL that doesn&#039;t exist (edbott.com/23) instead of a URL with a GET string (edbott.com/link.asp?id=23) is easy: in IIS manager, you just map the custom error 404 to a new file you call 404.asp.

That file looks up URLs in a database (even an Access database will do) and redirects the users using Response.Redirect. I&#039;d give you my code, but you seem to not be running IIS, and I don&#039;t write PHP...</description>
		<content:encoded><![CDATA[<p>I&#8217;ve implemented this on a couple of my sites, although I&#8217;ve used it to redirect users from old content locations to the new URLs on the same site, not to manage external links. For instance, see <a href="http://blj.ucdavis.edu/Editions/Spring%202003/bankruptcy_and_the_sarbanes.htm" rel="nofollow">this URL</a>, which doesn&#8217;t exist as physical file on the webserver. It&#8217;s instead just an entry in the redirects database.</p>
<p>Getting the webserver to interpret a URL that doesn&#8217;t exist (edbott.com/23) instead of a URL with a GET string (edbott.com/link.asp?id=23) is easy: in IIS manager, you just map the custom error 404 to a new file you call 404.asp.</p>
<p>That file looks up URLs in a database (even an Access database will do) and redirects the users using Response.Redirect. I&#8217;d give you my code, but you seem to not be running IIS, and I don&#8217;t write PHP&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ed Bott</title>
		<link>http://www.edbott.com/weblog/?p=790&#038;cpage=1#comment-1795</link>
		<dc:creator>Ed Bott</dc:creator>
		<pubDate>Wed, 31 Dec 1969 17:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.edbott.com/wordpress/?p=790#comment-1795</guid>
		<description>Thanks, Ryan. You&#039;re right, it would have to be PHP, and the solution you&#039;ve come up with is exactly what I&#039;m looking for, conceptually. Hmmm. I suppose I could hack something together with a little study. For someone who already knows PHP and MySQL, this should be child&#039;s play. (Easy for me to say, right?) Anyone out there with the qualifications who wants to try to put something together?

I&#039;ve got some redirects on this site, but for a book project, the total number of URLs in the database would probably number in the hundreds, which is too many to manage manually.</description>
		<content:encoded><![CDATA[<p>Thanks, Ryan. You&#8217;re right, it would have to be PHP, and the solution you&#8217;ve come up with is exactly what I&#8217;m looking for, conceptually. Hmmm. I suppose I could hack something together with a little study. For someone who already knows PHP and MySQL, this should be child&#8217;s play. (Easy for me to say, right?) Anyone out there with the qualifications who wants to try to put something together?</p>
<p>I&#8217;ve got some redirects on this site, but for a book project, the total number of URLs in the database would probably number in the hundreds, which is too many to manage manually.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan Walters</title>
		<link>http://www.edbott.com/weblog/?p=790&#038;cpage=1#comment-1796</link>
		<dc:creator>Ryan Walters</dc:creator>
		<pubDate>Wed, 31 Dec 1969 17:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.edbott.com/wordpress/?p=790#comment-1796</guid>
		<description>A List Apart has a &lt;a href=&quot;http://www.alistapart.com/articles/succeed/&quot; rel=&quot;nofollow&quot;&gt;good article&lt;/a&gt; for PHP, with everything but the code to access the database.</description>
		<content:encoded><![CDATA[<p>A List Apart has a <a href="http://www.alistapart.com/articles/succeed/" rel="nofollow">good article</a> for PHP, with everything but the code to access the database.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: windy727</title>
		<link>http://www.edbott.com/weblog/?p=790&#038;cpage=1#comment-1797</link>
		<dc:creator>windy727</dc:creator>
		<pubDate>Wed, 31 Dec 1969 17:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.edbott.com/wordpress/?p=790#comment-1797</guid>
		<description>I like the PC World&#039;s Find page. I&#039;m sure you&#039;ve used it, too. Maybe they would tell you how they do it.</description>
		<content:encoded><![CDATA[<p>I like the PC World&#8217;s Find page. I&#8217;m sure you&#8217;ve used it, too. Maybe they would tell you how they do it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: brian</title>
		<link>http://www.edbott.com/weblog/?p=790&#038;cpage=1#comment-1798</link>
		<dc:creator>brian</dc:creator>
		<pubDate>Wed, 31 Dec 1969 17:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.edbott.com/wordpress/?p=790#comment-1798</guid>
		<description>You want to point the urls to your own site and use mod_redirect or mod_rewrite, assuming you&#039;re running apache.  No need to code it in php when the functionality already exists in apache.</description>
		<content:encoded><![CDATA[<p>You want to point the urls to your own site and use mod_redirect or mod_rewrite, assuming you&#8217;re running apache.  No need to code it in php when the functionality already exists in apache.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Meller</title>
		<link>http://www.edbott.com/weblog/?p=790&#038;cpage=1#comment-1799</link>
		<dc:creator>Chris Meller</dc:creator>
		<pubDate>Wed, 31 Dec 1969 17:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.edbott.com/wordpress/?p=790#comment-1799</guid>
		<description>Welp, this was an interesting idea. Since I hadn&#039;t heard of a pre-packaged system for doing this, I decided to write one myself. It&#039;s a very rough example, mainly meant to be used as a starting point (particularly since I have no use for it).

You can find the example, as well as all the source code here: &lt;a href=&quot;http://dacnomm.com/simpleurl/&quot; rel=&quot;nofollow&quot;&gt;http://dacnomm.com/simpleurl/&lt;/a&gt;

As the page says, if you need help, drop me an email!</description>
		<content:encoded><![CDATA[<p>Welp, this was an interesting idea. Since I hadn&#8217;t heard of a pre-packaged system for doing this, I decided to write one myself. It&#8217;s a very rough example, mainly meant to be used as a starting point (particularly since I have no use for it).</p>
<p>You can find the example, as well as all the source code here: <a href="http://dacnomm.com/simpleurl/" rel="nofollow">http://dacnomm.com/simpleurl/</a></p>
<p>As the page says, if you need help, drop me an email!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy King</title>
		<link>http://www.edbott.com/weblog/?p=790&#038;cpage=1#comment-1800</link>
		<dc:creator>Andy King</dc:creator>
		<pubDate>Wed, 31 Dec 1969 17:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.edbott.com/wordpress/?p=790#comment-1800</guid>
		<description>ed,
hi, i talk about how yahoo.com and webreference.com use mod_rewrite to auto-abbreviate urls in my book, Speed Up Your Site (chap 17 i believe), as well as in an article at:

&lt;a href=&quot;http://www.websiteoptimization.com/speed/tweak/abbreviate/&quot; rel=&quot;nofollow&quot;&gt;http://www.websiteoptimization.com/speed/tweak/abbreviate/&lt;/a&gt;

- andy</description>
		<content:encoded><![CDATA[<p>ed,<br />
hi, i talk about how yahoo.com and webreference.com use mod_rewrite to auto-abbreviate urls in my book, Speed Up Your Site (chap 17 i believe), as well as in an article at:</p>
<p><a href="http://www.websiteoptimization.com/speed/tweak/abbreviate/" rel="nofollow">http://www.websiteoptimization.com/speed/tweak/abbreviate/</a></p>
<p>- andy</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Meller</title>
		<link>http://www.edbott.com/weblog/?p=790&#038;cpage=1#comment-1801</link>
		<dc:creator>Chris Meller</dc:creator>
		<pubDate>Wed, 31 Dec 1969 17:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.edbott.com/wordpress/?p=790#comment-1801</guid>
		<description>Several people have mentioned the use of Apache modules to fix this problem. While that would certainly work, I&#039;d personally prefer the PHP / MySQL solution I came up with for a couple reasons:

1) I don&#039;t know how to use mod_rewrite. I know it&#039;s not difficult, but off the top of my head, I don&#039;t have a clue.
2) Requires Apache, while the PHP / MySQL solution should work on IIS as well.
3) Many hosts (assuming you&#039;re using shared hosting) won&#039;t give you access to the Apache config file, and might lock down .htaccess as well, so you wouldn&#039;t be able to use mod_rewrite.

PHP and MySQL may not be the most efficient solution in a couple ways, but it&#039;s certainly got the broadest range of coverage, not to mention it&#039;s incredibly easy...</description>
		<content:encoded><![CDATA[<p>Several people have mentioned the use of Apache modules to fix this problem. While that would certainly work, I&#8217;d personally prefer the PHP / MySQL solution I came up with for a couple reasons:</p>
<p>1) I don&#8217;t know how to use mod_rewrite. I know it&#8217;s not difficult, but off the top of my head, I don&#8217;t have a clue.<br />
2) Requires Apache, while the PHP / MySQL solution should work on IIS as well.<br />
3) Many hosts (assuming you&#8217;re using shared hosting) won&#8217;t give you access to the Apache config file, and might lock down .htaccess as well, so you wouldn&#8217;t be able to use mod_rewrite.</p>
<p>PHP and MySQL may not be the most efficient solution in a couple ways, but it&#8217;s certainly got the broadest range of coverage, not to mention it&#8217;s incredibly easy&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Wells</title>
		<link>http://www.edbott.com/weblog/?p=790&#038;cpage=1#comment-1802</link>
		<dc:creator>Michael Wells</dc:creator>
		<pubDate>Wed, 31 Dec 1969 17:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.edbott.com/wordpress/?p=790#comment-1802</guid>
		<description>There&#039;s a similar discussion worth reading on &lt;a href=&quot;http://www.sellsbrothers.com/news/showTopic.aspx?ixTopic=1793&quot; rel=&quot;nofollow&quot;&gt;Chris Sells&#039; blog&lt;/a&gt;;

I&#039;ve left some comments on Chris&#039;s post regarding the general problem and approach, but I may have a specific solution as well.

My firm has developed a .NET-based platform (dubbed &quot;Liquid&quot;), which essentially replaces the traditional webserver URL-resolution mechanism with a custom database lookup.  It uses regular expressions to match and parse URLs, and to decide which handler class to load for each request; for example, any of;

&lt;a href=&quot;http://books.edbott.com/mybook1/p123&quot; rel=&quot;nofollow&quot;&gt;http://books.edbott.com/mybook1/p123&lt;/a&gt;
&lt;a href=&quot;http://www.mybook1.com/p123&quot; rel=&quot;nofollow&quot;&gt;http://www.mybook1.com/p123&lt;/a&gt;
&lt;a href=&quot;http://books.edbott.com/mybook1/pg123&quot; rel=&quot;nofollow&quot;&gt;http://books.edbott.com/mybook1/pg123&lt;/a&gt;
&lt;a href=&quot;http://books.edbott.com/mybook1/p&quot; rel=&quot;nofollow&quot;&gt;http://books.edbott.com/mybook1/p&lt;/a&gt; 123
&lt;a href=&quot;http://books.edbott.com/mybook1/page&quot; rel=&quot;nofollow&quot;&gt;http://books.edbott.com/mybook1/page&lt;/a&gt; 123

Can be regex-matched and parsed as book=mybook1, page=123, then passed off to a &#039;BookPage&#039; handler for the HTML rendering.

Individually numbered URLs would be similar;

&lt;a href=&quot;http://books.edbott.com/mybook1/123&quot; rel=&quot;nofollow&quot;&gt;http://books.edbott.com/mybook1/123&lt;/a&gt;
&lt;a href=&quot;http://www.mybook1.com/123&quot; rel=&quot;nofollow&quot;&gt;http://www.mybook1.com/123&lt;/a&gt;
&lt;a href=&quot;http://books.edbott.com/mybook1/url&quot; rel=&quot;nofollow&quot;&gt;http://books.edbott.com/mybook1/url&lt;/a&gt; 123
&lt;a href=&quot;http://books.edbott.com/mybook1/urls/123&quot; rel=&quot;nofollow&quot;&gt;http://books.edbott.com/mybook1/urls/123&lt;/a&gt;

And you can simplify entry by offering a book mainpage with a &quot;type in the URL number here&quot; entry area.

I currently use the system for very large affiliate programs where millions of discrete URLs are required, but the system has a lot of other applications.

I&#039;ve been giving a lot of thought to the &quot;hand-typed-URL&quot; problem and am working on ideas for how to develop a service for book authors, publishing houses, magazines, newspapers, radio stations, direct mail campaigns, etc.

If the self-hosted PHP approach isn&#039;t a rigid requirement, and the rough concept sounds like a fit, maybe we should consider an experiment.</description>
		<content:encoded><![CDATA[<p>There&#8217;s a similar discussion worth reading on <a href="http://www.sellsbrothers.com/news/showTopic.aspx?ixTopic=1793" rel="nofollow">Chris Sells&#8217; blog</a>;</p>
<p>I&#8217;ve left some comments on Chris&#8217;s post regarding the general problem and approach, but I may have a specific solution as well.</p>
<p>My firm has developed a .NET-based platform (dubbed &#8220;Liquid&#8221;), which essentially replaces the traditional webserver URL-resolution mechanism with a custom database lookup.  It uses regular expressions to match and parse URLs, and to decide which handler class to load for each request; for example, any of;</p>
<p><a href="http://books.edbott.com/mybook1/p123" rel="nofollow">http://books.edbott.com/mybook1/p123</a><br />
<a href="http://www.mybook1.com/p123" rel="nofollow">http://www.mybook1.com/p123</a><br />
<a href="http://books.edbott.com/mybook1/pg123" rel="nofollow">http://books.edbott.com/mybook1/pg123</a><br />
<a href="http://books.edbott.com/mybook1/p" rel="nofollow">http://books.edbott.com/mybook1/p</a> 123<br />
<a href="http://books.edbott.com/mybook1/page" rel="nofollow">http://books.edbott.com/mybook1/page</a> 123</p>
<p>Can be regex-matched and parsed as book=mybook1, page=123, then passed off to a &#8216;BookPage&#8217; handler for the HTML rendering.</p>
<p>Individually numbered URLs would be similar;</p>
<p><a href="http://books.edbott.com/mybook1/123" rel="nofollow">http://books.edbott.com/mybook1/123</a><br />
<a href="http://www.mybook1.com/123" rel="nofollow">http://www.mybook1.com/123</a><br />
<a href="http://books.edbott.com/mybook1/url" rel="nofollow">http://books.edbott.com/mybook1/url</a> 123<br />
<a href="http://books.edbott.com/mybook1/urls/123" rel="nofollow">http://books.edbott.com/mybook1/urls/123</a></p>
<p>And you can simplify entry by offering a book mainpage with a &#8220;type in the URL number here&#8221; entry area.</p>
<p>I currently use the system for very large affiliate programs where millions of discrete URLs are required, but the system has a lot of other applications.</p>
<p>I&#8217;ve been giving a lot of thought to the &#8220;hand-typed-URL&#8221; problem and am working on ideas for how to develop a service for book authors, publishing houses, magazines, newspapers, radio stations, direct mail campaigns, etc.</p>
<p>If the self-hosted PHP approach isn&#8217;t a rigid requirement, and the rough concept sounds like a fit, maybe we should consider an experiment.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Randy Holloway Unfiltered</title>
		<link>http://www.edbott.com/weblog/?p=790&#038;cpage=1#comment-1803</link>
		<dc:creator>Randy Holloway Unfiltered</dc:creator>
		<pubDate>Wed, 31 Dec 1969 17:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.edbott.com/wordpress/?p=790#comment-1803</guid>
		<description>&lt;strong&gt;Tiny URLs?&lt;/strong&gt;

Ed Bott is looking for a system that can create &quot;tiny&quot; URLs and store them on your local system, as opposed to storing them on someone else&#039;s server. I&#039;m interested in this ideal also, but haven&#039;t seen anything. It would...
</description>
		<content:encoded><![CDATA[<p><strong>Tiny URLs?</strong></p>
<p>Ed Bott is looking for a system that can create &#8220;tiny&#8221; URLs and store them on your local system, as opposed to storing them on someone else&#8217;s server. I&#8217;m interested in this ideal also, but haven&#8217;t seen anything. It would&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
