# RSS Feed for archive with sub categories

**URL:** <https://www.ruby-forum.com/t/rss-feed-for-archive-with-sub-categories/89078>\
**Category:** Radiant CMS\
**Created:** [March 17, 2007, 12:10am UTC](https://www.ruby-forum.com/t/rss-feed-for-archive-with-sub-categories/89078 "2007-03-17T00:10:02Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sean\_Johnson](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/f9ae1b/32.png) [@Sean\_Johnson](https://www.ruby-forum.com/u/Sean_Johnson)\
**Post date:** [March 17, 2007, 12:10am UTC](https://www.ruby-forum.com/t/rss-feed-for-archive-with-sub-categories/89078/1 "2007-03-17T00:10:02Z")

</div>

I’m trying to use radiant for a site, and the blog section is broken  
into  
sub-categories (or children). I’m trying to figure out how to create an  
RSS  
feed that will pull in the posts within these categories. Right now it  
just  
shows the high-level categories. Any suggestions?

Thanks all…

-s

---

<div class="post-metadata">

**Author:** ![Sean\_Johnson](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/f9ae1b/32.png) [@Sean\_Johnson](https://www.ruby-forum.com/u/Sean_Johnson)\
**Post date:** [March 17, 2007, 1:19am UTC](https://www.ruby-forum.com/t/rss-feed-for-archive-with-sub-categories/89078/2 "2007-03-17T01:19:08Z")

</div>

If you’re using Radiant 0.6 RC2 or the ‘mental’ branch, you can install  
the “aggregation” extension, which will group together all of the child  
pages of the pages specified. Here’s an example of what I use for the  
homepage on my site; a similar technique could be used to create an RSS  
feed (I used it to create an Atom feed).

\<r:aggregate urls=“/tech; /music; /philosophy”\>  
\<r:children:each order=“desc” limit=“6”\>

# \<r:title /\>
  
\<r:content /\>  

Posted in \<r:parent:link /\>\<r:if\_content  
part=“extended”\> | \<r:link anchor=“extended”\>Continue  
reading…\</r:link\>\</r:if\_content\>  
\<r:date format=“%a, %b %d, '%y” /\>

  
\</r:children:each\>  
\</r:aggregate\>

Each of the pages specified by URL in the \<r:aggregate\> tag are of the  
“Archive” type.

Cheers,

Sean  
[seancribbs.com](http://seancribbs.com)

---

<div class="post-metadata">

**Author:** ![Sean\_Johnson](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/f9ae1b/32.png) [@Sean\_Johnson](https://www.ruby-forum.com/u/Sean_Johnson)\
**Post date:** [March 17, 2007, 2:11am UTC](https://www.ruby-forum.com/t/rss-feed-for-archive-with-sub-categories/89078/3 "2007-03-17T02:11:14Z")

</div>

Great - is there a list somewhere of all the currently available  
extensions?

-s

---

<div class="post-metadata">

**Author:** ![Sean\_Johnson](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/f9ae1b/32.png) [@Sean\_Johnson](https://www.ruby-forum.com/u/Sean_Johnson)\
**Post date:** [March 17, 2007, 2:16pm UTC](https://www.ruby-forum.com/t/rss-feed-for-archive-with-sub-categories/89078/4 "2007-03-17T14:16:36Z")

</div>

I was hoping somebody put would together something like this. Nice job  
Nancy!

…With one exception. You’ve got me down as releasing two extensions.  
Unfortunately I have no extensions out there.

I’m just opinionated enough around here that it /appears/ like I am  
producing something ;).

I didn’t want to take credit where it isn’t deserved.

-Chris

---

<div class="post-metadata">

**Author:** ![Sean\_Johnson](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/f9ae1b/32.png) [@Sean\_Johnson](https://www.ruby-forum.com/u/Sean_Johnson)\
**Post date:** [March 17, 2007, 3:41pm UTC](https://www.ruby-forum.com/t/rss-feed-for-archive-with-sub-categories/89078/5 "2007-03-17T15:41:12Z")

</div>

The WYSYWIG and Maruku extensions actually are by Nathan W… It is  
a nice list though and it will be handy to have it around for when .6  
is officially released since the current list on the site will be  
obsolete.

–  
Al Steffen

---

<div class="post-metadata">

**Author:** ![Sean\_Johnson](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/f9ae1b/32.png) [@Sean\_Johnson](https://www.ruby-forum.com/u/Sean_Johnson)\
**Post date:** [March 17, 2007, 7:31am UTC](https://www.ruby-forum.com/t/rss-feed-for-archive-with-sub-categories/89078/6 "2007-03-17T07:31:33Z")

</div>

Hi Sean,

I’ve been collecting them as they are announced here on the mailing  
list. I thought I’d make a part on my (coming soon) blog for this until  
there was somehing “official”.

## Here is the list I have so far…

In the Radiant svn (of course)

[http://dev.radiantcms.org/radiant/browser/branches/mental/extensions](http://dev.radiantcms.org/radiant/browser/branches/mental/extensions)  
=\> aggregation  
=\> ldap  
=\> mailer  
=\> reorder  
=\> search

Private Releases

vim extension : a href="[http://www.raphinou.com/radiant.vim](http://www.raphinou.com/radiant.vim)  
Released by: Raphael B. (on 13 Mar, 2007)

virtual\_domain :  
[http://silverinsanity.com/~benji/radiant/virtual\_domain-1.1.tar.gz](http://silverinsanity.com/~benji/radiant/virtual_domain-1.1.tar.gz)  
Released by: Brian G. (on 27 Feb, 2007)

WYSIWYG Text Editor (based on TinyMCE) : [http://tinyurl.com/2xfegp](http://tinyurl.com/2xfegp)  
Released by: Chris Parris (on 4 Feb, 2007

Maruku Text Filter : [http://tinyurl.com/yr96bz](http://tinyurl.com/yr96bz)  
Released by: Chris P. (on 24 Feb, 2007)

rss\_reader-0.2 : [www.scidept.com/content/rss\_reader-0.2](http://www.scidept.com/content/rss_reader-0.2)  
Released by: BJ Clark / Loren J. (on 23 Jan, 2007)

language\_redirect\_extension :  
[https://svn1.hosted-projects.com/medlar/language\_redirect\_extension](https://svn1.hosted-projects.com/medlar/language_redirect_extension)  
Released by: Giovanni I. (on 22 Jan, 2007)

## page\_attachments : [http://seancribbs.com/svn/rails/plugins/extensions/page\_attachments](http://seancribbs.com/svn/rails/plugins/extensions/page_attachments) Released by: Sean C. (on 21 Jan, 2007)

Hope this helps, and happy Saturday!  
Nancy

Sean Johnson schrieb:

---

<div class="post-metadata">

**Author:** ![Sean\_Johnson](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/f9ae1b/32.png) [@Sean\_Johnson](https://www.ruby-forum.com/u/Sean_Johnson)\
**Post date:** [March 17, 2007, 5:15pm UTC](https://www.ruby-forum.com/t/rss-feed-for-archive-with-sub-categories/89078/7 "2007-03-17T17:15:24Z")

</div>

Chris, you crack me up! Thanks for the correction, gentlemen. I’ll  
make the changes and post a permalink to the list as soon as I have one.

best regards,  
Nancy

Al Steffen schrieb:

---

<div class="post-metadata">

**Author:** ![Sean\_Johnson](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/f9ae1b/32.png) [@Sean\_Johnson](https://www.ruby-forum.com/u/Sean_Johnson)\
**Post date:** [March 17, 2007, 10:34pm UTC](https://www.ruby-forum.com/t/rss-feed-for-archive-with-sub-categories/89078/8 "2007-03-17T22:34:05Z")

</div>

Hey, now there’s good idea!

best regards,  
Nancy

Erik van Oosten schrieb:

---

<div class="post-metadata">

**Author:** ![Sean\_Johnson](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/f9ae1b/32.png) [@Sean\_Johnson](https://www.ruby-forum.com/u/Sean_Johnson)\
**Post date:** [March 17, 2007, 10:52pm UTC](https://www.ruby-forum.com/t/rss-feed-for-archive-with-sub-categories/89078/9 "2007-03-17T22:52:08Z")

</div>

Hi all,

I’ve been playing around with extensions lately and I’ve got a couple  
of questions, if anyone can enlighten me:

# Can extensions add actual pages to the site on activation? e.g. As

in, with slugs / URLs and everything, as if they’d been input through  
the Admin interface (not as in sub-classing Page etc.).

# If not, can extensions add default content (HTML/tags) for a page

type? e.g. if I create a page called “widgets” and set it to my  
custom page type of “WidgetListingPage”, can it then be autofilled  
with some appropriate HTML/tag content?

Kind regards,  
-Karl

---

<div class="post-metadata">

**Author:** ![Sean\_Johnson](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/f9ae1b/32.png) [@Sean\_Johnson](https://www.ruby-forum.com/u/Sean_Johnson)\
**Post date:** [March 17, 2007, 7:06pm UTC](https://www.ruby-forum.com/t/rss-feed-for-archive-with-sub-categories/89078/10 "2007-03-17T19:06:42Z")

</div>

Hi Nancy,

That is a very nice list you have there.  
Just for the record, I see someone has put them up at  
[http://dev.radiantcms.org/radiant/wiki/Extensions](http://dev.radiantcms.org/radiant/wiki/Extensions).

Regards,  
Erik.

Nancy C. wrote:

> [http://dev.radiantcms.org/radiant/browser/branches/mental/extensions](http://dev.radiantcms.org/radiant/browser/branches/mental/extensions)
> 
> rss\_reader-0.2 : [www.scidept.com/content/rss\_reader-0.2](http://www.scidept.com/content/rss_reader-0.2)
> 
> * * *
> 
> Radiant mailing list  
> Post: removed\_email\_address@domain.invalid  
> 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)

–  
Erik van Oosten

> **[Day to day stuff](http://day-to-day-stuff.blogspot.com/)**
>
> Experiences from a hard core JVM programmer. Likes to keep things simple.

---

<div class="post-metadata">

**Author:** ![Sean\_Johnson](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/f9ae1b/32.png) [@Sean\_Johnson](https://www.ruby-forum.com/u/Sean_Johnson)\
**Post date:** [March 19, 2007, 1:08am UTC](https://www.ruby-forum.com/t/rss-feed-for-archive-with-sub-categories/89078/11 "2007-03-19T01:08:36Z")

</div>

I’m still new at radiant but my guess is YES and I think this may work:

In the migration file for your extension add code to create an entry  
in the pages table.

Something like:  
Page.create(your params here)
