GeoRSS aggregator and Layar augmented reality server
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

32 lines
581 B

  1. %h1= link_to @feed.title, @feed.url
  2. %p= @feed.description
  3. %p= link_to "Fetch", fetch_feed_url(@feed), :class => "button"
  4. %p
  5. = pluralize(@feed.posts.size, "post")
  6. %p
  7. = link_to @feed.feed_url, @feed.feed_url
  8. %p
  9. - if @feed.last_fetched.nil?
  10. This feed has never been fetched
  11. - else
  12. Last fetched
  13. = time_ago_in_words @feed.last_fetched
  14. ago
  15. %table
  16. - @feed.posts.each do |p|
  17. %tr
  18. %td= link_to p.title, p.url
  19. %td= p.loc['lat']
  20. %td= p.loc['lng']
  21. %td= p.published
  22. = link_to 'Edit', edit_feed_path(@feed)
  23. \|
  24. = link_to 'Back', :root