В jekyll, как я могу показать изображение поста в своем RSS-канале? - PullRequest
0 голосов
/ 18 апреля 2020

Я использую гем jekyll-feed отображать RSS-канал для моего блога.

Как я могу отобразить изображение сообщения в своей записи RSS-канала?

Мой текущий канал выглядит так:

<feed xmlns="http://www.w3.org/2005/Atom">
<generator uri="https://jekyllrb.com/" version="3.8.5">Jekyll</generator>
<link href="https://newtonkaranu.me/blog/blog/feed.xml" rel="self" type="application/atom+xml"/>
<link href="https://newtonkaranu.me/blog/blog/" rel="alternate" type="text/html"/>
<updated>2020-04-18T16:04:46+00:00</updated>
<id>https://newtonkaranu.me/blog/blog/feed.xml</id>
<title type="html">My personal blog - Newton Karanu</title>
<subtitle>
I am human. I speak code. I learn, and once I do, I strive to teach what I have learnt.
</subtitle>
<author>
<name>Newton Karanu</name>
</author>
<entry>
<title type="html">It has been a while.</title>
<link href="https://newtonkaranu.me/blog/blog/it-has-been-a-while/" rel="alternate" type="text/html" title="It has been a while."/>
<published>2020-04-18T15:29:20+00:00</published>
<updated>2020-04-18T15:29:20+00:00</updated>
<id>
https://newtonkaranu.me/blog/blog/it-has-been-a-while
</id>
<content type="html" xml:base="https://newtonkaranu.me/blog/blog/it-has-been-a-while/">
<blockquote> <p>It is a dangerous business… <br /> Going out your door <br /> You step onto the road and if you don’t keep your feet… <br /> There’s no knowing where you might be swept off to <br /></p> </blockquote> <p>It has been a while since I’ve written, <br /> It has been forever since I’ve felt, <br /> Not because I’m distracted, smitten, <br /> Nor has my ice heart melt. <br /></p> <p>I have failed to write because, <br /> Because words and worlds a new, <br /> Written on paper with cause, <br /> Cannot distract my eyes. <br /></p> <p>The emotions displayed openly, <br /> In writing, cannot be aired out, <br /> The gasp and sigh escape unwillingly, <br /> As my elastic heart finally goes taut. <br /></p> <p>Aaah, but the days we had, <br /> The days when the earth was still young, <br /> The days we allowed ourselves to feel sad, <br /> I wonder at what we have now become. <br /></p> <p>indifferent, manipulative and cold, <br /> Eyes void of emotions, yet beautiful than most, <br /> Hearts that feel absolutely nothing yet bold, <br /> We are all but covered in frost. <br /></p> <p>I propose a toast, <br /> To the joy and sadness, <br /> That we used to brag about and boast, <br /> As I go back to my madness <br /></p>
</content>
<author>
<name>Newton Karanu</name>
</author>
<category term="["Lifestyle", "Poetry"]"/>
<category term="Lifestyle"/>
<category term="Poetry"/>
<summary type="html">
It is a dangerous business… Going out your door You step onto the road and if you don’t keep your feet… There’s no knowing where you might be swept off to
</summary>
</entry>
</feed>
...