Wrote my first BE extension for image shortcodes

Topics: ASP.NET 2.0, Controls
Feb 18, 2013 at 2:20 AM
Edited Feb 18, 2013 at 2:46 AM
I just finished my first extension for BE. It allows me to use a shortcode such as [image:image_name.png] that then gets rendered to <img src=image_name.png />. It works only in the body of the post. How can i access the post excerpt such that i can perform the regex replace on the excerpt?

Right now i can access the body of the post:
  e.Body = e.Body.Replace(matches[i].Value, String.Format(img, i, imgFile, width, height, BaseURL));
I want to access the post description so i can do the replace on the description