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

Calendar

<<  May 2008  >>
MoTuWeThFrSaSu
2829301234
567891011
12131415161718
19202122232425
2627282930311
2345678

View posts in large calendar

Recent Posts

Recent Comments

Comment RSS

Stock Quotes

WFC 29.33 -0.05 (-0.17%)
NVDA 22.53 +0.58 (+2.64%)
MSFT 29.39 +0.12 (+0.41%)
HAS 35.58 +0.17 (+0.48%)

Xbox Gamer Card

Jwendl
Jwendl
Gamer Score: 4375
GTA IV (60) DYNASTY WARRIORS 6 (90) Culdcept SAGA (25) Rock Band (270) Overlord (420) Assassin's Creed (490) DEAD RISING (440) Halo 3 (535) Guitar Hero II (90) Oblivion (390) Blue Dragon (25) Eternal Sonata (30) Tony Hawk's Project 8 (135) Gears of War (470) Crackdown (405) CSI-Hard Evidence (0)
Offline
2008-05-10T16:27:41-05:00
Last seen 7 hours ago playing GTA IV

Disclaimer

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

© Copyright 2008

Creative Commons License

Header Photo

ShortLink Extension for BlogEngine

January 30, 2008 22:30 by jwendl

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)


Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Related posts

Add comment


(Will show your Gravatar icon)  

  Country flag

biuquote
  • Comment
  • Preview
Loading