GeoRSS aggregator and Layar augmented reality server
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

show.html.haml 878 B

pirms 12 gadiem
pirms 12 gadiem
pirms 12 gadiem
pirms 12 gadiem
pirms 12 gadiem
pirms 12 gadiem
pirms 12 gadiem
pirms 12 gadiem
pirms 12 gadiem
pirms 12 gadiem
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 => "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.loc['lat'], p.loc['lng'] ], :target => "_blank"
  26. %td
  27. - unless p.published.nil?
  28. = p.published.strftime("%d %b %Y %H:%M")
  29. = will_paginate @posts