Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsNews FeedsNews FeedsTags in FeedBurner FeedsTags in FeedBurner Feeds
Previous
 
Next
New Post
10/8/2006 3:48 PM
 

Hi Folks,

I'm running DNN 4.3.5 ... the News Feed module works fine for most feeds, but all feeds from FeedBurner show html tags ... for example this CNN feed:

Source: N. Korea may drop test if U.S. holds talks
Read full story for latest details. <p><a href="http://rss.cnn.com/~a/rss/cnn_topstories?a=84wxgR"><img src="http://rss.cnn.com/~a/rss/cnn_topstories?i=84wxgR" border="0"></img></a></p><img src="http://rss.cnn.com/~r/rss/cnn_topstories/~4/34489138"/>

What's the fix for this?

Joe

 
New Post
10/25/2006 5:47 PM
 
Hey Josh ... do ya have an answer? or just tell me to go pound sand! :)
 
New Post
10/29/2006 7:13 AM
 

Hi Joe,

Can you give me the URL of the feed that you are having trouble with.  I can try it out in the latest beta and see how it behaves.  I can also send you the latest beta if you want to try it out yourself. 

If i had to guess, I would say that the feed iteself is encoding the HTML, so that when it renders on the screen, you get what you are seeing rather than the browser actually rendering the HTML.  If you send me an example feed I can confirm that one way or another.

Thanks,

Josh

 
New Post
10/29/2006 8:52 AM
 
 
New Post
10/29/2006 5:45 PM
 

Yep, looked at the feed, and the info is being encoded.  If you view the source of the feed, in the description element, you will see that instead of something like '<B>' you will see something like '& lt;B& gt;' (excluding the space between the ampersand and the lt/gt which I left out so it didn't get rendered as < or >). 

Not sure off the top of my head how to create a custom xsl to decode it first.  I suspect you can.  If anyone else reading this knows the command to do it then feel free to chime in.  You might also be able to find it by searching google for something like 'decode HTML using XSL' or something like that.  The idea is that you decode it first back to the < and >, so that when it comes time to render it, it gets interpreted as normal HTML.

I have added an issue to Gemini to consider a future feature to allow you to easily do this by selecting a checkbox in a feed settings:

http://support.dotnetnuke.com/issue/ViewIssue.aspx?id=4429

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsNews FeedsNews FeedsTags in FeedBurner FeedsTags in FeedBurner Feeds


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out