The RemoteContent helper I released on Monday had a flaw. It pulls and displays the feed correctly, but the feed by default has escape characters (HTML-encoded). This resulted in any HTML in the feed to be shown as HTML source code and not as an actual web page.
I fixed the problem by utilizing System.Web.HttpUtility.HtmlDecode method. After the transformation takes place it's is decoded.
By default the feed will get decoded, but you can always disable decoding by calling $RemoteContentHelper.TransformFeed( "feedUrl", "transformation.xslt", false )
Get the new version of RemoteContentHelper here.
Be the first to rate this post
- Currently 0/5 Stars.
- 1
- 2
- 3
- 4
- 5