I want create to something like adf.ly script with Drupal. I am using shurly (developed by Jeff Robins) for URL shortening, and it works fine, but I want to display an advertising page for 10 seconds before redirecting to the final URL, which is not a feature provided by this module.
It has a hook called
hook_shurly_redirect_before() which may help me, but I don't have enough knowledge to use it.
Can anyone explain how I should use this hook?