hmm, how is the canonical url simple string concat?
@martinklepsch: I have no strong opinions on title vs. name
@juhoteperi: it's just this being added to metadata no? (str base-url (:permalink %)
jekyll uses title
, i'll open a PR
Another question with regards to atom:
(defn updated [{:keys [date-modified date-published date-created]}]
(or date-modified date-published date-created))
shouldn't this be just date-published
? My feed is very unordered now and usually I wouldn't want updated items to appear as if they're new?@juhoteperi: any thoughts about this? ^
Re: canonical-url, I remembered that I have a custom setup on one project, but infact it was for permaurl:
(defn permalink-fn [{:keys [slug toplevel]}]
(perun/absolutize-url (str (if-not toplevel "blog/") slug "/")))
Re: updated, I think the RSS reader should select what to do with updated posts?
Some might want to re-read with updates, some might want to ignore them
What do other tools do?
Readers might also compeltely ignore updates if feed updated
doesn't change?
jekyll also writes published
tag, that should be a good addition
and writes last modified as updated
so I believe it should be fine to use date-modified
there is it is available
https://github.com/jekyll/jekyll-feed/blob/master/lib/feed.xml#L46-L51
I added published tag & some others