You can do this with routing – in config/routes.rb:

    map.rss '/feeds/articles', :controller => 'articles', :action =>
'index', :format => 'rss'

/Lasse

2010/4/2 Rahul Mehta <[email protected]>

> hii lasse
>
> i have read this article but how to place rss feed to folder..
> thanks for reply..
>
>
>
> On Apr 2, 3:25 pm, Lasse Bunk <[email protected]> wrote:
> > http://paulsturgess.co.uk/articles/show/13-creating-an-rss-feed-in-ru...
> >
> > 2010/4/2 Rahul Mehta <[email protected]>
> >
> > > its not giving useful result dear ..
> >
> > > On Apr 2, 2:47 pm, Lasse Bunk <[email protected]> wrote:
> > > > Rahul,
> >
> > > > Tryhttp://www.google.com/search?q=rails+rss+feed
> >
> > > > /Lasse
> >
> > > > 2010/4/2 Rahul Mehta <[email protected]>
> >
> > > > > hi all,
> >
> > > > > for my project need to generate rss feed and place in folder what
> to
> > > > > do ?
> >
> > > > > we need to have RSS feed generated and placed inside /feeds folder.
> > > > > Format of these feeds should be valid RSS feed format. These feed
> > > > > should contain whatever information is present in the  field or
> > > > > everything in the database table  field. Number of entries in the
> feed
> > > > > should be limited to most recent five articles.
> > > > > Please ensure that generated feed is the valid RSS feed.
> >
> > > > > what thing to use to put rss feed in the folder
> > > > > i know how to generate rss feed generate by <link tag>
> > > > > <link rel="alternate" type="application/rss+xml" title="RSS"
> href="url/
> > > > > to/rss/file" />
> >
> > > > > but to put in the folder what to do i dont know
> >
> > > > > please help.
> >
> > > > > thanks
> >
> > > > > rahul
> >
> > > > > --
> > > > > You received this message because you are subscribed to the Google
> > > Groups
> > > > > "Ruby on Rails: Talk" group.
> > > > > To post to this group, send email to
> [email protected]
> > > .
> > > > > To unsubscribe from this group, send email to
> > > > > [email protected]<rubyonrails-talk%[email protected]>
> <rubyonrails-talk%[email protected]<rubyonrails-talk%[email protected]>
> >
> > > <rubyonrails-talk%[email protected]<rubyonrails-talk%[email protected]>
> <rubyonrails-talk%[email protected]<rubyonrails-talk%[email protected]>
> >
> >
> > > > > .
> > > > > For more options, visit this group at
> > > > >http://groups.google.com/group/rubyonrails-talk?hl=en.
> >
> > > --
> > > You received this message because you are subscribed to the Google
> Groups
> > > "Ruby on Rails: Talk" group.
> > > To post to this group, send email to [email protected]
> .
> > > To unsubscribe from this group, send email to
> > > [email protected]<rubyonrails-talk%[email protected]>
> <rubyonrails-talk%[email protected]<rubyonrails-talk%[email protected]>
> >
> > > .
> > > For more options, visit this group at
> > >http://groups.google.com/group/rubyonrails-talk?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<rubyonrails-talk%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to