Fork me on GitHub
#perun
<
2016-08-10
>
juhoteperi05:08:03

hmm, how is the canonical url simple string concat?

juhoteperi05:08:18

@martinklepsch: I have no strong opinions on title vs. name

martinklepsch09:08:04

@juhoteperi: it's just this being added to metadata no? (str base-url (:permalink %)

martinklepsch09:08:04

jekyll uses title, i'll open a PR

martinklepsch09:08:39

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?

martinklepsch12:08:38

@juhoteperi: any thoughts about this? ^

juhoteperi12:08:32

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 "/")))

juhoteperi12:08:45

Re: updated, I think the RSS reader should select what to do with updated posts?

juhoteperi12:08:58

Some might want to re-read with updates, some might want to ignore them

juhoteperi12:08:07

What do other tools do?

juhoteperi12:08:17

Readers might also compeltely ignore updates if feed updated doesn't change?

juhoteperi12:08:50

jekyll also writes published tag, that should be a good addition

juhoteperi12:08:18

and writes last modified as updated so I believe it should be fine to use date-modified there is it is available

juhoteperi12:08:10

I added published tag & some others