lektor / lektor-atom

Lektor Atom plugin.
30 stars 13 forks source link

Plugin requires url to be defined in project file. #4

Open nsteinmetz opened 8 years ago

nsteinmetz commented 8 years ago

Hello,

Just noticed that to make this plugin work, you must set the url parameter in your project file

Otherwise, feed url will raise an error page in lektor.

It should be defined in the doc.

kind regards, Nicolas

ericmjl commented 7 years ago

@nsteinmetz may I ask, how did you set the URL parameter? Did you provide the base URL (e.g. my own, http://www.ericmjl.com/)? If so, how can we test using localhost?

nsteinmetz commented 7 years ago

Hi @ericmjl,

I no longer use lektor so I can't really help.

Maybe URL variable just need to be defined so that template is correctly rendered. Then you can call your feed from any url (localhost or your public site)?

ericmjl commented 7 years ago

@nsteinmetz Thanks for getting back! I think you are right, as long as it's an arbitrary URL, the template will be correctly rendered, though I didn't think to try that out yesterday.

goanpeca commented 6 years ago

@nsteinmetz just out of curiosity why you are no longer using lektor? are you using a different tool at the moment, or simply no longer needing a tool at all?

nsteinmetz commented 6 years ago

From that time, I kept Dotclear (PHP based) for some time and moved more recently to Hugo.io

paternal commented 6 years ago

As OP stated, you must set the URL for this plugin to work.

Is this required by the atom feed? Or is this possible to make this optional?