Anyone have any suggestions on how to roll my own RSS Feed in Rails? Any good tutorials or instructions that people have run into? Should I go with RSS or Atom to start with and which version?
> Anyone have any suggestions on how to roll my own RSS Feed in Rails? > Any good > tutorials or instructions that people have run into? > > Should I go with RSS or Atom to start with and which version?Go with RSS 2.0 and use Builder-templates. There''s a good example on http://ap.rubyonrails.com/classes/ActionView/Base.html under Builder. -- David Heinemeier Hansson, http://www.basecamphq.com/ -- Web-based Project Management http://www.rubyonrails.org/ -- Web-application framework for Ruby http://www.loudthinking.com/ -- Broadcasting Brain
On Mar 11, 2005, at 10:31 AM, John Baku wrote:> Anyone have any suggestions on how to roll my own RSS Feed in Rails? > Any good > tutorials or instructions that people have run into? > > Should I go with RSS or Atom to start with and which version? > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >I''d recommend using builder. Check out the sources of Elite Journal, Typo, and Scratch (to name a few), they''ve all got RSS and Atom feeds. With builder (rxml) it is painfully simple to do. -Scott _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
Wow... that is awesome!!! Can''t ask for a better example :-).> > Anyone have any suggestions on how to roll my own RSS Feed in Rails? > > Any good > > tutorials or instructions that people have run into? > > > > Should I go with RSS or Atom to start with and which version? > > Go with RSS 2.0 and use Builder-templates. There''s a good example on > http://ap.rubyonrails.com/classes/ActionView/Base.html under Builder. > -- > David Heinemeier Hansson, > http://www.basecamphq.com/ -- Web-based Project Management > http://www.rubyonrails.org/ -- Web-application framework for Ruby > http://www.loudthinking.com/ -- Broadcasting Brain > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >