GeoRSS aggregator and Layar augmented reality server
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 
 
 

37 lignes
865 B

  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 => "https://validator.w3.org/feed/check.cgi?url=#{@feed.feed_url}"}<
  7. Validate
  8. &nbsp;
  9. = link_to 'Edit', edit_feed_path(@feed), :class => "button"
  10. %p
  11. = pluralize(@feed.posts.count, "post")
  12. %p
  13. = link_to @feed.feed_url, @feed.feed_url
  14. %p
  15. - if @feed.last_fetched.nil?
  16. This feed has never been fetched
  17. - else
  18. Last fetched
  19. = time_ago_in_words @feed.last_fetched
  20. ago
  21. %table#feed
  22. - @posts.each do |p|
  23. %tr
  24. %td= link_to p.title, p.url
  25. %td= link_to "Map", "https://maps.google.co.uk/maps?q=%s,%s&hl=en&z=18" % [ p.lat, p.lon ], :target => "_blank"
  26. %td
  27. - unless p.published.nil?
  28. = p.published.strftime("%d %b %Y %H:%M")
  29. = will_paginate @posts