GeoRSS aggregator and Layar augmented reality server
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 
 
 
 

37 wiersze
864 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 => "http://validator.w3.org/appc/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