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 FeedsNewsfeed ModuleNewsfeed Module
New Post
11/26/2008 2:51 PM

I am using the NewsFeed Module. I just updated to the newest version, and when I did, I lost all the RSS feeds I had stored. Now when I redo them, they display by number order, and not by date. Ex. It used to display 11-6-2008, 11-8-2008, 12-15-2008, now displays 2-14-2009, 3-16-2009, 11-25-2008, etc. How do I get it to display properly date wise?? Thanks

New Post
11/26/2008 3:36 PM


From which version did you upgrade? And regarding the quirky feeds: do you have a feed to look at? Did you used to use the default XSL rendering or did you use your own transformation before the upgrade?


Peter Donker
Home of the Document Exchange,
the professional document management solution for DNN
New Post
12/1/2008 7:58 AM

We upgraded from the previous version of DNN. Here is a feed that I have set up and you can look at.

I took a closer look at the feed and it is just going "backwards" in date. Instead of going from current date on down, it goes from future date to present date. I justed used the default XSL rendering.

New Post
12/2/2008 7:28 AM

At this stage, the News Feeds (RSS) module does not actually do much with an incoming feed with regards to sorting.  Mostly you get the info as offerred in the feed source.  The XML/XSL has some provisions for sorting that is easier to setup due to the use of parmaters which you can choose in the setup.  The News module uses parameters as well, but these don't include sort order yet.

One way to achieve sorting is to create a custom xsl to do it.  The caveat here is the custom xsl must be rss v2.0 compatible.  Since the News modules default.xsl is compatible, we can use it as a starting point.  So, copy the default.xsl to newsAsc.xsl and use your favorite text editor to add the following line under the xsl:for-each statement:

  <xsl:for-each select="channel/item[position()&lt;=$ItemsToShow or $ItemsToShow&lt;1]">
      <xsl:sort select="pubDate" order="ascending"/>

Then, save the file.  You can put this file in the folder associated with your portal.  For example, if this is the first portal used, it would be portal 0, and so on.

Next, when you setup the module, specify 'Other' as the news source, and then browse to your folder and file, and choose it for the transformation source.

Note, sorting by date is really troublesome if the news source is not really a valid rss v2.0 pubDate, so this may not work for every news source.  You'll have to tweak it to make it work for you.  This example is just one that works for me in a simple fashion, but you may need to actually create a custom template to parse the pubDate elements, then sort.


New Post
6/9/2009 6:55 AM


I am trying to configure the RSS links ( in the News Feed module and it give me error. Can you please explain how you set the RSS feed in your portal

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsNews FeedsNews FeedsNewsfeed ModuleNewsfeed Module

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