small pixel drawing of a pufferfish vore

files/feeds.tmpl.html

{{ define "feeds" }}
{{ template "head" . }}
{{ template "nav" . }}
<h3>Settings</h3>
<p>your public url: <a href="/{{ .Username }}">vore.website/{{ .Username }}</a>

{{ len .Data }} subscriptions:
</p>
<form method="POST" action="/feeds/submit">
<textarea name="submit" rows="10" cols="50">
{{ range .Data -}}
{{ .UpdateURL }}
{{ end -}}
</textarea>
<br>
<input type="submit" value="subscribe">
</form>
{{ $length := len .Data }}
{{ if eq $length 0 }}
<p>
      ‼️ tutorial ‼️

once you have subscribed to some feeds,
their posts will appear on your timeline.

note that all timelines are public ‼️

here are some feed urls to play with
copy them into the text box above
and press [subscribe]

https://100r.co/links/rss.xml
https://begriffs.com/atom.xml
https://blog.passtheballsocrates.com/feed/
https://cyberia.club/blog/blog.xml
https://davebucklin.com/feed.xml
https://facklambda.dev/atom.xml
https://herman.bearblog.dev/feed/
https://icyphox.sh/blog/feed.xml
https://j3s.sh/feed.atom
https://katherine.cox-buday.com/rss.xml
https://sequentialread.com/rss



  /)/)
( . .)
( づ♡
</p>
{{ else if gt $length 0 }}
<p>feed details:</p>
{{ end }}
{{ range .Data }}
<details>
	<summary>{{ .UpdateURL }}</summary>
<p>Title: {{ .Title | trimSpace }}
Description: "{{ .Description | trimSpace }}"
Refresh: {{ .Refresh.Format "Jan 02, 15:04:05 UTC" }}
{{ len .Items }} Items:</p>
{{ range .Items }}
<details>
	<summary>{{ .Title }}</summary>
<p>Date: {{ .Date }}
Link: {{ .Link }}
</p>
</details>
{{ end }}
</p>
</details>
{{ end }}
{{ template "tail" . }}
{{ end }}