@@ -388,7 +388,7 @@ REDIRECTIONS = ${REDIRECTIONS}
388
388
# side optimization for very high traffic sites or low memory servers.
389
389
# GZIP_FILES = False
390
390
# File extensions that will be compressed
391
- # GZIP_EXTENSIONS = ('.txt', '.htm', '.html', '.css', '.js', '.json', '.xml')
391
+ # GZIP_EXTENSIONS = ('.txt', '.htm', '.html', '.css', '.js', '.json', '.atom', '. xml')
392
392
# Use an external gzip command? None means no.
393
393
# Example: GZIP_COMMAND = "pigz -k {filename}"
394
394
# GZIP_COMMAND = None
@@ -556,10 +556,14 @@ INDEX_READ_MORE_LINK = ${INDEX_READ_MORE_LINK}
556
556
# 'Read more...' for the RSS_FEED, if RSS_TEASERS is True (translatable)
557
557
RSS_READ_MORE_LINK = ${RSS_READ_MORE_LINK}
558
558
559
- # Append a URL query to the RSS_READ_MORE_LINK and the //rss/item/link in
560
- # RSS feeds. Minimum example for Piwik "pk_campaign=rss" and Google Analytics
561
- # "utm_source=rss&utm_medium=rss&utm_campaign=rss". Advanced option used for
562
- # traffic source tracking.
559
+ # Append a URL query to the RSS_READ_MORE_LINK in Atom and RSS feeds. Advanced
560
+ # option used for traffic source tracking.
561
+ # Minimum example for use with Piwik: "pk_campaign=feed"
562
+ # The following tags exist and are replaced for you:
563
+ # {feedRelUri} A relative link to the feed.
564
+ # {feedFormat} The name of the syndication format.
565
+ # Example using replacement for use with Google Analytics:
566
+ # "utm_source={feedRelUri}&utm_medium=nikola_feed&utm_campaign={feedFormat}_feed"
563
567
RSS_LINKS_APPEND_QUERY = False
564
568
565
569
# A HTML fragment describing the license, for the sidebar.
@@ -753,12 +757,21 @@ COMMENT_SYSTEM_ID = ${COMMENT_SYSTEM_ID}
753
757
# links to it. Set this to False to disable everything RSS-related.
754
758
# GENERATE_RSS = True
755
759
760
+ # By default, Nikola does not generates Atom files for indexes and links to
761
+ # them. Generate Atom for tags by setting TAG_PAGES_ARE_INDEXES to True.
762
+ # Atom feeds are built based on INDEX_DISPLAY_POST_COUNT and not FEED_LENGTH
763
+ # Switch between plain-text summaries and full HTML content using the
764
+ # RSS_TEASER option. RSS_LINKS_APPEND_QUERY is also respected. Atom feeds
765
+ # are generated even for old indexes and have pagination link relations
766
+ # between each other. Old Atom feeds with no changes are marked as archived.
767
+ # GENERATE_ATOM = False
768
+
756
769
# RSS_LINK is a HTML fragment to link the RSS or Atom feeds. If set to None,
757
770
# the base.tmpl will use the feed Nikola generates. However, you may want to
758
771
# change it for a FeedBurner feed or something else.
759
772
# RSS_LINK = None
760
773
761
- # Show only teasers in the RSS feed ? Default to True
774
+ # Show only teasers in the RSS and Atom feeds ? Default to True
762
775
# RSS_TEASERS = True
763
776
764
777
# Strip HTML in the RSS feed? Default to False
0 commit comments