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
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
Hey there!
If you come up with something, lemmie know? I’m interested in it for the
RSS feeds side of things.
Andrew
Ditto.
We’re going to be building a newsletter mailer application that uses
Radiant’s content management. I may attempt to make an extension out of
it, but I haven’t really looked into creating extensions yet.
-jim
On 2/13/2007, “Andrew K.” [email protected] wrote:
something, I’ll pass it on!
|
I want to agregate the posts from both section on a single feed, but I
Section 1 : Article 1 (published_at: jan/17)
Radiant mailing list
Post: [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Jim G.
Creative Director and Owner
Saturn Flyer, LLC
Home info
[email protected]
571+212+0338