-
-
Notifications
You must be signed in to change notification settings - Fork 186
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
Generate full content on RSS instead of only summary #66
Comments
it's generating the full content in the RSS feed, for example, the blog section and RSS is enabled here in the docs site for sections: Lines 10 to 13 in c799160
|
try localhost:1313/blog/index.xml |
i tried it for blog/ and docs/ too |
I'll look into this. It would be nice if you could share an example repository for reproducing the issue. |
AFAIK, unless a custom RSS template is specified, Hugo includes only a summary of an article (or blog post) in RSS feed. This is due to To include full post content in feed, a custom RSS template should be defined with INMHO, it would be better to introduce a switch that allows controlling this feature (displaying full posts in the RSS feed) through a configuration parameter, with 'summary' as the default setting. Here is an example where this is implemented: hugo-sid/hugo-blog-awesome#113. |
@hugo-sid Thanks for the info. FYI, I have implemented full content RSS in If the OP wants descriptions tag, then the only way is to override the RSS template. |
Thanks for the info @imfing.
Yes, I saw that just now.
Agree. BTW, this is what I see at https://imfing.github.io/hextra/blog/index.xml : |
@hugo-sid I was aware of this, basically it lacks the I will create a PR to fix a couple of things for the RSS feed. |
@hugo-sid I've created a PR #75 the RSS feed xml is parsed correctly by the browser now: |
Great! |
Great |
Please rename otherwise access it using |
i have renamed it to blog/ for both blog/index.xml and docs/index.xml |
Can you also update the theme version please? |
in go.mod
|
You may need to create a Please follow the exampleSite provided in this repository |
Its still the same even after adding the _index.md |
@vinay-keshava I took a quick look of your repo, there are two issues:
after remove the frontmatter, the RSS content shows up:
|
@imfing thanks a lot for helping,i was a noob at hugo. |
@vinay-keshava no problem, this might also help people who may encounter the same problem in the future 😃 |
I've used the template repository to create a hugo site and the index.xml doesn't generate full contents it only generates summary
Help or insight needed on this !
Enable Full Text RSS feed
this is an example site which generates full content which enhances readability in RSS
https://blog.sahilister.in/index.xml
The text was updated successfully, but these errors were encountered: