Add feed config option generator.

This allows setting or overwriting the generator provided by
the feed.
This commit is contained in:
Hartmut Goebel
2019-09-16 14:28:00 +02:00
parent 7df2d306e4
commit 52cf05c09c
2 changed files with 14 additions and 3 deletions

View File

@ -52,6 +52,7 @@ Since *feeds* is a list you can add additional feeds to watch if you want.
template: "dot com: {title} {url}"
- url: https://example.org/feed/
template: "dot org: {title} {url}"
generator: wordpress
## Special Handling for Different Feed Generators
@ -60,6 +61,14 @@ Since *feeds* is a list you can add additional feeds to watch if you want.
generators. For example detecting the entries perma-link. Currently
only Wordpress is handled, but others may follow.
If a feed does not provide a proper *generator* entry, you can set it
by adding a `generator:` value to the feed's configuration. See the
seconds one in the example above.
You can check whether feed provides a *generator* entry like this:
feediverse --verbose --dry-run feedverse-test.rc | grep generator
## Why?