37 |
bti-shrink-urls converts URLs to a shorter form using a web service. |
bti-shrink-urls converts URLs to a shorter form using a web service. |
38 |
</para> |
</para> |
39 |
<para> |
<para> |
40 |
Currently only http://2tu.us/ is supported. |
Currently http://2tu.us/ (default) and http://bit.ly / http://j.mp are supported. |
41 |
</para> |
</para> |
42 |
</refsect1> |
</refsect1> |
43 |
|
|
69 |
</para> |
</para> |
70 |
</listitem> |
</listitem> |
71 |
</varlistentry> |
</varlistentry> |
72 |
|
</variablelist> |
73 |
|
</refsect1> |
74 |
|
|
75 |
|
<refsect1><title>CONFIGURATION</title> |
76 |
|
<para> |
77 |
|
bti-shrink-urls is configured by setting some values in ~/.bti: |
78 |
|
</para> |
79 |
|
<variablelist> |
80 |
|
<varlistentry> |
81 |
|
<term><option>shrink_host</option></term> |
82 |
|
<listitem> |
83 |
|
<para> |
84 |
|
Possible values: 2tu.us (default), bit.ly, j.mp |
85 |
|
</para> |
86 |
|
</listitem> |
87 |
|
</varlistentry> |
88 |
|
<varlistentry> |
89 |
|
<term><option>shrink_bitly_login</option></term> |
90 |
|
<listitem> |
91 |
|
<para> |
92 |
|
API login for bit.ly, j.mp, required if shrink_host is set to bit.ly or j.mp. |
93 |
|
See https://code.google.com/p/bitly-api/wiki/ApiDocumentation |
94 |
|
</para> |
95 |
|
</listitem> |
96 |
|
</varlistentry> |
97 |
|
<varlistentry> |
98 |
|
<term><option>shrink_bitly_key</option></term> |
99 |
|
<listitem> |
100 |
|
<para> |
101 |
|
API key for bit.ly, j.mp, required if shrink_host is set to bit.ly or j.mp. |
102 |
|
See https://code.google.com/p/bitly-api/wiki/ApiDocumentation |
103 |
|
</para> |
104 |
|
</listitem> |
105 |
|
</varlistentry> |
106 |
</variablelist> |
</variablelist> |
107 |
</refsect1> |
</refsect1> |
108 |
|
|