lektor / lektor-atom

Lektor Atom plugin.
30 stars 13 forks source link

Doesn't seem to do anything at all here #19

Open mickeyl opened 5 years ago

mickeyl commented 5 years ago

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?

mickeyl commented 5 years ago

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.

webknjaz commented 3 years ago

I've faced the same problem (didn't debug it tho). Anybody figured out the root cause?

webknjaz commented 3 years ago

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)