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
Use the summary as the feed's summary #1989
Conversation
This adheres more closely to the specs, especially Atom, where the 'description' arg becomes <summary>. Note that this means full article content will no longer appear in RSS feeds.
|
Looks good to me; can we get this merged in, @justinmayer? |
|
lgtm |
|
I just ran Just thought it would be good to resolve this before proceeding. (^_^) |
Hmm, I'm also seeing test failures for the current |
|
Merged with master. The |
|
I noticed failing tests on my machine too, but I updated my dependencies and everything seems to pass now (when running |
|
About Test runner in Other test runners don't have that issue. Hence the happy travis (which uses |
|
Interestingly, I do get failures with |
It gives back full content in RSS feeds. This was changed to summary-only in [1]. The option was added in [2]. Both between 3.6.3 and 3.7. The only changes in feeds between 3.6.3 (with hardcoded html5 as markdown's output format) and 3.7 are the following: * Atom feeds: full content of article moved from <summary/> to </content> and <summary/> becomes really summary. * Atom/RSS feeds: strings in <id/> / <guid/> slightly changed by [3]. The first should be good, the second can cause some RSS/Atom readers to find fake new items when the website will updated. [1]: getpelican/pelican#1989 [2]: getpelican/pelican#2051 [3]: getpelican/pelican#1306
This fixes #1886. I tried this on my own blog and the results are definitely more pleasing:
<summary>contains a summary,<content>contains the full content.As mentioned in that issue, this does change the behavior for RSS. RSS's
<description>is intended as a summary, and it has no equivalent to<content>, so with this change, RSS feeds won't contain the full content any more.I can add an option to force putting the full content in the summary/description tag, if this is a problem. Alternatively, just use Atom. ;)
(For what it's worth, I checked my new feed in feedly, and it appears to understand
<content>and still show the full article. I don't know how other readers behave.)