GeoRSS aggregator and Layar augmented reality server
Você não pode selecionar mais de 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.

12 anos atrás
12 anos atrás
12 anos atrás
12 anos atrás
12 anos atrás
12 anos atrás
12 anos atrás
12 anos atrás
12 anos atrás
12 anos atrás
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