• Hi guys,

    I released a new plugin and am wondering what you think of it and how I could improve it. The plugin is called vlam-a-post. It’s targeted at people who use URL shorteners to promote their blog posts. This plugin automatically creates a shortened URL from vl.am and fetches the click count in the post edit screen. It also provides an easy way to tweet the shortened URL.

    The plugin can be downloaded from here or from within WordPress itself (just search for vlam-a-post).

    Would you mind to try it out and tell me what you think? Thank you

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter waltervos

    (@waltervos)

    I just updated this plugin to include a dashboard widget that shows the latest vl.am URLs for your blog with their click count. Check it out!

    With your plugin, is it possible to access the generated short URL within the loop?

    i think this is a great plugin and i might try it out. by the way, mybloglog has the click count feature too.

    Thread Starter waltervos

    (@waltervos)

    With your plugin, is it possible to access the generated short URL within the loop?

    Hi Fredleblanc,

    You can use get_vlam_url($post_id) for that in your theme. Be sure to pass the post ID though because as of now this function does not work as a true template tag yet. So in the loop you could use:

    get_vlam_url(get_the_ID());

    To get the click count, use: get_vlam_count($post_id, $use_cache = true)

    So in the loop write: get_vlam_count(get_the_ID(), true) to use the cache (the dashboard widget does this), or get_vlam_count(get_the_ID(), false) to call the vl.am API on each pageview (the edit post screen widget does this).

    @skamid: Let me know what you think when you decide to try it out ??

    Thread Starter waltervos

    (@waltervos)

    Just so you know, vl.am is down at the moment. The founders are moving it to another host as we speak. You may see some errors in the admin since the plugin doesn’t handle all errors properly :#

    – Walter

    Thread Starter waltervos

    (@waltervos)

    And vl.am is back up. Happy burning! ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Integrated URL shortener with click count’ is closed to new replies.