Plugin:YourLS

From StatusNet
Jump to: navigation, search

Contents

[edit] About

This is yet another URL shortening plugin, for YourLS, a PHP shortening script which is run on your own server. A separate implementation is also available.

[edit] Installation

Extract the plugin in to your StatusNet plugins directory.

If the address of your YourLS installation is http://tld.org, go to http://tld.org/admin/tools.php to get your secret signature token. If it is 5b2e56eef8, then copy this text into your StatusNet's config.php:

addPlugin('YourLS', array('shortenerName'=>'YourLS',
                          'freeService' => true,
                          'serviceUrl'=>'http://tld.org/yourls-api.php?signature=5b2e56eef8&action=shorturl&format=simple&url=%1$s'));

[edit] Bugs

At present, the plugin only allows one YourLS authentication token to be used for one StatusNet site. A future version of this plugin may add an admin panel that allows an individual token to be entered per StatusNet user.

[edit] Source

Personal tools
Namespaces
Variants
Actions
Navigation
Status.net
Toolbox