<commit_before><?xml version="1.0" encoding="UTF-8"?>
<%@ include file="/common/taglibs.jsp"%>
<% response.setContentType("application/rdf+xml"); %>
<rdf:RDF
  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  xmlns:dcterms="http://purl.org/dc/terms/"
  xmlns:dc="http://purl.org/dc/elements/1.1/"
  xmlns="http://purl.org/rss/1.0/">
  <channel rdf:about="${baseURL}/${phyloWSPath}?query=<c:out value="${normalizedCQLQuery}" escapeXml="true"/>&amp;format=${format}&amp;recordSchema=${recordSchema}">
    <title>${phyloWSPath}</title>
    <link>${baseURL}</link>
    <description>${searchResultsThawed.description}</description>
    <image rdf:resource="${domainAddress}<fmt:message key="icons.treebase.16px"/>"/>
    <items>
      <rdf:Seq>      
		<c:forEach var="result" items="${searchResultsThawed.results}" varStatus="status">
			<rdf:li rdf:resource="${baseURL}/<c:out value="${result.phyloWSPath}"/>"/>
		</c:forEach>      
      </rdf:Seq>
    </items>
  </channel>
  <image rdf:about="${domainAddress}<fmt:message key="icons.treebase.16px"/>">
    <title>${phyloWSPath}</title>
    <link>${baseURL}</link>
    <url>${domainAddress}<fmt:message key="icons.treebase.16px"/></url>
  </image>
  <c:forEach var="result" items="${searchResultsThawed.results}" varStatus="status">
  <item rdf:about="${baseURL}/<c:out value="${result.phyloWSPath}"/>">
    <title><c:out value="${result.namespacedGUID}"/></title>
    <link>${baseURL}/<c:out value="${result.phyloWSPath}"/></link>
    <description><c:out value="${result.namespacedGUID}"/></description>
  </item>  
  </c:forEach>
</rdf:RDF><commit_msg>Changed mime type from application/rdf+xml to application/rss+xml (safari likes this), removed superfluous feed image (we can't really compute its absolute path here, unless we hardcode things), removed superfluous forward slashes in URLs.<commit_after><?xml version="1.0" encoding="UTF-8"?>
<%@ include file="/common/taglibs.jsp"%>
<% response.setContentType("application/rss+xml"); %>
<rdf:RDF
  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  xmlns:dcterms="http://purl.org/dc/terms/"
  xmlns:dc="http://purl.org/dc/elements/1.1/"
  xmlns="http://purl.org/rss/1.0/">
  <channel rdf:about="${baseURL}${phyloWSPath}?query=<c:out value="${normalizedCQLQuery}" escapeXml="true"/>&amp;format=${format}&amp;recordSchema=${recordSchema}">
    <title>${phyloWSPath}</title>
    <link>${baseURL}</link>
    <description>${searchResultsThawed.description}</description>
    <%--image rdf:resource="${domainAddress}<fmt:message key="icons.treebase.16px"/>"/--%>
    <items>
      <rdf:Seq>      
		<c:forEach var="result" items="${searchResultsThawed.results}" varStatus="status">
			<rdf:li rdf:resource="${baseURL}<c:out value="${result.phyloWSPath}"/>"/>
		</c:forEach>      
      </rdf:Seq>
    </items>
  </channel>
  <%--image rdf:about="${domainAddress}<fmt:message key="icons.treebase.16px"/>">
    <title>${phyloWSPath}</title>
    <link>${baseURL}</link>
    <url>${domainAddress}<fmt:message key="icons.treebase.16px"/></url>
  </image--%>
  <c:forEach var="result" items="${searchResultsThawed.results}" varStatus="status">
  <item rdf:about="${baseURL}<c:out value="${result.phyloWSPath}"/>">
    <title><c:out value="${result.namespacedGUID}"/></title>
    <link>${baseURL}<c:out value="${result.phyloWSPath}"/></link>
    <description><c:out value="${result.namespacedGUID}"/></description>
  </item>  
  </c:forEach>
</rdf:RDF>
{'fraction_non_alphanumeric': 0.23048004626951996, 'fraction_numerical': 0.012724117987275883, 'mean_word_length': 5.441340782122905, 'pattern_counts': {'":': 0, '<': 99, '<?xml version=': 2, '>': 99, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 14}, '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': '1463230', 'n_tokens_mistral': 1284, 'n_tokens_neox': 1237, 'n_words': 146}