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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...RSS Feed Error - Whats wrong?RSS Feed Error - Whats wrong?
Previous
 
Next
New Post
6/21/2006 5:00 AM
 
*bump*

This is still an issue and renders my RSS feed useless - any more ideas please?

Entrepreneur

PokerDIY Tournament Manager - PokerDIY Tournament Manager<
PokerDIY Game Finder - Mobile Apps powered by DNN
PokerDIY - Connecting Poker Players

 
New Post
7/23/2006 9:43 AM
 
Hmmm - that is odd - as someone suggested on another post - if you leave out the "www." when you connect to the feed it works - eg. "http://dnndir.com" works but "http://www.dnndir.com" does not...


Entrepreneur

PokerDIY Tournament Manager - PokerDIY Tournament Manager<
PokerDIY Game Finder - Mobile Apps powered by DNN
PokerDIY - Connecting Poker Players

 
New Post
7/24/2006 12:56 AM
 
Hi,
I tried the feed and it works ok for me both with & without an xslt stylesheet.  (DNN 4.3.1).  Here is the xslt i use.  Copy the code below and create a new xslt stylesheet in your portal root...


<?xml version="1.0"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                xmlns:dc="http://purl.org/dc/elements/1.1/">
    <xsl:output method="html" indent="yes"/>
    <xsl:param name="TITLE"/>
    <xsl:template match="rss/channel">
        <xsl:variable name="link" select="link"/>
        <xsl:variable name="description" select="description"/>
        <table class="rssTableOuter">
            <tr>
                <td class="rssHeader">
                    <a href="{$link}" target ="_new"><xsl:value-of select="title" /></a>
                    <xsl:if test="description">
                        <br/>
                        <xsl:value-of select="description"/>
                    </xsl:if>
                    <xsl:if test="copyright">
                        <br/>                       
                        <xsl:value-of select="copyright"/>
                    </xsl:if>
                </td>
            </tr>
            <xsl:for-each select="item[position() &lt; 6]">
                <tr>
                    <xsl:variable name="alternate_style" select="position() mod 2"/>
                    <td class="rssItem{$alternate_style}">
                        <br/>
                        <xsl:variable name="item_link" select="link"/>
                        <xsl:variable name="item_title" select="description"/>
                        <a href="{$item_link}" target ="_new">
                            <xsl:value-of select="title" disable-output-escaping="yes"/>
                        </a>
                        <xsl:if test="pubDate">
                            <br/>
                            <font color="green" size="-2"><b><xsl:value-of select="pubDate"/></b></font>
                        </xsl:if>
                        <xsl:if test="dc:creator">
                            <br/>
                            <font color="#CCA300" size="-2"><b>Author:<xsl:value-of select="dc:creator"/></b></font>
                        </xsl:if>
                        <xsl:if test="description">
                            <br/>                           
                            <font color="navy"><xsl:value-of select="description" disable-output-escaping="yes"/></font>
                        </xsl:if>
                    </td>
                </tr>
            </xsl:for-each>
        </table>
    </xsl:template>
</xsl:stylesheet>



.... then select the stylsheet in the newsfeed settings;



Link Type:

File Location:

File Name:

Upload New File



I also added some css in portal.css as follows;

.rssTableOuter
{
    border-spacing: 0;
    width: 100%;
    padding: 0;
}

.rssHeader
{
    background-color: #0077B3;
    color: white;
    text-align: center;
    padding: 10;
    width: 100%;
}

.rssHeader a, .rssHeader a:hover, .rssHeader a:visited
{
    font-size: 15px;
    color: white;
}

.rssItem1
{
    /*uncomment these lines if you want to alternate the styles for each newsfeed item.*/

    /*background: aliceblue;*/
}
.rssItem0
{
    /*background: lightyellow;*/
}

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...RSS Feed Error - Whats wrong?RSS Feed Error - Whats wrong?


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