Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • ridi 71 posts 103 karma points
    Jan 08, 2010 @ 15:15
    ridi
    0

    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

  • Laurence Gillian 600 posts 1219 karma points
    Jan 08, 2010 @ 18:59
    Laurence Gillian
    0

    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/

  • Lee Kelleher 4020 posts 15802 karma points MVP 13x admin c-trib
    Jan 09, 2010 @ 23:38
    Lee Kelleher
    0

    @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.

  • Warren Buckley 2106 posts 4836 karma points MVP ∞ admin hq c-trib
    Apr 01, 2010 @ 16:07
    Warren Buckley
    1

    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

  • Lee Kelleher 4020 posts 15802 karma points MVP 13x admin c-trib
    Apr 01, 2010 @ 18:07
    Lee Kelleher
    0

    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.

Please Sign in or register to post replies

Write your reply to:

Draft