<commit_before>xml.instruct! :xml, :version => "1.0"
xml.rss(:version => "2.0", 
        "xmlns:geo".to_sym => "http://www.w3.org/2003/01/geo/wgs84_pos#") do
  xml.channel do
    xml.title "IceCondor locations for #{@locations.first.user.username}"
    xml.description "Continuous location tracking"
    xml.link root_url

    for location in @locations
      xml.item do
        xml.title "report from #{location.user.username}"
        xml.description "#{location.user.username} reported"
        xml.pubDate location.created_at.to_s(:rfc822)
        xml.link locations_url+"?id="+location.user.openidentities.first.url
        xml.geo :lat, "#{location.latitude}"
        xml.geo :long, "#{location.longitude}"
      end
    end
  end<commit_msg>fix up the link for each location in the RSS feed<commit_after>xml.instruct! :xml, :version => "1.0"
xml.rss(:version => "2.0", 
        "xmlns:geo".to_sym => "http://www.w3.org/2003/01/geo/wgs84_pos#") do
  xml.channel do
    xml.title "IceCondor locations for #{@locations.first.user.username}"
    xml.description "Continuous location tracking"
    xml.link root_url

    for location in @locations
      xml.item do
        xml.title "report from #{location.user.username}"
        xml.description "#{location.user.username} reported"
        xml.pubDate location.created_at.to_s(:rfc822)
        xml.link location_url(location)
        xml.guid location_url(location)
        xml.geo :lat, "#{location.latitude}"
        xml.geo :long, "#{location.longitude}"
      end
    end
  end
{'fraction_non_alphanumeric': 0.13858165256994145, 'fraction_numerical': 0.02081977878985036, 'mean_word_length': 3.0052083333333335, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 31}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5379276', 'n_tokens_mistral': 521, 'n_tokens_neox': 498, 'n_words': 107}