mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Add FEED_START_DATE to shortcut initial feed entries
Usually feed parsers from different systems ignores past entries from the original migraated blog when catch a new feed, then simply repost all entries of the newly migrated blog/site again, making an unwanted side effect. This option enables to decide when the newly created site should create the feeds and provide the proper atom/rss outputs
This commit is contained in:
parent
daee3c2336
commit
8aa76cd03f
3 changed files with 21 additions and 1 deletions
|
|
@ -931,6 +931,14 @@ the ``TAG_FEED_ATOM`` and ``TAG_FEED_RSS`` settings:
|
|||
Maximum number of items allowed in a feed. Feed item quantity is
|
||||
unrestricted by default.
|
||||
|
||||
.. data:: FEED_START_DATE
|
||||
|
||||
Date from the first entry expected in the new generated feed. Date format
|
||||
is defined as "%Y-%m-%d" i.e. "2019-07-31".
|
||||
This setting is specially useful to migrated blogs that used to have an
|
||||
original feed and do not want every single post been parsed again, or
|
||||
set a cut date for feed start to be generated.
|
||||
|
||||
.. data:: RSS_FEED_SUMMARY_ONLY = True
|
||||
|
||||
Only include item summaries in the ``description`` tag of RSS feeds. If set
|
||||
|
|
@ -1238,7 +1246,7 @@ ignored. Simply populate the list with the log messages you want to hide, and
|
|||
they will be filtered out.
|
||||
|
||||
For example::
|
||||
|
||||
|
||||
import logging
|
||||
LOG_FILTER = [(logging.WARN, 'TAG_SAVE_AS is set to False')]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue