R:aggregation and monthly archives

Hi All,

Ie$B!Ge(Bve got three archives that Ie$B!Ge(Bm aggregating on a parent
page using r:aggregation. I want to make an aggregate monthly archive
of all child posts for the sidebar. On the archive pages I can list
articles and add per-month headers which link to a monthly archive. On
the parent r:aggregate page I can aggregate all the child archive
articles and add per-day headers, but the same per-month header code
doesne$B!Ge(Bt work. If I try to make the parent page into an archive
r:aggregate stops working. Adding a monthly archive to the parent page
then trying to access it via /monthly-archive or a date-based url
gives 404s.

Is it possible to get per-month aggregate archives of child archives?
or to fake them somehow?

The code Ie$B!Ge(Bm using in the archive pages sidebar is:
http://www.lion-ah.com/ja/blog/photos

<r:find url="/ja/blog/news/"><r:children:each limit=“5” order=“desc”
by=“published_at”>

    ">

This gives a month header that links to the monthly archive, followed
by each article that month.

Code that works on the r:aggregate parent page sidebar:
http://www.lion-ah.com/ja/blog

e$B:G6a$N%V%m%0e(B

  1. newsarticlesphotos entry">e$B%K%e!<%9e(Be$B5-;ve(B e$B<L??e(Be$B!!e(B

This gives aggregate articles from child archives, with unlinked per-
day headers (and category titles).

Any idea how Ie$B!Ge(Bd make an aggregate monthly archive of child
archive articles, then generate per-month links to it? eg

All articles published in:
June 2008
July 2008
August 2008

Thanks in advance

peace - oli

PS Sean you should have answered anyhow - irclogger was covering for
me :wink:

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs