# RSS Feeds

**URL:** <https://www.ruby-forum.com/t/rss-feeds/107225>\
**Category:** Radiant CMS\
**Created:** [June 19, 2007, 12:00pm UTC](https://www.ruby-forum.com/t/rss-feeds/107225 "2007-06-19T12:00:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sharon\_C](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/9de0a6/32.png) [@Sharon\_C](https://www.ruby-forum.com/u/Sharon_C)\
**Post date:** [June 19, 2007, 12:00pm UTC](https://www.ruby-forum.com/t/rss-feeds/107225/1 "2007-06-19T12:00:07Z")

</div>

RSS Feeds

I would like to set up an RSS feed for the news section of our website,  
can anyone recommend the best way to do this?

Thanks

Sharon

This e-mail has been scanned for all viruses by MessageLabs.

---

<div class="post-metadata">

**Author:** ![Sharon\_C](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/9de0a6/32.png) [@Sharon\_C](https://www.ruby-forum.com/u/Sharon_C)\
**Post date:** [June 19, 2007, 1:18pm UTC](https://www.ruby-forum.com/t/rss-feeds/107225/2 "2007-06-19T13:18:24Z")

</div>

RSS is XML, so a nice way to do it in radiant is to define a specific  
layout (and associated snippets if appropriate) that generates the  
required  
XML. Then create a page that injects the required data into the XML  
using  
standard radiant tags.

```
BTW, is there a radius tag that allows inserting pure Ruby like erb?

```

This would allow neat hacks, for example for this RSS example in case  
standard radiant tags are not enough.

```
/AITOR
```
