<commit_before><?xml version="1.0" encoding="UTF-8"?>
<XRD xmlns="http://docs.oasis-open.org/ns/xri/xrd-1.0">
  <Subject>acct:<%=@person.diaspora_handle%></Subject>
  <Alias>"<%= @person.url %>"</Alias>
  <Link rel="http://microformats.org/profile/hcard" type="text/html" href="<%=@person.url%>hcard/users/<%=@person.guid%>"/>
  <Link rel="http://joindiaspora.com/seed_location" type = 'text/html' href="<%=@person.url%>"/>
  <Link rel="http://joindiaspora.com/guid" type = 'text/html' href="<%=@person.guid%>"/>

  <Link rel='http://webfinger.net/rel/profile-page' type='text/html' <%=person_href(@person, :absolute => true)%>/>
  <Link rel="http://schemas.google.com/g/2010#updates-from" type="application/atom+xml" href="<%=@person.public_url%>.atom"/>

  <Link rel="diaspora-public-key" type = 'RSA' href="<%=Base64.strict_encode64(@person.exported_key)%>"/>
</XRD><commit_msg>Publish salmon endpoint URL in Webfinger XRD<commit_after><?xml version="1.0" encoding="UTF-8"?>
<XRD xmlns="http://docs.oasis-open.org/ns/xri/xrd-1.0">
  <Subject>acct:<%=@person.diaspora_handle%></Subject>
  <Alias>"<%= @person.url %>"</Alias>
  <Link rel="http://microformats.org/profile/hcard" type="text/html" href="<%=@person.url%>hcard/users/<%=@person.guid%>"/>
  <Link rel="http://joindiaspora.com/seed_location" type = 'text/html' href="<%=@person.url%>"/>
  <Link rel="http://joindiaspora.com/guid" type = 'text/html' href="<%=@person.guid%>"/>

  <Link rel='http://webfinger.net/rel/profile-page' type='text/html' <%=person_href(@person, :absolute => true)%>/>
  <Link rel="http://schemas.google.com/g/2010#updates-from" type="application/atom+xml" href="<%=@person.public_url%>.atom"/>
  <Link rel="salmon" href="<%= @person.receive_url %>"/>

  <Link rel="diaspora-public-key" type = 'RSA' href="<%=Base64.strict_encode64(@person.exported_key)%>"/>
</XRD>
{'fraction_non_alphanumeric': 0.2572972972972973, 'fraction_numerical': 0.014054054054054054, 'mean_word_length': 5.906716417910448, 'pattern_counts': {'":': 0, '<': 49, '<?xml version=': 2, '>': 51, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 6}, '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': '5192896', 'n_tokens_mistral': 769, 'n_tokens_neox': 712, 'n_words': 87}