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 FeedsChanging the Number of Items Displayed by News Feed...Changing the Number of Items Displayed by News Feed...
Previous
 
Next
New Post
6/22/2007 4:18 PM
 

Alright, I seemingly have gotten things to work through DotNetNuke's bundled News Feeds (RSS) module...

I initially tried using feeds from CNN.com and YahooNews, but the resulting content displayed included a bunch of formatting code.  I imagine this has to do with a styling sheet, but wasn't sure how to fix it.  Any ideas...?

In the meantime, I am working with an RSS feed from the Associated Press that displays much more normally, without all the added brackets and code snippets.  However, the feed is displaying 10 news headlines and excerpts, which is much more lengthy than what I am looking for (perhaps 3 or 4, max).  I've tried looking in the module's settings, but don't see anything that looks like it would allow me to change the default number of "items" displayed in the feed.  Can anyone help me with this?

Here's a screen shot (scaled down) of what I'm talking about...

Again, I would like to get this list of 10 down to a list of 3 to 4.

Thanks. 

--Daniel

 
New Post
6/26/2007 3:48 AM
 

Daniel,

Try searching this forum. There are a number of posts on how to adjust the xsl to show only a particular amount of news items. There's not much that can't be done in XSL and there are many posts here on how to edit this.

Kind regards,

Peter


Peter Donker
Bring2mind http://www.bring2mind.net
Home of the Document Exchange,
the professional document management solution for DNN
 
New Post
6/26/2007 5:39 AM
 

ok here is saying you want only 3 items

in your xsl you would have something like

xsl:for each

some xsl value

/xsl:for-each

chhange that to

xsl:for each

<xsl:if test="position() &lt; 4">

some xsl value

 

</xsl:if>

/xsl:for-each

Armand

 

 
New Post
6/26/2007 9:56 AM
 

c this ...http://www.dotnetnuke.com/Community/Forums/tabid/795/forumid/48/threadid/144228/scope/posts/Default.aspx


Justin Lim www.profitimo.com
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsNews FeedsNews FeedsChanging the Number of Items Displayed by News Feed...Changing the Number of Items Displayed by News Feed...


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