I have written an extension to allow you to convert short link displays to a real link. It makes it easier to write your posts / pages when you don't remember the exact link to say a google search page. The format would be something like this [ shortlink:google,Test,Test ] where the first field after the google word is the link text and the second word is the display text. Then in the ExtensionsManager you could create an entry like google and http://www.google.com/search?hl=en&q={0}

When it serves the page if the body contains anywhere the word shortlink it then processes the short links against the rules you have setup. Please note that it is the very first draft of this extension. I think there are ways to make it more efficient, but for now I wanted to release it and see what people think.

ShortLink.cs (2.32 kb)

Comments Comments (13) Permalink Permalink     Rss feed for comments Post Comment Feed

  • E-Mail
  • DotNetKicks
  • Digg
  • LinkedIn
  • StumbleUpon
  • Slashdot
  • TwitThis
  • Facebook
  • del.icio.us
  • Reddit
  • Yahoo! MyWeb

Comments

thanks for sharing... and also to you jwendi..
Australia 9/10/2008 8:52:34 AM #


Thank you for good extension. It's very usefull.
Spain 9/15/2008 8:48:16 AM #
great post and very Thank you for good extension. It's very usefull.
9/23/2008 2:25:53 PM #
Great extension, thanks for the note.
Peru 11/13/2008 11:58:59 PM #
Thanks for the great reference post.
United States 2/5/2009 8:58:48 PM #
This is so cool.  I appreciate it and  am have to try it.
United States 2/9/2009 1:28:50 PM #
Great extencion, are there any similar extencions for wordpress?
United States 2/10/2009 5:39:12 AM #
No I do not believe that there is a similar extension for Wordpress, but there are various plugins to Wordpress that implement the same idea. I suggest looking http://wordpress.org/extend/plugins/ I have been out of the loop for a while.
United States 2/10/2009 8:23:44 PM #
Thanks for posting this kind of ideas and tips,
it's an additional knowledge from what I know before, keep up the good work
United States 3/6/2009 2:31:35 AM #
I think this helpful so well, thanks.
United States 4/3/2009 5:28:35 PM #
im excited to use this new extension of blogengine
United States 5/12/2009 10:46:25 PM #
Thanks...just what I was looking for...
Denmark 6/21/2009 4:11:32 PM #
Wow, this is a great extension. Thanks!
United States 6/23/2009 5:08:41 PM #

Add comment


(Will show your Gravatar icon)

  Country flag

biuquote
  • Comment
  • Preview
Loading



About Author

Justin Wendlandt
Justin Wendlandt
I work for Wells Fargo, play a lot of video games, and program in many languages. [ more ] E-mail me Send mail

View Justin Wendlandt's profile on LinkedIn View Justin Wendlandt's Facebook Profile View Justin Wendlandt's Twitter Profile View Justin Wendlandt's Zune Profile View Justin Wendlandt's Xbox Live Profile

Calendar

<<  July 2009  >>
MoTuWeThFrSaSu
293012345
6789101112
13141516171819
20212223242526
272829303112
3456789

View posts in large calendar

Recent Posts

Recent Comments

Comment RSS

Most comments

Anne Hansen Anne Hansen
3 comments
dk Denmark
Ways to Make Money Online Ways to Make Money Online
1 comments
us United States
l&#229;n lån
1 comments
dk Denmark

Digsby

Poll

This poll is closed.
Do you prefer fluid layouts or fixed width layouts?
Fluid layouts on websites are better!
 
100.0%
Fixed width layouts on websites are better!
 
0.0%

Total Votes: 2

Stock Quotes

WFC 23.08 -1.06 (-4.39%)
GOOG 408.49 -10.50 (-2.51%)
BBY 32.08 -1.78 (-5.26%)

Xbox Gamer Card

Jwendl
Jwendl
Gamer Score: 7880
Halo 3 (535) Saints Row 2 (35) NFL Head Coach 09 (0) Madden NFL 09 (375) Fable II (625) DYNASTY WARRIORS 6 (570) Left 4 Dead (415) Rock Band 2 (195) The Last Remnant (10) STREET FIGHTER IV (180) Crackdown (425) Culdcept SAGA (55) DEAD RISING (440) Lost Odyssey (110) Oblivion (440)
Offline
2009-07-01T19:34:29+00:00
Last seen 19 hours ago playing Xbox.com

XboxAvatar

xbox Avatar

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2009

Creative Commons License