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

Allow RSS feed to display either full post or the excerpt #44

Closed
naepalm opened this issue Nov 7, 2014 · 1 comment
Closed

Allow RSS feed to display either full post or the excerpt #44

naepalm opened this issue Nov 7, 2014 · 1 comment
Assignees
Milestone

Comments

@naepalm
Copy link

naepalm commented Nov 7, 2014

I couldn't find this anywhere, so I thought I'd make an issue - it would be really great if we could select whether we want our RSS feed to populate the full post or just an excerpt of the post.

@Shazwazza Shazwazza self-assigned this Nov 17, 2014
Shazwazza added a commit that referenced this issue Jul 18, 2015
@Shazwazza
Copy link
Owner

Have fixed this and #71 :)

You can follow the instructions here: https://github.com/Shazwazza/Articulate/wiki/Configuration#rssfeedgenerator

This will allow you to configure the RSS feed however you would like.

If you want to just display the excerpt then you can override the GetPostContent method of the RssFeedGenerator and do this:

 return model.Excerpt.ToHtmlString();

@Shazwazza Shazwazza added this to the 1.0.10 milestone Jul 19, 2015
@Shazwazza Shazwazza modified the milestones: 1.1.0, 2.0.0 Oct 16, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants