Bitlyfy URLs on the fly - results will be cached so bit.ly is only contacted once for each unique URL
PHP
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
system/expressionengine/third_party/bitly
README.textile

README.textile

README.textile

About bit.ly for EE

Handy little module that enables you to “bit.ly”-fy any URL on the fly. It also includes caching so that the bit.ly API is only contacted once for each unique URL.

Usage example (here we use {comment_url_title_auto_path} as URL inside an {exp:channel:entries} tag):

{exp:bitly bitly_login='YOUR_BITLY_LOGIN' bitly_api_key='YOUR_BITLY_API_KEY' url='{comment_url_title_auto_path}'}

This tag can also be used as a tagpair:

{exp:bitly bitly_login='YOUR_BITLY_LOGIN' bitly_api_key='YOUR_BITLY_API_KEY' url='{comment_url_title_auto_path}'}
<a href="{bitly_url}"> plain bitly url </a>
<a href="https://plus.google.com/share?url={bitly_url_encoded}"> encoded bitly url</a>
{/exp:bitly}

Documentation + Other Links

Bit.ly for ExpressionEngine – More documentation here
More ExpressionEngine Addons

This addon was developed by Bjørn Børresen Freelance ExpressionEngine Addon Developer