Hi anybody used bit.ly and shorten urls module for generating short urls of nodes.
Here I need to get the short urls automatically when i create a node. (No hitting of submit button).

Anybody have ever done this.Please provide some idea.

Thanks in advance

Comments

manoj_j’s picture

Anybody having idea on this please suggest.......

manoj_j’s picture

Hai all,

Did by creating own custom module & using tiny url api.

Regards

mcfilms’s picture

Did you look at this: http://drupal.org/project/shorten

A list of some of the Drupal sites I have designed and/or developed can be viewed at motioncity.com

manoj_j’s picture

Ya infact I looked on it but my requirement was to generate the short url automatically on creating a new node.So I developed module for it using the tiny url api.

mcfilms’s picture

You know what would be sweet? A module that would programatically create the shortened url to the node (as you have done), Put that url in a field limited to 140 characters called "Twitter Post" and. upon submission, post the contents of that field to a pre-selected Twitter account. That would be sweet.

A list of some of the Drupal sites I have designed and/or developed can be viewed at motioncity.com

manoj_j’s picture

Thats nice ! thank you..