Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mickeyl opened this issue Feb 4, 2019 · 3 comments
Open

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

mickeyl opened this issue Feb 4, 2019 · 3 comments

Comments

@mickeyl
Copy link

mickeyl commented Feb 4, 2019

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
Copy link
Author

mickeyl commented Feb 5, 2019

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
Copy link

webknjaz commented Oct 8, 2020

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

@webknjaz
Copy link

webknjaz commented Oct 8, 2020

Oh, I've actually faced #4 / #21. (Adding a url = entry in the main project config fixed that)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants