Add image to feed
This commit is contained in:
parent
9aca3f777b
commit
65caff3121
2 changed files with 11 additions and 1 deletions
|
@ -15,7 +15,12 @@
|
||||||
<link href="https://mojoreads.de/book/?isbn={{ .ISBN }}&ref=mezzo&aff=mr"/>
|
<link href="https://mojoreads.de/book/?isbn={{ .ISBN }}&ref=mezzo&aff=mr"/>
|
||||||
<id>urn:uuid:{{ .ISBN }}</id>
|
<id>urn:uuid:{{ .ISBN }}</id>
|
||||||
<updated>{{ .Date }}T00:00:00Z</updated>
|
<updated>{{ .Date }}T00:00:00Z</updated>
|
||||||
<summary>{{ .Author | html }} - "{{ .Title | html }}"</summary>
|
<summary>{{ .Author | html }} - "{{ .Title | html }}</summary>
|
||||||
|
<content type="xhtml">
|
||||||
|
<div xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<img src="https://buchdesmonats.okoyono.de/covers/{{ .ISBN }}.jpg"/>
|
||||||
|
</div>
|
||||||
|
</content>
|
||||||
</entry>
|
</entry>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</feed>
|
</feed>
|
||||||
|
|
|
@ -16,6 +16,11 @@
|
||||||
<id>urn:uuid:{{ .ISBN }}</id>
|
<id>urn:uuid:{{ .ISBN }}</id>
|
||||||
<updated>{{ .Date }}T00:00:00Z</updated>
|
<updated>{{ .Date }}T00:00:00Z</updated>
|
||||||
<summary>{{ .Author | html }} - "{{ .Title | html }}"</summary>
|
<summary>{{ .Author | html }} - "{{ .Title | html }}"</summary>
|
||||||
|
<content type="xhtml">
|
||||||
|
<div xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<img src="https://comicdesmonats.okoyono.de/covers/{{ .ISBN }}.jpg"/>
|
||||||
|
</div>
|
||||||
|
</content>
|
||||||
</entry>
|
</entry>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue