Joel Bradbury
made this addon


Overview


Shortlink

May all your links be tiny.

Download 1.6.x, Fieldframe, Version (0.8) or get it from github

An EE Fieldtype that adds the a short link field type.

Usage

When a new entry is created, the field type will call a specified external api with the url of the new entry and return a short link.

Settings are stored in fieldtypes manager, and you will need to put in 3 variables – Api Url The full url of your short link creator. ie. http://db.vc/api.php – Username Your username for the short link creator – Password Your password for the short link creator.

Limitations

This is something I’ve whipped together really quickly, to fit a personal need. As such it doesn’t have any validation, either against input (keyword suggestion) or return (ie. bad parameters username/password).

It currently only supports one url shortening service, http://yourls.org, but more will be added at some point.

Let me know what you’d like added.


Web Statistics