k0nsl Short URLs Plugin

I decided that the API for knsl.net should be open for anybody and not just exclusively k0nsl.org, therefore I have crafted a plugin for this purpose, and it’s based on the source of GentleSource Short URL plugin, with some minimal refinements in the code (not much so far).

knsl-short-urls01_k0nsl

So, if you’re in need of a short URL plugin via the knsl.net service you’re more than welcome to use my plugin.

Here is the “readme” using the default WordPress structure:

=== k0nsl Short URLs ===
Contributors: GentleSource (and k0nsl)
Tags: short url, short, url, shortener, url shortener, url shortening, urls, links, tinyurl, twitter, microblogging, k0nsl
Requires at least: 2.5
Tested up to: 3.6

Automatically shortens the blog post URL via knsl.net

== Description ==

This plugin creates a short URL from the blog post permalink and stores it
in the database. The URL is displayed below the blog post along with a link
to twitter that passes the short URL on.

== Installation ==

1. Upload the `k0nsl_shorturl` folder to `/wp-content/plugins/`.
2. Activate the plugin through the ‘Plugins’ menu in WordPress.
3. You can change the default short URL service in ‘Settings’ -> ‘Short URLs’

== Changelog ==

= 0.1 =

* Replaced hardcoded plugin directory path with a defined path via “k0nsl_plugin_path”.

== Frequently Asked Questions ==

No questions yet.

== Screenshots ==

1. Short URL settings page

screenshot-2

So far it has only been tested at MacAppsDaily which is running WordPress 3.6a:

http://macappsdaily.com/macappsdaily-set-sails.html

My own blog at k0nsl.org runs it’s own variant which works fine the way it is.

[divider]Download[/divider]

Directlink to this plugin is: knsl.net/plugin/k0nsl-short-url.zip.

The official link to the plugin page is: http://k0nsl.org/blog/k0nsl-short-urls-plugin/

The official link may change should I post it to the main WordPress plugins repository, but it’ll be available on the current link even when submitted to the official main repository of WordPress.org 

[divider]Discussion[/divider]

If you have any questions please peruse the devNET community forums, see:

http://devnet-software.org/discussion/64/k0nsl-short-urls-plugin

[divider]Edit[/divider]

The plugin is now also available through the WordPress.org plugin repository:

http://wordpress.org/extend/plugins/k0nsl-short-urls/

 

3 Comments

Add a Comment

Your email address will not be published. Required fields are marked *