1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
\r
2 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
\r
4 <meta http-equiv="X-UA-Compatible" content="chrome=1">
\r
5 <meta http-equiv="content-type" content="text/html; charset=utf-8" />
\r
6 <title>YOURLS: Your Own URL Shortener</title>
\r
7 <style type="text/css" media="screen">
\r
10 font-family: Verdana, Arial;
\r
30 margin: 10px 20px 0px 20px;
\r
32 border: 1px solid #8d8d8d;
\r
33 background-color: #f5f5f5;
\r
41 a, a:active, a:link, a:visited {
\r
43 text-decoration: none;
\r
47 text-decoration: underline;
\r
57 border-bottom:1px solid #ccc;
\r
59 /* Place Holder Style */
\r
63 margin-right: auto;
\r
66 background-color: #fff;
\r
67 border: 1px solid #2A85B3;
\r
70 -moz-border-radius:15px;
\r
71 -webkit-border-radius:15px;
\r
75 font-family: Verdana, Arial;
\r
79 border-bottom: 1px solid #2a85b3;
\r
80 margin-bottom: 10px;
\r
81 background:transparent url(http://yourls.org/images/yourls-logo.png) top center no-repeat;
\r
88 font-family: Verdana, Arial;
\r
98 font-family: Verdana, Arial;
\r
110 font-family: Verdana, Arial;
\r
113 list-style-type: none;
\r
114 padding-bottom: 28px;
\r
115 border-bottom: 1px solid #2A85B3;
\r
116 margin-bottom: 12px;
\r
124 background-color: #deedfb;
\r
125 margin: 2px 0px 0px 5px;
\r
126 border: 1px solid #2A85B3;
\r
127 -moz-border-radius-topleft:5px;
\r
128 -moz-border-radius-topright:5px;
\r
129 -webkit-border-top-left-radius:5px;
\r
130 -webkit-border-top-right-radius:5px;
\r
136 text-decoration: none;
\r
139 #Tabs li.Tab a:hover {
\r
140 background-color: #bfe0fe;
\r
141 border-bottom: 1px solid #bfe0fe;
\r
144 #Tabs li.SelectedTab {
\r
147 background-color: #fff;
\r
148 margin: 2px 0px 0px 5px;
\r
149 border-top: 1px solid #2A85B3;
\r
150 border-right: 1px solid #2A85B3;
\r
151 border-bottom: 1px solid #fafafa;
\r
152 border-left: 1px solid #2A85B3;
\r
153 -moz-border-radius-topleft:3px;
\r
154 -moz-border-radius-topright:3px;
\r
155 -webkit-border-top-left-radius:3px;
\r
156 -webkit-border-top-right-radius:3px;
\r
158 #Tabs li.SelectedTab a {
\r
162 text-decoration: none;
\r
176 -moz-border-radius:10px;
\r
177 -webkit-border-radius:10px;
\r
178 border:1px solid #2A85B3;
\r
179 -moz-border-radius-bottomleft:30px;
\r
180 -moz-border-radius-bottomright:30px;
\r
181 -webkit-border-bottom-left-radius:25px;
\r
182 -webkit-border-bottom-right-radius:25px;
\r
185 background:#fff url(http://yourls.org/images/favicon.gif) 2px center no-repeat;
\r
191 <div id="Container">
\r
193 <h1>YOURLS: <span>Y</span>our <span>O</span>wn <span>URL</span> <span>S</span>hortener</h1>
\r
197 <li id="ShowcaseTab" class="Tab"><a href="#Showcase" onclick="toggle(this);">More</a></li>
\r
198 <li id="FAQTab" class="Tab"><a href="#FAQ" onclick="toggle(this);">FAQ</a></li>
\r
199 <li id="APITab" class="Tab"><a href="#API" onclick="toggle(this);">API</a></li>
\r
200 <li id="PluginTab" class="Tab"><a href="#Plugin" onclick="toggle(this);">WordPress plugin</a></li>
\r
201 <li id="PluginsTab" class="Tab"><a href="#Plugins" onclick="toggle(this);">YOURLS plugins</a></li>
\r
202 <li id="ConfigTab" class="Tab"><a href="#Config" onclick="toggle(this);">Configuration</a></li>
\r
203 <li id="InstallTab" class="Tab"><a href="#Install" onclick="toggle(this);">Install/Upgrade</a></li>
\r
204 <li id="AboutTab" class="SelectedTab"><a href="#About" onclick="toggle(this);">About</a></li>
\r
210 <div id="AboutDiv">
\r
211 <h2>About YOURLS</h2>
\r
213 <h3>What is YOURLS</h3>
\r
214 <p>YOURLS is a small set of PHP scripts that will allow you to run your own URL shortening service (<em>a la</em> TinyURL). You can make it private or public, you can pick custom keyword URLs, it comes with its own API. You will love it.</p>
\r
215 <p>There's a <a href="#Plugin" onclick="toggle(this);">WordPress plugin</a> available for YOURLS, making integration with your blog a snap: create short URLs and tweet them automagically as you publish blog posts.</p>
\r
217 <h3>YOURLS Features</h3>
\r
219 <li><tt>Private</tt> (your links only) or <tt>Public</tt> (everybody can create short links, fine for an intranet)</li>
\r
220 <li>Sequential or custom URL keyword</li>
\r
221 <li>Handy <tt>bookmarklets</tt> to easily shorten and share links</li>
\r
222 <li>Awesome <tt>stats</tt>: historical click reports, referrers tracking, visitors geo-location</li>
\r
223 <li>Neat <tt>Ajaxed</tt> interface</li>
\r
224 <li>Terrific <tt>Plugin</tt> architecture to easily implement new features</li>
\r
225 <li>Cool developer <tt>API</tt></li>
\r
226 <li>Friendly <tt>installer</tt></li>
\r
227 <li><tt>Sample files</tt> to create your own public interface and more</li>
\r
230 <h3>Screenshots</h3>
\r
232 <div class="sshot">
\r
233 <p>Main admin dashboard</p>
\r
234 <img src="http://yourls.org/images/admin-dashboard.gif" />
\r
236 <p>Stats for each short URL</p>
\r
237 <img src="http://yourls.org/images/stats-anim.gif" />
\r
239 <p>See a live example of YOURLS stats on <a href="http://yourls.org/download+">http://yourls.org/download+</a></p>
\r
244 <p><a href="http://yourls.org/download">Download YOURLS</a> from Google Code</p>
\r
245 <p>You can follow YOURLS' development on the <a href="http://yourls.org/revisions">revision list</a> and get current snapshot <a href="http://yourls.org/svnco">using SVN</a></p>
\r
249 <p>YOURLS is made by:</p>
\r
251 <li><a href="http://yourls.org/lesterchan" title="Visit Lester Chan's site">Lester Chan</a> &ndash <a href="http://twitter.com/gamerz">@GamerZ</a> on Twitter (initial idea)</li>
\r
252 <li><a href="http://yourls.org/ozh" title"Visit Ozh's site">Ozh Richard</a> &ndash <a href="http://twitter.com/ozh">@Ozh</a> on Twitter (development)</li>
\r
254 <p>Keep up to date: follow Ozh and read the official <a href="http://blog.yourls.org/">YOURLS Blog</a></p>.
\r
257 <!-- Installation Instructions -->
\r
258 <div id="InstallDiv" style="display: none;">
\r
259 <h2>Fresh Install</h2>
\r
261 <li>Unzip the YOURLS archive</li>
\r
262 <li>Copy <code>includes/config-sample.php</code> to <code>user/config.php</code></li>
\r
263 <li>Open <code>user/config.php</code> with a raw text editor (like Notepad) and fill in the required settings</li>
\r
264 <li>Upload the unzipped files to your domain <code>public_html</code> or <code>www</code> folder</li>
\r
265 <li>Create a new database (see <a href="#Config" onclick="toggle(this);">Configuration</a> – you can also use an existing one)</li>
\r
266 <li>Point your browser to <code>http://yoursite.com/admin/</code></li>
\r
269 <h2>Upgrade from YOURLS 1.4.x</h2>
\r
271 <li><strong>Backup the database!</strong></li>
\r
272 <li>Unzip the YOURLS archive</li>
\r
273 <li>Upload files to your server, overwriting your existing install</li>
\r
274 <li>Point your browser to <code>http://yoursite.com/admin/</code></li>
\r
275 <li>Tip: you can now move your <code>config.php</code> file to the <code>/user</code> directory</li>
\r
278 <h2>Upgrade from YOURLS 1.3 or earlier</h2>
\r
280 <li><strong>Backup the database!</strong></li>
\r
281 <li>Make a copy of your <code>config.php</code></li>
\r
282 <li>Delete all files including <code>.htaccess</code> in YOURLS root directory</li>
\r
283 <li>Unzip the YOURLS archive, upload the files</li>
\r
284 <li>Copy <code>config-sample.php</code> to <code>config.php</code> and fill in details. <strong>Don't start with your old config file</strong>, use the new sample config file.</li>
\r
285 <li>In your new <code>config.php</code>, add the <em>defines</em> for <code>YOURLS_DB_TABLE_URL</code> and <code>YOURLS_DB_TABLE_NEXTDEC</code> you had in your previous config file
\r
286 <li>Point your browser to <code>http://yoursite.com/admin/</code> and follow instructions</li>
\r
287 <li>After upgrade is well and over, remove the define <code>YOURLS_DB_TABLE_NEXTDEC</code> from your config file</li>
\r
292 <!-- Configuration Instructions -->
\r
293 <div id="ConfigDiv" style="display: none;">
\r
294 <h2>Configuration (in includes/config.php)</h2>
\r
295 <h3>MySQL settings</h3>
\r
297 <li><code>YOURLS_DB_USER</code><br/>
\r
298 your MySQL username<br/>
\r
299 <em>Example:</em> <tt>'joe'</tt></li>
\r
300 <li><code>YOURLS_DB_PASS</code><br/>
\r
301 your MySQL password<br/>
\r
302 <em>Example:</em> <tt>'MySeCreTPaSsW0rd'</tt></li>
\r
303 <li><code>YOURLS_DB_NAME</code>:
\r
304 The database name<br/>
\r
305 <em>Example:</em> <tt>'yourls'</tt></li>
\r
306 <li><code>YOURLS_DB_HOST</code><br/>
\r
307 The database host<br/>
\r
308 <em>Example:</em> <tt>'localhost'</tt></li>
\r
309 <li><code>YOURLS_DB_PREFIX</code><br/>
\r
310 The name prefix for all the tables YOURLS will need<br/>
\r
311 <em>Example:</em> <tt>'yourls_'</tt></li>
\r
314 <h3>Site options</h3>
\r
316 <li><code>YOURLS_SITE</code><br/>
\r
317 Your (short) domain URL, no trailing slash<br/>
\r
318 <em>Example:</em> <tt>'http://ozh.in'</tt></li>
\r
319 <li><code>YOURLS_HOURS_OFFSET</code><br/>
\r
320 Timezone GMT offset<br/>
\r
321 <em>Example:</em> <tt>'-5'</tt></li>
\r
322 <li><code>YOURLS_PRIVATE</code><br/>
\r
323 Private means protected with login/pass as defined below. Set to false for public usage (on an intranet for instance)<br/>
\r
324 <em>Example:</em> <tt>'true'</tt></li>
\r
325 <li><code>YOURLS_UNIQUE_URLS</code><br/>
\r
326 Allow multiple short URLs for a same long URL<br/>
\r
327 Set to <tt>true</tt> to allow only one pair of shortURL/longURL (default YOURLS behavior), or to <tt>false</tt> to allow creation of multiple short URLs pointing to the same long URL (as bit.ly does)<br/>
\r
328 <em>Example:</em> <tt>'true'</tt></li>
\r
329 <li><code>YOURLS_COOKIEKEY</code><br/>
\r
330 A random secret hash used to encrypt cookies. You don't have to remember it, make it long and complicated. Hint: generate a unique one at <a href="http://yourls.org/cookie">http://yourls.org/cookie</a><br/>
\r
331 <em>Example:</em> <tt>'qQ4KhL_pu|s@Zm7n#%:b^{A[vhm'</tt></li>
\r
332 <li><code>yourls_user_passwords</code><br/>
\r
333 A list of username(s) and password(s) allowed to access the site if private<br/>
\r
334 <em>Example:</em> <tt>'joe' => 'mypassword'</tt></li>
\r
337 <h3>URL Shortening settings</h3>
\r
339 <li><code>YOURLS_URL_CONVERT</code><br/>
\r
340 URL shortening method: base <tt>36</tt> or <tt>62</tt>. See <a onclick="toggle(this);" href="#FAQ">FAQ</a> for more explanations</li>
\r
341 <li><code>yourls_reserved_URL</code><br/>
\r
342 A list of reserved keywords that won't be used as short URLs. Define here negative, unwanted or potentially misleading keywords<br/>
\r
343 <em>Example:</em> <tt>'porn', 'faggot', 'sex', 'nigger', 'fuck', 'cunt', 'dick', 'gay'</tt></li>
\r
346 <h3>Optional settings</h3>
\r
348 <li><code>YOURLS_PRIVATE_INFOS</code><br/>
\r
349 If <code>YOURLS_PRIVATE</code> is set to <tt>true</tt>, you can still easily make your individual stat pages public. To do so, override the global private setting with:<br/>
\r
350 <tt>define('YOURLS_PRIVATE_INFOS', false);</tt>
\r
352 <li><code>YOURLS_PRIVATE_API</code><br/>
\r
353 If <code>YOURLS_PRIVATE</code> is set to <tt>true</tt>, you can still easily make your API public. To do so, override the global private setting with:<br/>
\r
354 <tt>define('YOURLS_PRIVATE_API', false);</tt>
\r
355 <li><code>YOURLS_NOSTATS</code><br/>
\r
356 If <code>YOURLS_NOSTATS</code> is set to <tt>true</tt>, redirects won't be logged and there will be not stats available.<br/>
\r
360 <h3>Advanced settings</h3>
\r
361 <p>File <code>includes/yourls-load.php</code> contains a few more undocumented but self explanatory and commented settings. Add them to your own <code>config.php</code> if you know what you're doing</p>
\r
364 <!-- WordPress plugin -->
\r
365 <div id="PluginDiv" style="display:none">
\r
366 <h2>WordPress Plugin</h2>
\r
370 <li>Generate short URLs for each new post or page</li>
\r
371 <li>Generate short URLs for all your old posts and pages if wished</li>
\r
372 <li>Send a tweet on your Twitter account with the post title and short URL as you publish them</li>
\r
373 <li>Works if YOURLS is hosted on the same server or on a remote server</li>
\r
374 <li>Also compatible with tr.im, is.gd, tinyurl.com and bit.ly for maximum fun</li>
\r
377 <h3>Screenshot</h3>
\r
378 <div class="sshot">
\r
379 <img src="http://yourls.org/images/wpplugin.gif"/>
\r
382 <h3>Download & more informations</h3>
\r
384 <li>Download <a href="http://yourls.org/plugin">YOURLS: WordPress to Twitter</a> from the official WordPress plugin repository</li>
\r
385 <li>More information, tips and feedback on <a href="http://yourls.org/plugindoc">the plugin page</a> from planetOzh</li>
\r
390 <!-- YOURLS plugins -->
\r
391 <div id="PluginsDiv" style="display:none">
\r
392 <h2>Plugins for YOURLS</h2>
\r
395 <p>Plugins are additional PHP scripts that extend the functionalities or features of YOURLS. The core of YOURLS is designed to be as light as possible and avoid bloat (implementing functions not everybody needs) and to allow for easy customization.</p>
\r
396 <p>Using the plugin architecture, you can add new features to YOURLS without having to modify core files. This way, your changes won't be lost when you upgrade your YOURLS installation.</p>
\r
398 <h3>Documentation</h3>
\r
399 <p>Several sample plugins are included in the archive. Read the source and learn the concept. It's easy and fun!</p>
\r
400 <p>Check the <a href="http://yourls.org/pluginapi">plugin API documentation</a> to learn more</p>
\r
405 <div id="APIDiv" style="display:none">
\r
406 <h2>YOURLS' API</h2>
\r
410 <li>Generate or get existing short URLs, with sequential or custom keyword</li>
\r
411 <li>Get some statistics about your links: top clicked links, least clicked links, newest links</li>
\r
412 <li>Output format: JSON, XML, or simple raw text</li>
\r
413 <li>Authentify either with login/password or using a secure passwordless mechanism</li>
\r
417 <p>You need to send parameters to <code>http://yoursite.com/yourls-api.php</code> either via <code>GET</code> or <code>POST</code>. These parameters are:</p>
\r
419 <li>A valid <code>username</code> / <code>password</code> pair, or your <code>signature</code> (see <a href="http://code.google.com/p/yourls/wiki/PasswordlessAPI">Passwordless API requests</a>)</li>
\r
420 <li>The requested <code>action</code>: <tt>"shorturl"</tt> (get short URL for a link), <tt>"expand"</tt> (get long URL of a shorturl), <tt>"url-stats"</tt> (get stats about one short URL) or <tt>"stats"</tt> (get stats about your links)</li>
\r
421 <li>With <tt>action = "shorturl"</tt> :
\r
423 <li>the <code>url</code> to shorten</li>
\r
424 <li>optional <code>keyword</code> for custom short URLs</li>
\r
425 <li>output <code>format</code>: either <tt>"json"</tt>, <tt>"xml"</tt> or <tt>"simple"</tt></li>
\r
428 <li>With <tt>action = "expand"</tt> :
\r
430 <li>the <code>shorturl</code> to expand (can be either 'abc' or 'http://site/abc')</li>
\r
431 <li>output <code>format</code>: either <tt>"json"</tt>, <tt>"xml"</tt> or <tt>"simple"</tt></li>
\r
434 <li>With <tt>action = "url-stats"</tt> :
\r
436 <li>the <code>shorturl</code> for which to get stats (can be either 'abc' or 'http://site/abc')</li>
\r
437 <li>output <code>format</code>: either <tt>"json"</tt> or <tt>"xml"</tt></li>
\r
440 <li>With <tt>action = "stats"</tt> :
\r
442 <li>the <code>filter</code>: either <tt>"top"</tt>, <tt>"bottom"</tt> , <tt>"rand"</tt> or <tt>"last"</tt></li>
\r
443 <li>the <code>limit</code> (maximum number of links to return)</li>
\r
444 <li>output <code>format</code>: either <tt>"json"</tt> or <tt>"xml"</tt></li>
\r
449 <h3>Sample return</h3>
\r
450 <pre><tt><result>
\r
452 <id>62019439011</id>
\r
453 <keyword>shorter</keyword>
\r
454 <url>http://somereallylongurlyouneedtoshrink.com/</url>
\r
455 <date>2009-06-23 18:08:07</date>
\r
456 <ip>127.0.0.1</ip>
\r
458 <status>success</status>
\r
459 <message>http://somereallylongurlyouneedtoshrink.com/ (ID: shorter) added to database</message>
\r
460 <shorturl>http://yoursite.com/shorter</shorturl>
\r
461 </result></tt></pre>
\r
463 <h3>Sample file</h3>
\r
464 <p>There's a sample file included that serves as an example on how to play with the API</p>
\r
469 <!-- FAQ Instructions -->
\r
470 <div id="FAQDiv" style="display: none;">
\r
473 <h3>Server requirements</h3>
\r
475 <li>A server with <strong>mod_rewrite</strong> enabled</li>
\r
476 <li>At least <strong>PHP 4.3</strong></li>
\r
477 <li>At least <strong>MYSQL 4.1</strong></li>
\r
478 <li><em>Note</em>: YOURLS can also run on <a href="http://foolrulez.org/blog/2009/08/foolz-us-make-yourls-work-on-ngin/">Nginx</a> and <a href="http://www.ututech.com/2010/10/configuring-yourls-to-work-with-cherokee-web-server/">Cherokee</a></li>
\r
481 <h3>Server recommendations</h3>
\r
483 <li>PHP <a href="http://www.php.net/curl">CURL extension</a> installed if you plan on playing with the API</li>
\r
486 <h3>Limitations</h3>
\r
488 <li>Maximum length of long URLs to be shortened is <strong>2000 characters</strong></li>
\r
489 <li>Maximum length of custom keyword is <strong>200 characters</strong></li>
\r
490 <li>That makes about <strong>8 sexdecillions of centillions</strong> of available URLs (<a href="http://en.wikipedia.org/wiki/Names_of_large_numbers">seriously</a>. That's a 355 digits number). </li>
\r
493 <h3>Difference Between Base 36 And Base 62 Encoding</h3>
\r
495 <li>Base 36 encoding uses <code>0123456789abcdefghijklmnopqrstuvwxyz</code> for short URLs</li>
\r
496 <li>Base 62 encoding uses <code>0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz</code></li>
\r
497 <li>Stick to one setting, don't change after you've created links as it will change all your short URLs!</li>
\r
498 <li>Base 36 is the default and should be picked if you're not sure.</li>
\r
501 <h3>Getting a short domain name for your YOURLS install</h3>
\r
503 <li>Unless you plan on making it public and popular, any shared hosting should be fine</li>
\r
504 <li><a href="http://domai.nr/">Domainr</a> is a fun search tool that might inspire and help you</li>
\r
505 <li>Aim for exotic top level domains (.in, .im, .li ...), they're often cheap and a lot are still available. <a href="https://www.gandi.net/domain/buy/search/">Gandi</a> is a pretty comprehensive registrar, for instance.</li>
\r
508 <h3>YOURLS needs its own .htaccess</h3>
\r
510 <li>You cannot install YOURLS and, say, WordPress, in the same directory. Both of them need to handle URLs differently</li>
\r
511 <li>If you want to install YOURLS on the same domain than your blog, give it its own (short) subdirectory, such as yourblog.com/s/ (for "short") or yourblog.com/x/ (for "exit")</li>
\r
514 <h3>If YOURLS generates 404 for your short URLs</h3>
\r
516 <li>Make sure <strong>mod_rewrite</strong> is enabled with your Apache server</li>
\r
517 <li>Make sure your .htaccess file looks like <a href="http://yourls.org/htaccess">this one</a></li>
\r
520 <h3>There is no index page at the root of the install</h3>
\r
522 <li>Indeed. It's intented. It's up to the user to make what he needs. Some redirect the root to a different place, some make a public interface for anyone to shorten links, some make a portfolio. You make it.</li>
\r
523 <li>If you want to make a public interface, there's a sample file provided as an example.</li>
\r
525 <h3>Feedback, feature requests and bug reporting</h3>
\r
527 <li>Please don't get in touch directly by mail or Twitter. <a href="http://yourls.org/support">Please</a>.</li>
\r
528 <li>Check the <a href="http://code.google.com/p/yourls/wiki/RoadMap">Road Map</a> for future features.</li>
\r
529 <li>Check all the <a href="http://code.google.com/p/yourls/wiki/">wiki documents</a>.</li>
\r
530 <li>Search in the <a href="http://code.google.com/p/yourls/issues/list?can=1">closed issues</a>.</li>
\r
531 <li>Eventually raise an <a href="http://yourls.org/issues">issue here</a> and give all the details. Thanks!</li>
\r
538 <div id="ShowcaseDiv" style="display: none;">
\r
541 <h3>Here are a few examples of sites running YOURLS with a unique design or concept</h3>
\r
544 <li><a href="http://mrte.ch/">http://mrte.ch/</a><br/>
\r
545 Mr Tech's public YOURLS setup, listing top links and some stats</li>
\r
546 <li><a href="http://xib.me/">http://xib.me/</a></br/>
\r
547 A nicely styled YOURLS public interface</li>
\r
548 <li><a href="http://s4c.in/">http://s4c.in/</a><br/>
\r
549 Shorten 4 Charity, a public YOURLS setup with shortened links displayed within a frame containing ads for charities </li>
\r
550 <li><a href="http://girv.in/">http://girv.in/</a><br/>
\r
551 John Girvin's YOURLS setup with all links in a sortable display</li>
\r
552 <li><a href="http://www.iyeman.net/">http://www.iyeman.net/</a><br/>
\r
553 Example of portal for your online self with links to your places (blog, Twitter) and your URL shortener</li>
\r
554 <li><a href="http://rml.me/">http://rml.me/</a><br/>
\r
555 A personal URL shortener front page showing new links and most clicked links</li>
\r
556 <li><a href="http://vbly.us">http://vbly.us</a><br/>
\r
557 Public YOURLS setup and early adopter, run by famous sex writer Violet Blue as "the internet's first and only sex-positive url shortener"</li>
\r
560 <h2>More stuff about or with YOURLS</h2>
\r
563 <li><a href="http://screenr.com/nTs">http://screenr.com/nTs</a><br/>
\r
564 A screencast explaining how to setup YOURLS</li>
\r
566 <li><a href="http://v007.me/836">YOURLS: Short URL Widget</a><br/>
\r
567 Creates a fully configurable widget that outputs the short URL to the current post or page</li>
\r
569 <li><a href="http://foolrulez.org/blog/2009/09/yourls-widget-released">YOURLS Widget for WordPress</a><br/>
\r
570 This widget adds a convenient short URL service into your sidebar. Check the above link for a live example</li>
\r
572 <li><a href="http://www.stewartallen.org/2010/08/yourls-twitter-tools-wordpress-plugin/">Twitter Tools & YOURLS</a><br/>
\r
573 Companion plugin for Alex King's Twitter Tool for WordPress, that enables YOURLS support</li>
\r
575 <li><a href="http://github.com/pjain/WWW-Shorten-Yourls">WWW-Shorten-Yourls</a><br/>
\r
576 A Perl module to shorten URLs using YOURLS</li>
\r
578 <li><a href="https://rubygems.org/gems/yourls">YOURLS Ruby</a><br/>
\r
579 A Ruby wrapper for the YOURLS API</li>
\r
581 <li><a href="http://sharetronix.com/sharetronix/addons/view/41">Sharetronix</a><br/>
\r
582 A YOURLS addon for Sharetronix</li>
\r
584 <li><a href="http://www.chrismarquardt.com/blog.php?id=7952283233607249761">Textexpander and YOURLS</a><br/>
\r
585 Making YOURLS and Textexpander on the Mac play together</li>
\r
587 <li><a href="http://www.eugenegordin.com/etc/how-to-use-your-custom-yourls-shortener-with-tweetie-2.html">YOURLS and Tweetie 2</a><br/>
\r
588 How to set up Tweetie2 so it uses your own service</li>
\r
590 <li><a href="http://remkusdevries.com/how-to-setup-tweetdeck-with-yourls/">YOURLS and TweetDeck</a><br/>
\r
591 How to set up TweetDeck so it uses your own service</li>
\r
593 <li><a href="http://mt-hacks.com/AzaZ">YOURLS with Movable Type</a><br/>
\r
594 Twitter Tools for Movable Type supports custom YOURLS setup</li>
\r
596 <li><a href="http://www.mrtech.com/forums/index.php/topic,2524.0.html">YOURLS hacks</a><br/>
\r
597 Hacks to enhance YOURLS for spam control/throttling, unshortening and weekly stats
\r
599 <li><a href="http://code.google.com/p/yourls/issues/detail?id=137">Export URLS as text list</a><br/>
\r
600 A simple script to list all URLs, one per line, in plain text (for using as an indexer config file, for example)</li>
\r
602 <li>YOURLS featured on <a href="http://lifehacker.com/5335216/make-your-own-url-shortening-service">Lifehacker</a></li>
\r
606 </div> <!-- content -->
\r
607 </div> <!-- container -->
\r
609 <div id="Copyright"><p><a href="http://yourls.org/">YOURLS</a>: Your Own URL Shortener<br />All Free & GPL – 2009</p></div>
\r
611 <script type="text/javascript">
\r
613 // Dynamically get tabs
\r
614 function getTabs() {
\r
615 var d = document.getElementById('Tabs');
\r
616 var matches = d.innerHTML.match(/<li id="(.+?)Tab"/g);
\r
618 for (i in matches) {
\r
619 tabs[i]= matches[i].replace('<li id="','').replace('Tab"', '');
\r
621 tabs = tabs.reverse();
\r
624 // Toggle tab display
\r
625 function toggle(el) {
\r
626 //var tabs = ["About", "Install", "Config", "Plugin", "FAQ"];
\r
627 var target = el.toString().replace(/^.*#/, '');
\r
628 for (var tab in tabs) {
\r
630 document.getElementById(tabs[tab]+'Tab').className = 'Tab';
\r
632 document.getElementById(tabs[tab]+'Div').style.display= 'none';
\r
634 // highlight & display target
\r
635 document.getElementById(target+'Div').style.display = 'block';
\r
636 document.getElementById(target+'Tab').className = 'SelectedTab';
\r
637 try { el.blur(); } catch(err) {}
\r
640 var tabs = getTabs();
\r
641 // On page load/refresh display required tab
\r
642 if (location.hash) {
\r
643 toggle(location.hash);
\r