Open Lonami opened 3 years ago
Maybe we should emit a warning if these required fields are missing and don't emit the atom feed then?
that sounds like a great idea to me :)
i'm curious what semantic meaning a "root post" would have - maybe some text to appear above the post listing, in index.html?
I think some text above the listing would definitely be an improvement over nothing, but then again with some form of minimal templating we could also get text below. It's a tradeoff simplicity vs convenient magic (a la metadata).
we already have the footer for that :) i'd go with simplicity
Wouldn't the footer apply site-wide? Would we have a way to have post-specific header and footer (including special "root")? Thinking on it, it would be a useful override for the site-wide version.
hm, would need some justification for the extra complexity. i don't see the appeal in the abstract
7 needs some additional information that we simply don't have, such as:
id
are not valid because they must be full URLs (we need a base URL).<atom:link href="url/atom.xml" rel="self" type="application/rss+xml"/>
is missing (we need a base URL).author
is missing from all entries.If we had a root post or configuration file we could provide these details. Maybe we should emit a warning if these required fields are missing and don't emit the atom feed then?