@@ -3,6 +3,7 @@ layout: null
33permalink: /rss.xml
44---
55<?xml version =" 1.0" encoding =" UTF-8" ?>
6+ {%- assign feedback_form = "https://docs.google.com/forms/d/e/1FAIpQLSeRD0Q9wYYZelAkRXEu2cCFN89-cvoAfOtyTY9vaz9-FUvYXQ/viewform?usp=pp_url& entry.2083454847=" -%}
67<rss version =" 2.0" xmlns : atom =" http://www.w3.org/2005/Atom" >
78 <channel >
89 <title >cb341.dev</title >
@@ -14,11 +15,13 @@ permalink: /rss.xml
1415 <lastBuildDate >{{ site.time | date_to_rfc822 }}</lastBuildDate >
1516 <ttl >60</ttl >
1617 {%- for post in site.posts %}
18+ {%- assign feedback_target = site.url | append: post.url %}
19+ {%- capture feedback_link %}<hr ><p ><a href =" {{ feedback_form }}{{ feedback_target | url_encode }}" target =" _blank" rel =" noopener noreferrer" >Challenge this post (anonymous)</a ></p >{% endcapture %}
1720 <item >
1821 <title >{{ post.title | xml_escape }}</title >
1922 <link >{{ site.url }}{{ post.url }}</link >
2023 <guid >{{ site.url }}{{ post.url }}</guid >
21- <description >{{ post.content | xml_escape }}</description >
24+ <description >{{ post.content | append: feedback_link | xml_escape }}</description >
2225 <pubDate >{{ post.date | date_to_rfc822 }}</pubDate >
2326 {%- for tag in post.tags %}
2427 <category >{{ tag | xml_escape }}</category >
@@ -40,11 +43,13 @@ permalink: /rss.xml
4043 {%- assign yyyy = date_parts[2] %}
4144 {%- assign iso = yyyy | append: "-" | append: mm | append: "-" | append: dd | append: "T12:00:00Z" %}
4245 {%- assign slug = heading | replace: ".", "" | slugify %}
46+ {%- assign feedback_target = site.url | append: threads_page.url | append: "#" | append: slug %}
47+ {%- capture feedback_link %}<hr ><p ><a href =" {{ feedback_form }}{{ feedback_target | url_encode }}" target =" _blank" rel =" noopener noreferrer" >Challenge this thread (anonymous)</a ></p >{% endcapture %}
4348 <item >
4449 <title >Threads: {{ heading | xml_escape }}</title >
4550 <link >{{ site.url }}{{ threads_page.url }}#{{ slug }}</link >
4651 <guid isPermaLink =" false" >{{ site.url }}{{ threads_page.url }}#{{ slug }}</guid >
47- <description ><![CDATA[ {{ body | markdownify }}]]> </description >
52+ <description ><![CDATA[ {{ body | markdownify }}{{ feedback_link }} ]]> </description >
4853 <pubDate >{{ iso | date_to_rfc822 }}</pubDate >
4954 <category >threads</category >
5055 </item >
0 commit comments