Drupal as URL shortener

Drupal has a couple of modules which allow you to produce your own tinyurl.com type website - complete with your own tracking etc.

This has been extended for use by the US government at http://go.usa.com/ and the code re-released to the community.

This mainly adds statistics gathering and reporting

Unfortunately the module maintainer has chosen not to integrate these changes back into the module at drupal.org - issue here : http://drupal.org/node/520588

So now the patch doesn't apply cleanly unless you checkout an old version of the module from CVS like this

NB the password for anonymous access to CVS is "anonymous"

cvs -d :pserver:anonymous@cvs.drupal.org:/cvs/drupal-contrib login
cvs -d:pserver:anonymous@cvs.drupal.org:/cvs/drupal-contrib co contributions/modules/shorturl
cd contributions/modules/shorturl/
cvs update -r DRUPAL-6--1  -D 2009-12-01
wget http://drupal.org/files/issues/shorturl_1.patch
patch
-p0 < shorturl_1.patch

Update:

I've managed to merge both branches of development and the bugfix at http://drupal.org/node/627668

This module is very much a development version - I've incorporated several people work and the result seems to work OK - but test before using.

Download an updated version of the module

AttachmentSize
shorturl_with_statistics.tar.gz7.98 KB

Tags

Comments

Thanks for the uploaded

Thanks for the uploaded version since i'm having patching the module with CVS

Post new comment

Got something to add - just enter a comment
all other fields are optional.

Your email address will not be published.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Enter the characters shown in the image without spaces, also respect upper and lower case.