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 (18) 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/14/2008 4:52:34 AM #


Thank you for good extension. It's very usefull.
Spain 9/19/2008 4:48:16 AM #
great post and very Thank you for good extension. It's very usefull.
9/27/2008 10:25:53 AM #
Great extension, thanks for the note.
Peru 11/17/2008 7:58:59 PM #
Thanks for the great reference post.
United States 2/9/2009 4:58:48 PM #
This is so cool.  I appreciate it and  am have to try it.
United States 2/13/2009 9:28:50 AM #
Great extencion, are there any similar extencions for wordpress?
United States 2/14/2009 1: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/14/2009 4: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/9/2009 10:31:35 PM #
I think this helpful so well, thanks.
United States 4/7/2009 1:28:35 PM #
im excited to use this new extension of blogengine
United States 5/16/2009 6:46:25 PM #
Hi jwendl,
i have looking for this for long time.
it's very usefull for me. i plan to use this for my project.
thanks, great share.
Indonesia 7/19/2009 4:41:29 PM #
I'll give this one ago!
United Kingdom 7/29/2009 10:29:57 PM #
that's a cool extension
United States 8/23/2009 1:13:12 PM #
Great extension!thanks for sharing it!
United Kingdom 9/13/2009 10:00:14 PM #
Is short links extensions always confined to Google or is it available with other websites?
Australia 12/1/2009 2:08:33 AM #
Any website you setup in the extension manager for the extension.
United States 12/1/2009 2:15:01 AM #
The shortlink extension is very useful thanks
United States 1/21/2010 5:21:44 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

<<  February 2010  >>
MoTuWeThFrSaSu
25262728293031
1234567
891011121314
15161718192021
22232425262728
1234567

View posts in large calendar

Recent Posts

Recent Comments

Comment RSS

Most comments

general contracting company general contracting company
1 comments
us United States
wow cheats wow cheats
1 comments
us United States
Ben 10 Ben 10
1 comments
us United States

Digsby

Poll

This poll is closed.
What do you use to connect to the internet?
A DLink Exterme Gaming router
 
0.0%
A Linksys / Cisco home router
 
0.0%
None of the above
 
0.0%
A Netgear home router
 
0.0%
I built my own box to do routing
 
100.0%

Total Votes: 1

Stock Quotes

WFC 26.43 -0.99 (-3.61%)
GOOG 533.47 +2.18 (+0.41%)
BBY 35.47 -0.35 (-0.98%)
CML 19.88 0.00 (0.00%)
COST 58.14 -0.44 (-0.75%)
MSFT 27.72 -0.30 (-1.07%)

Xbox Gamer Card

Jwendl Gamer Score: 10100
Jwendl
Culdcept SAGA (75) Rock Band 2 (310) Madden NFL 10 (0) Borderlands (945) Gears of War 2 (400) South Park (175) CSI-Hard Evidence (0) Eternal Sonata (40) Magnacarta2 (50) Spectral Force 3 (275) Left 4 Dead 2 (50) LEGO Batman (0) Madden NFL 09 (375) Soulcalibur IV (325) Guitar Hero II (210) Assassin's Creed (705)
Offline
2/8/2010 7:22:15 PM
Last seen 9 minutes ago playing Xbox.com

Xbox Avatar

xbox Avatar

Disclaimer

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

© Copyright 2010

Creative Commons License