Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I have this structure: Newsarchive -> newsfolder -> newspost.
I want to show the newsposts without having to bother about the newsfolders.
Tried it like this:
<umbraco:Macro Alias="[EyeCatch]RSSFeed" title="Nyheter RSS: Easycredit" documentTypeAlias="NewsPost" depth="5" propertyName="content" runat="server" /><
However, i only get output if the newspost items are direct children to the newsarchive. Have I misunderstood something?
I will look into this one. It could be that it does not take depth into account when documentTypeAlias is specified.
Awesome. :) Let me know if you need testing help.
Same problem: any update on fixing?
I have just solved this issue. I too have news feeds in date folders. Could only retrieve data from a single folder, and then, only if I linked directly to it: news/2012 /RssFeed. Depth did nothing at all to affect the output, until I removed the value from docTypeAlias, leaving it blank: documentTypeAlias="".
For others searching for a solution, here is my template:
<%@ Master Language="C#" MasterPageFile="/umbraco/masterpages/default.master" AutoEventWireup="true" %> <asp:Content ContentPlaceHolderID="ContentPlaceHolderDefault" runat="server"><umbraco:Macro Alias="[EyeCatch]RSSFeed" title="Nyheder RSS: Our Compnay Name" documentTypeAlias="" depth="2" propertyName="newsItem" runat="server"></umbraco:Macro><% Response.ContentType = "application/rss+xml"; %></asp:Content>
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted