<commit_before>
#define RSS_TMPL \
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"\
"<rss version=\"2.0\">\n"\
" <channel>\n"\
"  <title><?cs var:html_escape(diary.title) ?></title>\n"\
"  <description></description>\n"\
"  <link><?cs var:diary.uri ?></link>\n"\
"<?cs each:item = index ?>"\
"  <item>\n"\
"   <link><?cs var:item.uri ?></link>\n"\
"   <title><?cs var:html_escape(item.title) ?></title>\n"\
"<?cs if:item.desc ?>"\
"   <description>"\
"     <![CDATA[<?cs var:html_escape(item.desc) ?>]]>"\
"   </description>\n"\
"<?cs /if ?>"\
"  </item>\n"\
"<?cs /each ?>"\
" </channel>\n"\
"</rss>\n"

#define RSS_TMPL_LEN (sizeof(RSS_TMPL) - 1)<commit_msg>fix: link for entries in RSS is empty<commit_after>
#define RSS_TMPL \
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"\
"<rss version=\"2.0\">\n"\
" <channel>\n"\
"  <title><?cs var:html_escape(diary.title) ?></title>\n"\
"  <description></description>\n"\
"  <link><?cs var:diary.uri ?></link>\n"\
"<?cs each:item = index ?>"\
"  <item>\n"\
"   <link><?cs var:diary.uri + item.name ?></link>\n"\
"   <title><?cs var:html_escape(item.title) ?></title>\n"\
"<?cs if:item.desc ?>"\
"   <description>"\
"     <![CDATA[<?cs var:html_escape(item.desc) ?>]]>"\
"   </description>\n"\
"<?cs /if ?>"\
"  </item>\n"\
"<?cs /each ?>"\
" </channel>\n"\
"</rss>\n"

#define RSS_TMPL_LEN (sizeof(RSS_TMPL) - 1)
{'fraction_non_alphanumeric': 0.3151291512915129, 'fraction_numerical': 0.008856088560885609, 'mean_word_length': 3.6920415224913494, 'pattern_counts': {'":': 0, '<': 61, '<?xml version=': 2, '>': 61, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '4161173', 'n_tokens_mistral': 571, 'n_tokens_neox': 584, 'n_words': 93}