From 6b647c08e7ea725a0d49bb549c8ccdbdfb8ee1ed Mon Sep 17 00:00:00 2001 From: Adrian Short Date: Tue, 3 Jul 2012 17:43:43 +0100 Subject: [PATCH] Added Validate link to W3C RSS/Atom feed validator --- app/views/feeds/show.html.haml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/views/feeds/show.html.haml b/app/views/feeds/show.html.haml index e08e223..f29473b 100644 --- a/app/views/feeds/show.html.haml +++ b/app/views/feeds/show.html.haml @@ -2,7 +2,11 @@ %p= @feed.description -%p= link_to "Fetch", fetch_feed_url(@feed), :class => "button" +%p + = link_to "Fetch", fetch_feed_url(@feed), :class => "button" +   + %a.button{ :href => "http://validator.w3.org/appc/check.cgi?url=#{@feed.feed_url}"} + Validate %p = pluralize(@feed.posts.size, "post")