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.

12 vuotta sitten
12 vuotta sitten
12 vuotta sitten
12 vuotta sitten
12 vuotta sitten
12 vuotta sitten
12 vuotta sitten
12 vuotta sitten
12 vuotta sitten
12 vuotta sitten
123456789101112131415161718192021222324252627282930313233343536
  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