~bitfehler/public-inbox

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
1

[PATCH blog] Wrap post content in CDATA

Details
Message ID
<20220715125854.97656-1-umar@handlerug.me>
DKIM signature
pass
Download raw message
Patch: +1 -1
---
I also noticed the RSS feed on the live website is missing post content
altogether. Is that intentional?

 bin/mkrss | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/mkrss b/bin/mkrss
index aeb15f6..9c9e9d7 100755
--- a/bin/mkrss
@@ -35,7 +35,7 @@ for post in $POSTS; do
      <link>https://bitfehler.srht.site/${link}</link>
      <pubDate>$(date -d "${date}" -R)</pubDate>
      <guid>https://bitfehler.srht.site/${link}</guid>
      <description>$(render_without_title "${post}" | LANG=C sed "s/[\x80-\xFF]//g" | html_encode)</description>
      <description><![CDATA[$(render_without_title "${post}")]]></description>
    </item>
EOF
done
-- 
2.32.1 (Apple Git-133)
Details
Message ID
<e2a26341-275a-b26f-2cf2-00c275f6c0f9@bitfehler.net>
In-Reply-To
<20220715125854.97656-1-umar@handlerug.me> (view parent)
DKIM signature
pass
Download raw message
Hey there!

Sorry for the late response, I was out on vacation. Thanks for your 
patch, I applied it. Also:

On 7/15/22 14:58, Umar Getagazov wrote:
> I also noticed the RSS feed on the live website is missing post content
> altogether. Is that intentional?

Not at all. I noticed it went missing at some point, but didn't have 
time to investigate. Turns out the mkrss script was still using the 
stock markdown renderer, which is no longer installed on the build 
image. Fixed it to use cmos like for the actual pages, the content is 
back now. Thanks for nudging me on that, too :)

Cheers,
Conrad
Reply to thread Export thread (mbox)