Skip to content

Bitlyfy URLs on the fly - results will be cached so bit.ly is only contacted once for each unique URL

Notifications You must be signed in to change notification settings

bjornbjorn/Bitly-for-EE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 

Repository files navigation

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

About

Bitlyfy URLs on the fly - results will be cached so bit.ly is only contacted once for each unique URL

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages