omz13 / kirby3-feeds

A plugin for kirby3 to generate rss, atom, and json syndication feeds
21 stars 3 forks source link

Error: getConfigurationForKey() excpects a string #2

Closed janstieler closed 5 years ago

janstieler commented 5 years ago

Hi, thank you for this helpfull plugin! If I try to show the firehose atom through feeds/atom/ I get shown teh debugger with the error Return value of omz13\Feeds::getConfigurationForKey() must be of the type string, array returned. In the config file I have used 'omz13.feeds.firehose' => ['blogarticles'], blogarticle are my collection. Have you an Idea whats wrong?

Cheers

omz13 commented 5 years ago

firehose is a string not an array. In the docs, the description is correct, but the examples are wrong (my bad!). Try: omz13.feeds.firehose' => 'blogarticles'

janstieler commented 5 years ago

Thanks! Now it works perfect.