As I posted to rails-talk yesterday, I whipped up an Rspec matcher using the feedvalidator gem, which lets you write response.should be_valid_feed in view specs or controller specs which integrate_views I wrote about it this AM. http://talklikeaduck.denhaven2.com/articles/2008/02/08/validating-rss-feeds-with-rspec -- Rick DeNatale My blog on Ruby http://talklikeaduck.denhaven2.com/
I hate to do this because it seems almost sadistic, but I encountered some borkage in the feed in my Safari (3). http://s3.amazonaws.com/giles/rss_feed_bork.png On 2/8/08, Rick DeNatale <rick.denatale at gmail.com> wrote:> As I posted to rails-talk yesterday, I whipped up an Rspec matcher > using the feedvalidator gem, which lets you write > > response.should be_valid_feed > > in view specs or controller specs which integrate_views > > I wrote about it this AM. > > http://talklikeaduck.denhaven2.com/articles/2008/02/08/validating-rss-feeds-with-rspec > > -- > Rick DeNatale > > My blog on Ruby > http://talklikeaduck.denhaven2.com/ > _______________________________________________ > rspec-users mailing list > rspec-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users >-- Giles Bowkett Podcast: http://hollywoodgrit.blogspot.com Blog: http://gilesbowkett.blogspot.com Portfolio: http://www.gilesgoatboy.org Tumblelog: http://giles.tumblr.com
Not sure what you''re talking about. 1) My blog is just standard typo, so the code I''m talking about isn''t involved. 2) The feed on my blog, does indeed validate. Now if Safari has a problem formating it, it''s not a validation problem. On 2/8/08, Giles Bowkett <gilesb at gmail.com> wrote:> I hate to do this because it seems almost sadistic, but I encountered > some borkage in the feed in my Safari (3). > > http://s3.amazonaws.com/giles/rss_feed_bork.png > > On 2/8/08, Rick DeNatale <rick.denatale at gmail.com> wrote: > > As I posted to rails-talk yesterday, I whipped up an Rspec matcher > > using the feedvalidator gem, which lets you write > > > > response.should be_valid_feed > > > > in view specs or controller specs which integrate_views > > > > I wrote about it this AM. > > > > http://talklikeaduck.denhaven2.com/articles/2008/02/08/validating-rss-feeds-with-rspec > > > > -- > > Rick DeNatale > > > > My blog on Ruby > > http://talklikeaduck.denhaven2.com/ > > _______________________________________________ > > rspec-users mailing list > > rspec-users at rubyforge.org > > http://rubyforge.org/mailman/listinfo/rspec-users > > > > > -- > Giles Bowkett > > Podcast: http://hollywoodgrit.blogspot.com > Blog: http://gilesbowkett.blogspot.com > Portfolio: http://www.gilesgoatboy.org > Tumblelog: http://giles.tumblr.com > _______________________________________________ > rspec-users mailing list > rspec-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users >-- Rick DeNatale My blog on Ruby http://talklikeaduck.denhaven2.com/
Validation doesn''t mean it''s formatted to be readable though, does it? Nathan Sutton fowlduck at gmail.com rspec 1.1.3 rspec_on_rails 1.1.3 rails 2.0.2 On Feb 8, 2008, at 5:23 PM, Rick DeNatale wrote:> Not sure what you''re talking about. > > 1) My blog is just standard typo, so the code I''m talking about > isn''t involved. > > 2) The feed on my blog, does indeed validate. Now if Safari has a > problem formating it, it''s not a validation problem. > > On 2/8/08, Giles Bowkett <gilesb at gmail.com> wrote: >> I hate to do this because it seems almost sadistic, but I encountered >> some borkage in the feed in my Safari (3). >> >> http://s3.amazonaws.com/giles/rss_feed_bork.png >> >> On 2/8/08, Rick DeNatale <rick.denatale at gmail.com> wrote: >>> As I posted to rails-talk yesterday, I whipped up an Rspec matcher >>> using the feedvalidator gem, which lets you write >>> >>> response.should be_valid_feed >>> >>> in view specs or controller specs which integrate_views >>> >>> I wrote about it this AM. >>> >>> http://talklikeaduck.denhaven2.com/articles/2008/02/08/validating-rss-feeds-with-rspec >>> >>> -- >>> Rick DeNatale >>> >>> My blog on Ruby >>> http://talklikeaduck.denhaven2.com/ >>> _______________________________________________ >>> rspec-users mailing list >>> rspec-users at rubyforge.org >>> http://rubyforge.org/mailman/listinfo/rspec-users >>> >> >> >> -- >> Giles Bowkett >> >> Podcast: http://hollywoodgrit.blogspot.com >> Blog: http://gilesbowkett.blogspot.com >> Portfolio: http://www.gilesgoatboy.org >> Tumblelog: http://giles.tumblr.com >> _______________________________________________ >> rspec-users mailing list >> rspec-users at rubyforge.org >> http://rubyforge.org/mailman/listinfo/rspec-users >> > > > -- > Rick DeNatale > > My blog on Ruby > http://talklikeaduck.denhaven2.com/ > _______________________________________________ > rspec-users mailing list > rspec-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users
Sorry, just kidding. Humorous irony, no serious intent. On 2/8/08, Rick DeNatale <rick.denatale at gmail.com> wrote:> Not sure what you''re talking about. > > 1) My blog is just standard typo, so the code I''m talking about isn''t involved. > > 2) The feed on my blog, does indeed validate. Now if Safari has a > problem formating it, it''s not a validation problem. > > On 2/8/08, Giles Bowkett <gilesb at gmail.com> wrote: > > I hate to do this because it seems almost sadistic, but I encountered > > some borkage in the feed in my Safari (3). > > > > http://s3.amazonaws.com/giles/rss_feed_bork.png > > > > On 2/8/08, Rick DeNatale <rick.denatale at gmail.com> wrote: > > > As I posted to rails-talk yesterday, I whipped up an Rspec matcher > > > using the feedvalidator gem, which lets you write > > > > > > response.should be_valid_feed > > > > > > in view specs or controller specs which integrate_views > > > > > > I wrote about it this AM. > > > > > > http://talklikeaduck.denhaven2.com/articles/2008/02/08/validating-rss-feeds-with-rspec > > > > > > -- > > > Rick DeNatale > > > > > > My blog on Ruby > > > http://talklikeaduck.denhaven2.com/ > > > _______________________________________________ > > > rspec-users mailing list > > > rspec-users at rubyforge.org > > > http://rubyforge.org/mailman/listinfo/rspec-users > > > > > > > > > -- > > Giles Bowkett > > > > Podcast: http://hollywoodgrit.blogspot.com > > Blog: http://gilesbowkett.blogspot.com > > Portfolio: http://www.gilesgoatboy.org > > Tumblelog: http://giles.tumblr.com > > _______________________________________________ > > rspec-users mailing list > > rspec-users at rubyforge.org > > http://rubyforge.org/mailman/listinfo/rspec-users > > > > > -- > Rick DeNatale > > My blog on Ruby > http://talklikeaduck.denhaven2.com/ > _______________________________________________ > rspec-users mailing list > rspec-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users >-- Giles Bowkett Podcast: http://hollywoodgrit.blogspot.com Blog: http://gilesbowkett.blogspot.com Portfolio: http://www.gilesgoatboy.org Tumblelog: http://giles.tumblr.com
On 2/8/08, Nathan Sutton <nathan.sutton at gmail.com> wrote:> Validation doesn''t mean it''s formatted to be readable though, does it?Correct. And by the way I just looked at my blog''s feed on Safari (3.0.4 on OSX 10.4.11) on my system and it looks just fine. I suspect that the Giles'' problem might actually lie in Safari/Leopard -- Rick DeNatale My blog on Ruby http://talklikeaduck.denhaven2.com/
My Safari''s 3.0.4 too, OS X 10.5. Weird that it would be the OS but I guess that''s the case. On 2/8/08, Rick DeNatale <rick.denatale at gmail.com> wrote:> On 2/8/08, Nathan Sutton <nathan.sutton at gmail.com> wrote: > > Validation doesn''t mean it''s formatted to be readable though, does it? > > Correct. > > And by the way I just looked at my blog''s feed on Safari (3.0.4 on OSX > 10.4.11) on my system and it looks just fine. > > I suspect that the Giles'' problem might actually lie in Safari/Leopard > > -- > Rick DeNatale > > My blog on Ruby > http://talklikeaduck.denhaven2.com/ > _______________________________________________ > rspec-users mailing list > rspec-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users >-- Giles Bowkett Podcast: http://hollywoodgrit.blogspot.com Blog: http://gilesbowkett.blogspot.com Portfolio: http://www.gilesgoatboy.org Tumblelog: http://giles.tumblr.com