Tweet on publish is great stuff, just simple question..is there anyway for us to limit the real URL to displayed in twitter. for example if we have an update for...
@ridi From looking at the source-code for Tweet on Publish package, the URL used for the tweet is Umbraco's NiceUrl - so there's no way to use an alternative property/value.
Depending on how confident with C# you are, you could get the source-code and replace the NiceUrl bit with some custom code? That could call Bit.ly or TinyURL?
I have just released a Bit.ly data-type package for shortening your Umbraco page URLs, you can get it from the project repo. (@Laurence, sorry if this clashes with your Bit.ly package). But it's not going to be much help for your Tweet problem, sorry.
I think Darren is one step ahead on this, just checked his SVN repo to see what would be involved, and he has already added an extra check in there for a property called "shortUrl" (for ref: see the latest Event.cs code). Guess this is for the next version?
What I need to do is add the "auto-generate" functionality to the Bit.ly package... and they'd work happily together!
the URL is too long and not friendly
Tweet on publish is great stuff, just simple question..is there anyway for us to limit the real URL to displayed in twitter. for example if we have an update for...
http://blabla.com/blogs/blalsalsalsalsalslalsa.com the tweet on publish can make it friendly like http://blabla.com/...
any clue should be greatly appreciated
thanks
This is something we've been playing with, the idea solution is to tie into the bit.ly API and also create a bit.ly URL for the node on publish.
We're still developing our own package for this, but its no way near ready to be published yet.
You should have a look at the API documentation here...
http://code.google.com/p/bitly-dot-net/
@ridi From looking at the source-code for Tweet on Publish package, the URL used for the tweet is Umbraco's NiceUrl - so there's no way to use an alternative property/value.
Depending on how confident with C# you are, you could get the source-code and replace the NiceUrl bit with some custom code? That could call Bit.ly or TinyURL?
I have just released a Bit.ly data-type package for shortening your Umbraco page URLs, you can get it from the project repo. (@Laurence, sorry if this clashes with your Bit.ly package). But it's not going to be much help for your Tweet problem, sorry.
Hiya Darren & Lee.
Have you merged your changes into one package?
As having trackable bit.ly URLs using the bit.ly API when doing the automatic tweets would be bloody ace :)
Warren
Hi Warren,
I think Darren is one step ahead on this, just checked his SVN repo to see what would be involved, and he has already added an extra check in there for a property called "shortUrl" (for ref: see the latest Event.cs code). Guess this is for the next version?
What I need to do is add the "auto-generate" functionality to the Bit.ly package... and they'd work happily together!
I'll keep you all posted!
Cheers, Lee.
is working on a reply...