Ver código fonte

Added Validate link to W3C RSS/Atom feed validator

master
Adrian Short 12 anos atrás
pai
commit
6b647c08e7
1 arquivos alterados com 5 adições e 1 exclusões
  1. +5
    -1
      app/views/feeds/show.html.haml

+ 5
- 1
app/views/feeds/show.html.haml Ver arquivo

@@ -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")


Carregando…
Cancelar
Salvar