Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • FarmFreshCode 225 posts 422 karma points
    Apr 20, 2011 @ 16:44
    FarmFreshCode
    0

    blog4umbraco - Latest posts RSS feed for each tag

    Hello Everyone,

    I'm trying to get a RSS feed for each "Tag" in my Blog4Umbraco, and have a link to that rss feed available in the navigation like this:

    I was looking for an anser how to do this and was reading this article (RssFeeds) which provides me the following code (see below), however I'm not sure where to drop it, what to overwrite, ect. So if someone could help explain it a little better to me it would be much appreciated. 

    If the code below isn't going to get me closer to what I am looking to accomplish please let me know that too!
    Thanks!

    <xsl:choose>
            <xsl:when test="string-length(umbraco.library:Request('tag')) &gt; 0">
                <xsl:apply-templates select="$currentPage//node [@nodeTypeAlias = 'BlogPost' and contains(Exslt.ExsltStrings:lowercase(./data [@alias='tags']), Exslt.ExsltStrings:lowercase(umbraco.library:Request('tag')))]">
                          <xsl:sort select="@createDate" order="descending" />
                        </xsl:apply-templates>
            </xsl:when>
            <xsl:otherwise>
                <xsl:apply-templates select="$currentPage//node [@nodeTypeAlias = 'BlogPost']">
                          <xsl:sort select="@createDate" order="descending" />
                        </xsl:apply-templates>
            </xsl:otherwise>
        </xsl:choose>

     

  • FarmFreshCode 225 posts 422 karma points
    Apr 20, 2011 @ 16:52
    FarmFreshCode
    0

    Forgot to mention I am unsing Umbraco v4.7

Please Sign in or register to post replies

Write your reply to:

Draft