Hello,
I'm using kiln to manage my capsules and it is a really nice tool. Thank you :)
I had issue with the default atom feed while trying to subscribe using amfora. I
think I've found why using the w3c validator [1].
Each entries needs to have in additino to 'id', 'title' and 'updated' the
parameter 'link' with 'rel="alternate"'
So the following template makes my feed working:
```
{{ `<?xml version="1.0" encoding="utf-8"?>` | safeHTML }}
<feed xmlns="http://www.w3.org/2005/Atom">
<id>{{ .URL }}</id>
<title>{{ .Title }}</title>
<updated>{{ site.Generated.Format "2006-01-02T15:04:05Z07:00" }}</updated>
<link href="{{ .URL | safeURL }}" rel="alternate"/>
{{ range .Pages }}<entry>
<link href="{{ .URL | safeURL }}" rel="alternate"/>
<id>{{ .URL }}</id>
<title>{{ .Title }}</title>
<updated>{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}</updated>
</entry>
{{ end -}}
</feed>
```
To be honest I've well understood how to submit patch, so I hope it could help
other having the same issue.
Bye,
Valvin.
[1]: https://validator.w3.org/feed/
> I'm using kiln to manage my capsules and it is a really nice tool. Thank you :)
Glad you like it!
> I had issue with the default atom feed while trying to subscribe using amfora. I> think I've found why using the w3c validator [1].>> Each entries needs to have in additino to 'id', 'title' and 'updated' the> parameter 'link' with 'rel="alternate"'
Thanks for pointing this out!
If you don't want to send a patch, I will push a fix out for this soon.
Le Thu, Sep 22, 2022 at 02:58:40PM -0400, Adnan Maolood a écrit :
> If you don't want to send a patch, I will push a fix out for this soon.
Sorry I did a typo in my previous message. It is not I don't want to send patch
but I've not understood how to make it. I'm used to use gitlab and Merge Request
and even if it is simple I don't know how to make a patch :)
> Sorry I did a typo in my previous message. It is not I don't want to send patch> but I've not understood how to make it. I'm used to use gitlab and Merge Request> and even if it is simple I don't know how to make a patch :)
No problem :) If you are interested in learning,
https://git-send-email.io is a good starting point.