I'm working on a WindowsForm based RSS Aggregator as a hobby project. I'm running into an issue while displaying descriptions from RSS feeds that contain html in a webbrowser control.
An example of a description that causes me a problem:
"<img border=\"0\" src=\"//images10.newegg.com/NeweggImage/ProductImageCompressAll125/14-487-346-Z01.jpg\" width=\"125\" height=\"94\" title=\"\" alt=\"\">
The problem is the img src. If I add http:
in front of it, it loads the image just fine. Otherwise, I get an x box, and not the kind you can play games on unfortunately.
A work around would be to parse every description and add the http:
string everywhere that is necessary, but that seems like a lot of unnecessary coding and every feed would be different.
Is there a better way to show RSS Feed data that's formatted with html, or is there a way to fix the issue described above with the webbrowser control?