lektor / lektor-atom

Lektor Atom plugin.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Doesn't seem to do anything at all here

mickeyl opened this issue · comments

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 #4 / #21. (Adding a url = entry in the main project config fixed that)