forked from mirror/oddmu
Add the check to the RELEASE file. Add "generator" with link to the sources to view, feed and static templates.
36 lines
1.7 KiB
HTML
36 lines
1.7 KiB
HTML
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"
|
|
xmlns:fh="http://purl.org/syndication/history/1.0">
|
|
<channel>
|
|
<docs>http://blogs.law.harvard.edu/tech/rss</docs>
|
|
<title>{{.Title}}</title>
|
|
<link>https://example.org/</link>
|
|
<managingEditor>you@example.org (Your Name)</managingEditor>
|
|
<webMaster>you@example.org (Your Name)</webMaster>
|
|
<atom:link href="https://example.org/view/{{.Path}}.rss" rel="self" type="application/rss+xml"/>{{if .From}}
|
|
<atom:link href="https://example.org/view/{{.Path}}.rss?from={{.Prev}}&n={{.N}}" rel="previous" type="application/rss+xml"/>{{end}}{{if .PrevYear}}
|
|
<atom:link href="https://example.org/view/{{.Dir}}{{.PrevYear}}.rss?n={{.N}}" rel="previous" type="application/rss+xml"/>{{end}}{{if .Next}}
|
|
<atom:link href="https://example.org/view/{{.Path}}.rss?from={{.Next}}&n={{.N}}" rel="next" type="application/rss+xml"/>{{end}}{{if .NextYear}}
|
|
<atom:link href="https://example.org/view/{{.Dir}}{{.NextYear}}.rss?n={{.N}}" rel="next" type="application/rss+xml"/>{{end}}{{if .Complete}}
|
|
<generator>Oddμ https://src.alexschroeder.ch/oddmu.git/</generator>
|
|
<fh:complete/>{{end}}
|
|
<description>This is the digital garden of Your Name.</description>
|
|
<image>
|
|
<url>https://example.org/view/logo.jpg</url>
|
|
<title>{{.Title}}</title>
|
|
<link>https://example.org/</link>
|
|
</image>
|
|
{{range .Items}}
|
|
<item>
|
|
<title>{{.Title}}</title>
|
|
<link>https://example.org/view/{{.Path}}</link>
|
|
<guid>https://example.org/view/{{.Path}}</guid>
|
|
<description>{{.HTML}}</description>
|
|
<pubDate>{{.Date}}</pubDate>
|
|
{{range .Hashtags}}
|
|
<category>{{.}}</category>
|
|
{{end}}
|
|
</item>
|
|
{{end}}
|
|
</channel>
|
|
</rss>
|