# Another RSS Feed question

**URL:** <https://www.ruby-forum.com/t/another-rss-feed-question/170672>\
**Category:** Rails\
**Created:** [June 20, 2009, 7:48pm UTC](https://www.ruby-forum.com/t/another-rss-feed-question/170672 "2009-06-20T19:48:39Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![adsouzp](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/df788c/32.png) [@adsouzp](https://www.ruby-forum.com/u/adsouzp)\
**Post date:** [June 20, 2009, 7:48pm UTC](https://www.ruby-forum.com/t/another-rss-feed-question/170672/1 "2009-06-20T19:48:39Z")

</div>

I’ve searched the whole forums watched all the videos read the books  
and apparently there is about 1,000 ways to generate a rss feed. Which  
none of them worked for me.

I was going to reply to a post to continue the thread…

[http://www.ruby-forum.com/topic/189367#new](http://www.ruby-forum.com/topic/189367#new)  
(which I followed and no success)

…but more questions I need answered.

I am running rails 2.3.2 and the furthest I’ve got to display a rss  
feed was by adding a auto\_discovery\_link which then brought me to a  
blank page. I’ve read that you must make a file in the veiw with these  
ext.

.rss.builder  
.rxml  
.xml.builder

Some controller settings

def rss  
@posts = Post.all :order =\> “created\_at DESC”  
end

def news  
@incidents = Incident.find(:all, :conditions=\>[â€˜updated\_at \> ?â€™,  
Time.now.yesterday])  
render :xml=\>@incidents  
end

And about a 1,000 different xml templates which I won’t list. I  
installed atom with no luck. I have 3 RoR right next to me with 3  
different way to do RSS feeds. Do I just not understand xml? Is there  
something different with rails 2.3.2? I need some kind of tutorial or  
direction.

---

<div class="post-metadata">

**Author:** ![adsouzp](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/df788c/32.png) [@adsouzp](https://www.ruby-forum.com/u/adsouzp)\
**Post date:** [July 16, 2009, 11:14am UTC](https://www.ruby-forum.com/t/another-rss-feed-question/170672/2 "2009-07-16T11:14:25Z")

</div>

I am having the same issue on Rails 2.3.2.

I get “Missing template my\_controller/my\_action.erb” for /  
my\_controller/my\_action.rss

Even though I have a my\_action.rss.builder template  
and  
map.connect “my\_controller/my\_action.:format”, :controller =\>  
‘my\_controller’, :action =\> ‘my\_action’  
in routes.rb

On Jun 20, 6:48 pm, Aaron D. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

---

<div class="post-metadata">

**Author:** ![adsouzp](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/df788c/32.png) [@adsouzp](https://www.ruby-forum.com/u/adsouzp)\
**Post date:** [July 16, 2009, 12:13pm UTC](https://www.ruby-forum.com/t/another-rss-feed-question/170672/3 "2009-07-16T12:13:27Z")

</div>

Never mind, turns out I had a filter that forced the format to html…

---

<div class="post-metadata">

**Author:** ![adsouzp](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/df788c/32.png) [@adsouzp](https://www.ruby-forum.com/u/adsouzp)\
**Post date:** [July 16, 2009, 5:53pm UTC](https://www.ruby-forum.com/t/another-rss-feed-question/170672/4 "2009-07-16T17:53:10Z")

</div>

Aaron D. wrote:

> I’ve searched the whole forums watched all the videos read the books  
> and apparently there is about 1,000 ways to generate a rss feed. Which  
> none of them worked for me.  
> […]

You’re welcome to look at the way I’m doing it in Quorum (  
[http://quorum2.sourceforge.net](http://quorum2.sourceforge.net) ). I’m not using any RSS plugin or  
anything, just using Builder to create the XML file (I might change it  
over to Haml at some point). Check it out.

## Best,

Marnen Laibow-Koser  
[http://www.marnen.org](http://www.marnen.org)  
removed\_email\_address@domain.invalid

---

<div class="post-metadata">

**Author:** ![adsouzp](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/df788c/32.png) [@adsouzp](https://www.ruby-forum.com/u/adsouzp)\
**Post date:** [July 16, 2009, 6:07pm UTC](https://www.ruby-forum.com/t/another-rss-feed-question/170672/5 "2009-07-16T18:07:08Z")

</div>

2009/7/16 Marnen Laibow-Koser [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):

> Aaron D. wrote:
> 
> > Â I’ve searched the whole forums watched all the videos read the books  
> > and apparently there is about 1,000 ways to generate a rss feed. Which  
> > none of them worked for me.  
> > […]

You tried all 1000 ways?  
I would suggest you pick one you like the look of and if you cannot  
get it to work then come back here with specific details of the  
problem and surely someone will help.

Colin
