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 FeedsHelp with Newsfeed StylesheetsHelp with Newsfeed Stylesheets
Previous
 
Next
New Post
7/3/2007 4:14 PM
 

 Finally got my RSS stuff to work on GoDaddy.  The RSS feed displays the artical title link, but the description below it is all html code.  Is there a default stylesheet I can set or is there a way to point it to a stylesheet from the source (not sure how to get that info).

 
New Post
7/6/2007 9:27 AM
 

Wow, we really need a FAQ on the projects pages to deal with these recurring posts.  It's just stuff that gets asked quite a lot over and over, and get's lost in the depths of the forums.  Not to pinpoint you out in particular, just frustrating to see the same question pop up again, and again...

Anyway, you need to change the xsl to allow the html to be displayed.  There's a lot of reasons why RSS newsfeeds should not contain HTML, but that's falling on deaf ears, but if you do allow HTML, be aware that there are lots of security issues with blinding placing a feed with HTML on your production site, so test on non-production sites thoroughly before using them in production.  End of Public Service Announcement.

So, here's what you do to allow it -

Make the change from this:
  <xsl:value-of select="substring(description,1,10)" >
To this:
  <xsl:value-of select="substring(description,1,10)" disable-output-escaping="yes"/>

The key component is to include the snippet - disable-output-escaping="yes" - wherever you need to allow for HTML to display.

Search my posts for full example xsl , and the forums for other similar posts.

Cheers 

 
New Post
8/20/2007 12:44 PM
 

Boy, do I wish I could find all the redundant posts to which you refer so I could save wonderful people like you the bother of helping a DNN gimp like myself!  I've searched the forums for information regarding example stylesheets for newsfeeds - back to 2005, and the only thing that came up was this thread and a post by Peter Donker asking for example submissions.  I'm a front-end designer, not so much a programmer, so I a little more guidance would be greatly appreciated.  I'd love to make the change you outlined in your post, as I also have html tags hanging out of my RSS feeds... but where do I do it?!  In what file does this line of code exist that needs to be modified?  Thanks for your patience with another novice trying to figure their way around...

 
New Post
8/20/2007 12:57 PM
 

Nevermind... found what I needed on DNNCreative.com... the information you provided regarding the string helped me in being more specific in my searches for information.  Thanks!

 
New Post
8/20/2007 3:33 PM
 

yeah i see a lot of recurring questions on this post...

i even posted some sample xls files on our site.

http://www.profitimo.com/Default.aspx?tabid=54&forumid=-1&scope=posts&threadid=41


Justin Lim www.profitimo.com
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsNews FeedsNews FeedsHelp with Newsfeed StylesheetsHelp with Newsfeed Stylesheets


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