Re: [Radiant] iterating over children of children in order of creation
Thanks. I have about 100 directories that I'm loading pages from -- would i have to list each subdirectory? Joe On Thu, Nov 5, 2009 at 8:32 PM, john muhl johnm...@gmail.com wrote: take a look at the aggregation extension: http://github.com/radiant/radiant-aggregation-extension On Thu, Nov 5, 2009 at 7:45 PM, Joe Van Dyk j...@pinkpucker.net wrote: Hello, I've got the following structure: /publications /publications/boats/page1 /publications/boats/page2 /publications/boats/page3 /publications/cars/page1 /publications/cars/page2 etc I want to make a RSS feed that lists the most recent pages from the publications directory. when I do something like: r:find /publications / r:children:each by=created_at order=desc limit=20 ... /r:children:each It seems to order the pages by whenever the top-level boats and cars pages themselves were updated, not by the most recent updated children of the cars and boats pages. Again, if /publications/cars/page5 was added, I'd want that to be at the top of the rss feed. Ideas on how to do that? -- Joe Van Dyk http://fixieconsulting.com ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant -- Joe Van Dyk http://fixieconsulting.com ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
[Radiant] iterating over children of children in order of creation
Hello, I've got the following structure: /publications /publications/boats/page1 /publications/boats/page2 /publications/boats/page3 /publications/cars/page1 /publications/cars/page2 etc I want to make a RSS feed that lists the most recent pages from the publications directory. when I do something like: r:find /publications / r:children:each by=created_at order=desc limit=20 ... /r:children:each It seems to order the pages by whenever the top-level boats and cars pages themselves were updated, not by the most recent updated children of the cars and boats pages. Again, if /publications/cars/page5 was added, I'd want that to be at the top of the rss feed. Ideas on how to do that? -- Joe Van Dyk http://fixieconsulting.com ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] iterating over children of children in order of creation
take a look at the aggregation extension: http://github.com/radiant/radiant-aggregation-extension On Thu, Nov 5, 2009 at 7:45 PM, Joe Van Dyk j...@pinkpucker.net wrote: Hello, I've got the following structure: /publications /publications/boats/page1 /publications/boats/page2 /publications/boats/page3 /publications/cars/page1 /publications/cars/page2 etc I want to make a RSS feed that lists the most recent pages from the publications directory. when I do something like: r:find /publications / r:children:each by=created_at order=desc limit=20 ... /r:children:each It seems to order the pages by whenever the top-level boats and cars pages themselves were updated, not by the most recent updated children of the cars and boats pages. Again, if /publications/cars/page5 was added, I'd want that to be at the top of the rss feed. Ideas on how to do that? -- Joe Van Dyk http://fixieconsulting.com ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant