How to see the feed of your items

Hello everyone, I am a bit confused with the XML markup the controller
generates in an rails scaffold, because I can’t see it. For example, I
create a post scaffold then I go to http://localhost:3000/posts but I
can’t see the RSS icon on the nav bar on Firefox, neither in Chrome
with an extension. Any trick for that, did I make any mistake?

Thanks previously,
Rodrigo Alves V.

On 23 June 2010 21:43, rodrigo3n [email protected] wrote:

Hello everyone, I am a bit confused with the XML markup the controller
generates in an rails scaffold, because I can’t see it. For example, I
create a post scaffold then I go to http://localhost:3000/posts but I
can’t see the RSS icon on the nav bar on Firefox, neither in Chrome
with an extension. Any trick for that, did I make any mistake?

http://localhost:3000/posts.xml

yep
this first mistake
rails generate only api(xml, json) and html scaffold, rss its subs of
xml, but not the same, u should u own write rss.xmlbuilder with rss
schema definition, or use some plugins, such as atom feed, and so on
the first mistake, if u wanna that u browser show u the “rss” link u
shoud add alternate link to your headers

Best Regards, Dieinzige

On 23 Jun, 2010,at 08:43 PM, rodrigo3n [email protected] wrote:

Hello everyone, I am a bit confused with the XML markup the controller
generates in an rails scaffold, because I can’t see it. For example, I
create a post scaffold then I go to http://localhost:3000/posts but I
can’t see the RSS icon on the nav bar on Firefox, neither in Chrome
with an extension. Any trick for that, did I make any mistake?

Thanks previously,
Rodrigo Alves V.


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.