2 .\" Title: bti-shrink-urls
3 .\" Author: [see the "AUTHOR" section]
4 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
6 .\" Manual: bti-shrink-urls
7 .\" Source: bti-shrink-urls
10 .TH "BTI\-SHRINK\-URLS" "1" "March 2009" "bti-shrink-urls" "bti-shrink-urls"
11 .\" -----------------------------------------------------------------
12 .\" * set default formatting
13 .\" -----------------------------------------------------------------
14 .\" disable hyphenation
16 .\" disable justification (adjust text to left margin only)
18 .\" -----------------------------------------------------------------
19 .\" * MAIN CONTENT STARTS HERE *
20 .\" -----------------------------------------------------------------
22 bti-shrink-urls \- convert URLs to a shorter form using a web service
25 \fBbti\fR [\fB\-\-escaped\fR] [\fB\-\-help\fR] [\fBURL\fR]
28 bti\-shrink\-urls converts URLs to a shorter form using a web service\&.
30 Currently http://2tu\&.us/ (default) and http://bit\&.ly / http://j\&.mp are supported\&.
35 Don\'t escape special characters in the URL any more, they are already percent encoded\&.
45 Specify the URL to be converted\&. If no URL is given bti\-shrink\-urls waits for input on stdin\&.
49 bti\-shrink\-urls is configured by setting some values in ~/\&.bti:
53 Possible values: 2tu\&.us (default), bit\&.ly, j\&.mp
56 \fBshrink_bitly_login\fR
58 API login for bit\&.ly, j\&.mp, required if shrink_host is set to bit\&.ly or j\&.mp\&. See https://code\&.google\&.com/p/bitly\-api/wiki/ApiDocumentation
61 \fBshrink_bitly_key\fR
63 API key for bit\&.ly, j\&.mp, required if shrink_host is set to bit\&.ly or j\&.mp\&. See https://code\&.google\&.com/p/bitly\-api/wiki/ApiDocumentation
67 Written by Bart Trojanowski
69 .SH "COPYRIGHT AND LICENSE"
71 Copyright (C) 2009 Bart Trojanowski
74 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation version 2 of the License\&.