mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Use the summary as the feed's description, and put content in content
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.
This commit is contained in:
parent
de0b6dc6aa
commit
eac8fa2abd
34 changed files with 463 additions and 349 deletions
|
|
@ -51,7 +51,8 @@ class Writer(object):
|
|||
title=title,
|
||||
link=link,
|
||||
unique_id=get_tag_uri(link, item.date),
|
||||
description=item.get_content(self.site_url),
|
||||
description=item.summary,
|
||||
content=item.get_content(self.site_url),
|
||||
categories=item.tags if hasattr(item, 'tags') else None,
|
||||
author_name=getattr(item, 'author', ''),
|
||||
pubdate=set_date_tzinfo(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue