skip to Main Content
+971 55 881 1725 hmimthiaz @ imthi.com

WordPress Plugin – Bitly External URLS

I have been blogging for a long time now. In each of my article I normally use a lot of reference websites links. But I really don’t know if anyone is clicking on those links. To analyze the external links and user behavior I need to know whether the user is clicking them. So I wanted a way to get statistics for those external urls from my site. The only short url service which I use gives good statistics is Bitly. I searched for a long time for existing plugin which does this task. I was so unlucky and so far no body had one such requirement like me I guess. Finally I ended up writing one simple plugin which does that job.

Today I am releasing a new WordPress plugin Bitly External URLS which converts your blog post external links to a bitly url. This plugin comes with a very simple options page. All you have to do is

  1. Register of new bitly account
  2. Goto your bitly settings page
  3. Fill in your bitly Username and bitly api key in the plugin options
  4. Block the domain names separated by semicolon for which you don’t want to create bitly short urls
  5. Save the options.

Once the plugin options are configured the plugin is enabled to rock and roll. All the post which has external links will be converted to short url as the post are requested.

Download WordPress Plugin – Bitly External URLS

WordPress Plugin – Bitly External URLS – GitHub

RSSReader Version 2.0 with UITabBarController

Couple of months back I released an open source RSS Reader app for iPhone on GitHub. Most of the people who downloaded the source requested for an updated version using UITabBarController.

Today I am releasing version 2.0 with the following changes

  • Updated the views to use UITabBarController
  • Loads rss subscription from plist file
  • More fun to learn πŸ˜‰

Download RSSReader Version 2.0 with complete source for iPhone. To see complete list of changes visit RSSReader on Github

Note: This source code does not have any license nor warranty. Please feel free to use this in any of your projects and don’t have to email me.

Enjoy, Happy Coding πŸ˜‰

WordPress S3 plugin updated to 1.1 Alpha

Past couple of days I have been focusing hard to optimize my blog. Related to this I have been working on the next version of s3 plugin.

This version supports the following

  • Uploads any media file in the blog to a CDN
  • Support for cloudfront
  • Expire headers
  • Support for CSS and JS compression
  • Dynamic Cache prefix

Other developers can use this plugin to upload the files to s3 for example

1. This will scan the given content for images belonging to same domain. And will schedule the images for s3 upload. If the upload is done it will replace them in the text.

2. Advanced if you are control freak like me you would like to get more options.

If you are interested in testing please download the wp-s3 1.1 Alpha or checkout from wp-s3 plugin repository trunk.

And another happy new is my blog got a descent page speed score with this plugin update πŸ˜‰

Note: Please not this plugin is in alpha stages. Please test this on local test environment before testing it on production sites.

Facebook Open Graph Meta WordPress Plugin

Today I wanted put Facebook Open Graph Protocol meta tags on my blog. I searched for a long time and I was not able to get a simple and working plugin for WordPress. So I decided to write my own. If you want use this plugin please make sure you replace the tag [REPLACE] with appropriate values.

This plugin is already activate on my blog. If anyone shares or likes a link from my blog it will have all full details on facebook πŸ˜‰

Download Facebook Open Graph Meta WordPress Plugin

UIScreen Notifications for connecting external display in iOS

UIScreen class has three main notifications which gets triggered when a new screen (external display) is attached to the device.

UIScreenDidConnectNotification

This notification is posted when a new screen is connected to the device. The object of the notification is the UIScreen object representing the new screen. There is no userInfo dictionary. Connection notifications are not sent for screens that are already present when the application is launched. The application can instead use the screens method to get the current set of screens at launch time.

UIScreenDidDisconnectNotification

This notification is posted when a screen is disconnected from the device. The object of the notification is the UIScreen object that represented the now disconnected screen. There is no userInfo dictionary.

UIScreenModeDidChangeNotification

This notification is posted when the current mode of a screen changes. The object of the notification is the UIScreen object whose currentMode property changed. There is no userInfo dictionary. Clients can use this notification to detect changes in the screen resolution.

Simple code to listen to the notification

If anyone is interested in screen mirroring in iPhone / iPad check this UIScreen Additions.

Back To Top