Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Help] Don't cut blog post content in RSS feed #184

Open
jessienab opened this issue Apr 14, 2024 · 1 comment
Open

[Help] Don't cut blog post content in RSS feed #184

jessienab opened this issue Apr 14, 2024 · 1 comment

Comments

@jessienab
Copy link

jessienab commented Apr 14, 2024

Just wondering if there's a way to avoid cutting the blog post content within the RSS feed. I normally use an <hr> or ---- to avoid having the full post on my blog index, but this also cuts the blog post down in the RSS entry. Example:

<atom:link href="https://jessie.nabein.me/blog/rss" rel="self" type="application/rss+xml" />
<item><title>
Eight Weeks In Japan - Part 3 - Tottori
</title><description><![CDATA[

<p>機械翻訳された日本語の記事にアクセスする<a href="jp/日本での8週間pt3.html">にはここをクリックする</a>。</p>


<p>Finally the third part of my eighth week in Japan. Yes, I really did A LOT in a span of 7 days, so much so that I really felt it was necessary to split it up this way. I just want to share a lot of fun information with everyone! :)</p>

<p>This article will be a bit shorter, so let&rsquo;s start!</p>

<hr />
<p>Tags: <a href='tag_jpjntrv2023.html'>jpjntrv2023</a>, <a href='tag_travel.html'>travel</a>, <a href='tag_travel2023.html'>travel2023</a>, <a href='tag_japan2023.html'>japan2023</a></p>
]]></description><link>https://jessie.nabein.me/blog/eight-weeks-in-japan---part-3---tottori.html</link>
<guid>https://jessie.nabein.me/blog/./eight-weeks-in-japan---part-3---tottori.html</guid>

This is similar to what's shown on the index page:
Screenshot from 2024-04-14 11-08-42

It would be really ideal to have the RSS feed for the blog post show the entire content of the post, past the first <hr>, so the user doesn't have to exit their reader, while at the same time leaving the index cut as shown to make more posts visible (as my posts are often long and have lots of images).

Thanks!

@orbitalmartian8
Copy link

If you go in the bb.sh there is a bit where you can change this.

Line 81 - change from cut to blank and that should sort it. (Only downside is that it will add the whole post on the index page, that might not be a downside for everyone).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants