# Weblog Archive

**URL:** <https://www.ruby-forum.com/t/weblog-archive/128048>\
**Category:** Radiant CMS\
**Created:** [February 4, 2008, 5:04pm UTC](https://www.ruby-forum.com/t/weblog-archive/128048 "2008-02-04T17:04:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![orange](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/65b543/32.png) [@orange](https://www.ruby-forum.com/u/orange)\
**Post date:** [February 4, 2008, 5:04pm UTC](https://www.ruby-forum.com/t/weblog-archive/128048/1 "2008-02-04T17:04:00Z")

</div>

This has been eluding me, so I thought I’d post here for some direction.  
Does Radiant CMS do a archive page like this:

[http://radiantcms.org/blog/archives/](http://radiantcms.org/blog/archives/)

on its own?

I’m fine with doing something custom, but want to be sure I’m not  
overlooking the obvious.

-Ryan

---

<div class="post-metadata">

**Author:** ![orange](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/65b543/32.png) [@orange](https://www.ruby-forum.com/u/orange)\
**Post date:** [February 4, 2008, 6:49pm UTC](https://www.ruby-forum.com/t/weblog-archive/128048/2 "2008-02-04T18:49:06Z")

</div>

Ryan,

Sort of. Radiant provides the hooks to be able to do it, but you need  
certain code in the page. Here’s what that page has (Textile filter):

\<r:children:each order=“desc” by=“published\_at”\>\<r:header\>

h4. \<r:date format="%B %Y" /\>

\</r:header\>\* \<r:link /\>  
\</r:children:each\>

So, it iterates over all of its children, printing out links in  
bullets. The \<r:header\> section only outputs text when the value of its  
contents changes (so in this case, when the month or year changes).

Sean

---

<div class="post-metadata">

**Author:** ![orange](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/65b543/32.png) [@orange](https://www.ruby-forum.com/u/orange)\
**Post date:** [February 4, 2008, 6:58pm UTC](https://www.ruby-forum.com/t/weblog-archive/128048/3 "2008-02-04T18:58:01Z")

</div>

And if you’re interested in pagination, here’s one  
possibility:

[http://depth-first.com/articles/2007/11/07/paginated-archives-in-radiant-cms-the-power-of-minimal-but-extendable-systems](http://depth-first.com/articles/2007/11/07/paginated-archives-in-radiant-cms-the-power-of-minimal-but-extendable-systems)

Cheers,  
Rich

— Sean C. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> h4. \<r:date format=“%B %Y” /\>
> 
> > 
> 
> Search: [http://radiantcms.org/mailing-list/search/](http://radiantcms.org/mailing-list/search/)  
> Site:  
> [http://lists.radiantcms.org/mailman/listinfo/radiant](http://lists.radiantcms.org/mailman/listinfo/radiant)

* * *

Richard L. Apodaca

[http://depth-first.com](http://depth-first.com) Blog  
[http://metamolecular.com](http://metamolecular.com) Company
