lektor-atom icon indicating copy to clipboard operation
lektor-atom copied to clipboard

Doesn't seem to do anything at all here

Open mickeyl opened this issue 6 years ago • 3 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?

mickeyl avatar Feb 04 '19 10:02 mickeyl

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.

mickeyl avatar Feb 05 '19 12:02 mickeyl

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

webknjaz avatar Oct 08 '20 22:10 webknjaz

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)

webknjaz avatar Oct 08 '20 23:10 webknjaz