lektor-atom
lektor-atom copied to clipboard
Doesn't seem to do anything at all here
I'm on macOS 10.14.x with Python 3.7.2. I added the plugin to lektor and my config/atom.ini is
[blog]
name = My Blog feed
source_path = /blog
item_model = blog-post
url_path = /blog/feed.xml
I also added
url = https://www.vanille.de
to my project file. However, even with lektor build --no-prune, no feed.xml appears.
Any idea what could be missing?
I started to debug this. The plugin gets loaded and initialized, however although the environment contains both the AtomFeedSource and AtomFeedBuilderProgram
lektor/builder.py: self.env.build_programs is [(<class 'lektor_atom.AtomFeedSource'>, <class 'lektor_atom.AtomFeedBuilderProgram'>)]
neither one gets actually executed later on. I'll keep digging, but would be grateful for more info.
I've faced the same problem (didn't debug it tho). Anybody figured out the root cause?
Oh, I've actually faced https://github.com/lektor/lektor-atom/issues/4 / https://github.com/lektor/lektor-atom/issues/21. (Adding a url = entry in the main project config fixed that)