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

I have created a BlogEngine extension for all of you World of Warcraft enthusiasts out there. This extension basically replaces [ wowid:22589 ] or [ wowtext:Atiesh, Greatstaff of the Guardian ] with Atiesh, Greatstaff of the Guardian and Atiesh, Greatstaff of the Guardian respectfully. It uses the latest Wowhead javascript library that they suggest the community uses for this sort of thing.

Installation is easy, just drop the WowItemLink.cs into your ~/App Code/Extensions folder and upload onto your web host. It will work on both Pages and Posts. I have tested it with the majority of inputs that I can, but I am certain there are bugs with it. If you find any please post here and I will look into it.

WowItemLink.cs (3.37 kb)

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

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

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

<<  March 2010  >>
MoTuWeThFrSaSu
22232425262728
1234567
891011121314
15161718192021
22232425262728
2930311234

View posts in large calendar

Recent Posts

Recent Comments

Comment RSS

Most comments

wow cheats wow cheats
1 comments
us United States
S&#246;koptimering Sökoptimering
1 comments
us United States
commercial roofing hayward commercial roofing hayward
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 29.57 0.00 (0.00%)
GOOG 576.45 0.00 (0.00%)
BBY 38.96 0.00 (0.00%)
CML 15.71 0.00 (0.00%)
COST 59.84 0.00 (0.00%)
MSFT 28.97 0.00 (0.00%)

Xbox Gamer Card

Jwendl Gamer Score: 10225
Jwendl
Borderlands (1045) South Park (180) Rock Band 2 (310) Gears of War 2 (400) TEKKEN 6 (0) Culdcept SAGA (95) CSI: Deadly Intent (0) Madden NFL 10 (0) 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)
Offline
3/10/2010 11:05:03 PM
Last seen 3 hours 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