Ok, this makes sense, although there are a few things that elude me ...
# AddThis by default already shortens URLs posted to twitter ...
# Many services, including big ones like Facebook, only display a truncated URL. They emphasize on the TITLE+DESCRIPTION of the page instead.
I am not sure where url shortening would have a huge effect. However, I see on their page that it would be quite easy to add. I found the following code on the page you provided:
var addthis_share = {
url_transforms : {
shorten: {
twitter: 'bitly'
},
},
shorteners : {
bitly : {
username: 'your_username',
apiKey: 'R_123456...'
}
}
}
Simply open and edit your file iv-includes/templates/index.gallery.phtml - You need to carefully add the data above into existing objects, so it would look something like this:
addthis_share = {
templates: {twitter: '{{title}} - {{url}}'},
url_transforms : {shorten: {twitter: 'bitly'}},
shorteners : {bitly : { username: 'your_username', apiKey: 'R_123456...'}}
}
Just insert your bit.ly username and API key. However, I am not quite sure what the
shorten object under
url_transforms does ... ? Do you have to add all the services where you want URL shortened here? Seems a bit tedious ... What happens if you remove this line? Perhaps it will shorten for ALL services? Would appreciate your reporting back if you proceed ...