change html relative image paths to absolute in httpmodule

gumokulududo

New Member
I have set up a .net http module to capture the html output of a page. I am looking to finding the quickest way to do the following:Search through all the images (ie. img tags and input controls of type image)Find those that have a relative source pathManipulate the path by converting it from relative to absolute (I pass the absolute path to it)Update the html sourceOutput the manipulated html source to users browserAny suggestions as to the best way and more performant way of doing this? I am developing in c#.
 
Top