GeoRSS aggregator and Layar augmented reality server
Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

show.html.haml 764 B

há 12 anos
há 12 anos
há 12 anos
há 12 anos
12345678910111213141516171819202122232425262728293031323334353637
  1. %h1= link_to @feed.title, @feed.url
  2. %p= @feed.description
  3. %p
  4. = link_to "Fetch", fetch_feed_url(@feed), :class => "button"
  5.  
  6. %a.button{ :href => "http://validator.w3.org/appc/check.cgi?url=#{@feed.feed_url}"}
  7. Validate
  8. %p
  9. = pluralize(@feed.posts.size, "post")
  10. %p
  11. = link_to @feed.feed_url, @feed.feed_url
  12. %p
  13. - if @feed.last_fetched.nil?
  14. This feed has never been fetched
  15. - else
  16. Last fetched
  17. = time_ago_in_words @feed.last_fetched
  18. ago
  19. %table
  20. - @feed.posts.each do |p|
  21. %tr
  22. %td= link_to p.title, p.url
  23. %td= p.loc['lat']
  24. %td= p.loc['lng']
  25. %td
  26. - unless p.published.nil?
  27. = p.published.strftime("%d %b %Y %H:%M")
  28. = link_to 'Edit', edit_feed_path(@feed)
  29. \|
  30. = link_to 'Back', :root