mirror of
https://codeberg.org/Reuh/feather.git
synced 2025-10-28 02:29:32 +00:00
fix: properly keep category order
This commit is contained in:
parent
b100d8f0b8
commit
2557db7502
2 changed files with 12 additions and 6 deletions
|
|
@ -1,4 +1,6 @@
|
|||
[server]
|
||||
# Server API to use. Either "googlereader" for the Google Reader API (FreshRSS, Miniflux, etc.) or "ttrss" for the TinyTiny-RSS API.
|
||||
# The Google Reader API do not support nested categories.
|
||||
api = "googlereader"
|
||||
# (Required) URL of your server's Google Reader API endpoint
|
||||
# Can be set through the environment variable SERVER_URL.
|
||||
|
|
@ -10,7 +12,8 @@ user = "username"
|
|||
# Can be set through the environment variable SERVER_PASSWORD.
|
||||
password = "password"
|
||||
# How many items to retrieve at most from the server in a single request. Lower values will make synchronization slower, higher values might make the server complain.
|
||||
# Most servers are supposedly okay with up to 1000, but tt-rss complained so I dropped it to 500 here.
|
||||
# If you are using the Google Reader API: servers should be okay with up to 1000.
|
||||
# If you are using the ttrss API: servers should be okay with up to 200.
|
||||
# Can be set through the environment variable SERVER_ITEMS_PER_REQUEST.
|
||||
items_per_request = 500
|
||||
|
||||
|
|
@ -66,7 +69,9 @@ template = '''
|
|||
# Filename template for generated HTML files.
|
||||
# Can be set through the environment variable HTML_FILENAME_TEMPLATE.
|
||||
filename_template = "[{{ feed_title }}]\t{{ title }} ({{ published_formatted }}).html"
|
||||
category_template = "{{ title }}"
|
||||
# Category directory name template for generated HTML files.
|
||||
# Can be set through the environment variable HTML_CATEGORY_TEMPLATE.
|
||||
category_template = "{% if order %}{{ '%02d' % order }} {% endif %}{{ title }}"
|
||||
# Maximum allowed filename length (in bytes assuming UTF-8 encoding) before truncating. Depending on your filesystem filename's limits it may be possible to increase the value, ask Wikipedia for details.
|
||||
# Can be set through the environment variable HTML_MAX_FILENAME_LENGTH.
|
||||
max_filename_length = 250
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue