# Rss :: Parsing, generation, and caching system for xml news feeds

**URL:** <https://www.ruby-forum.com/t/rss-parsing-generation-and-caching-system-for-xml-news-feeds/145373>\
**Category:** Rails\
**Created:** [August 8, 2008, 3:15pm UTC](https://www.ruby-forum.com/t/rss-parsing-generation-and-caching-system-for-xml-news-feeds/145373 "2008-08-08T15:15:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![hafeez\_mia](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/4da419/32.png) [@hafeez\_mia](https://www.ruby-forum.com/u/hafeez_mia)\
**Post date:** [August 8, 2008, 3:15pm UTC](https://www.ruby-forum.com/t/rss-parsing-generation-and-caching-system-for-xml-news-feeds/145373/1 "2008-08-08T15:15:29Z")

</div>

i am using rails 2.1.0  
i installed feedtools gem  
now i don’t know how to use in my app  
could you please help in that

---

<div class="post-metadata">

**Author:** ![hafeez\_mia](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/4da419/32.png) [@hafeez\_mia](https://www.ruby-forum.com/u/hafeez_mia)\
**Post date:** [August 8, 2008, 3:29pm UTC](https://www.ruby-forum.com/t/rss-parsing-generation-and-caching-system-for-xml-news-feeds/145373/2 "2008-08-08T15:29:35Z")

</div>

i am clear about RSS  
i tried with putting feed action in controller and also tried  
with .rxml file  
i am in confusion what to do  
thats why i am asking

---

<div class="post-metadata">

**Author:** ![hafeez\_mia](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/4da419/32.png) [@hafeez\_mia](https://www.ruby-forum.com/u/hafeez_mia)\
**Post date:** [August 11, 2008, 11:55am UTC](https://www.ruby-forum.com/t/rss-parsing-generation-and-caching-system-for-xml-news-feeds/145373/3 "2008-08-11T11:55:12Z")

</div>

thank you for your response

but when i am calling the index action it is giving authorize error

> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >

in my app there are three controllers…  
login, clients and users.

main controller is “clients” controller

now  
i kept all controller code in clients controller  
def index  
@clients = Client.find(:all)  
respond\_to do |format|  
format.atom  
end  
end

and all index.atom.builder code in views/clients/  
require”feedtool”  
require”feedreader”  
require”feedupdate”

atom\_feed do |feed|  
feed.title(“My Atom Feed”)  
feed.updated((@clients.first.created\_at))

for post in @clients  
feed.entry(client) do |entry|  
entry.title(client.title)  
entry.content(client.body, :type =\> ‘html’)

entry.author do |author|  
author.name(“EMF”)  
end  
end  
end

> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >

Now when i am running  
it is giving Nomethoderror in clientcontroller#index

undefined method ‘authorize’ for #clientcontroller::7658n

could u plz help me solving this
