[Radiant] agregating posts
Gabriel Lamounier
grezlam at gmail.com
Fri Feb 16 14:31:36 CST 2007
Sean,
This agregate tag is just what I need, and I think many of us too. I
look forward to hear from you soon. That will be a Radiant plus for
sure.
This tag is quite is crucial for my site :)
Gabriel
> ------------------------------
>
> Message: 8
> Date: Mon, 12 Feb 2007 17:32:22 -0600
> From: Sean Cribbs <seancribbs at gmail.com>
> Subject: Re: [Radiant] agregating posts
> To: radiant at lists.radiantcms.org
> Message-ID: <45D0F906.9070709 at gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Gabriel,
>
> I've been thinking of doing something like that myself. Here's what I'm
> thinking in terms of tags:
>
> <r:aggregate urls="/section-1; /section-2; /section-3">
> <r:children:each limit="10" order="desc">
> ...
> </r:children:each>
> </r:aggregate>
>
> I don't have time tonight to work on it, but as soon as I have
> something, I'll pass it on!
>
> Sean
>
> Gabriel Lamounier wrote:
> > Hi all,
> >
> > Let me explain my problem. I have the following structure:
> >
> > -- HOME
> > |
> > |__ Section 1
> > | |__ Article 1 (published_at: jan/17)
> > | |__ Article 2 (published_at: jan/30)
> > | |__ Article N (published_at: feb/10)
> > |
> > |__ Section 2
> > |__ Article 1 (published_at: jan/25)
> > |__ Article 2 (published_at: jan/26)
> > |__ Article N (published_at: jan/31)
> >
> > I want to agregate the posts from both section on a single feed, but I
> > want them to be sorted by published date, regardless of wich section
> > they belong to.
> >
> > The final result would be something like this:
> >
> > - Section 1 : Article N (published_at: feb/10)
> > - Section 2 : Article N (published_at: jan/31)
> > - Section 1 : Article 2 (published_at: jan/30)
> > - Section 2 : Article 2 (published_at: jan/26)
> > - Section 2 : Article 1 (published_at: jan/25)
> > - Section 1 : Article 1 (published_at: jan/17)
> >
> > Can anyone help me?
> >
> >
> > Gabriel
> > _______________________________________________
> > Radiant mailing list
> > Post: Radiant at lists.radiantcms.org
> > Search: http://radiantcms.org/mailing-list/search/
> > Site: http://lists.radiantcms.org/mailman/listinfo/radiant
> >
> >
>
More information about the Radiant
mailing list