From a6ef3a7ce53291808f56b4f79a55480fcfae5029 Mon Sep 17 00:00:00 2001 From: Amolith Date: Mon, 1 May 2023 16:35:12 -0400 Subject: [PATCH] provide OPML file for download --- content/feeds.md | 4 +- justfile | 2 +- opml.tmpl | 4 +- static/feeds.opml | 121 ++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 128 insertions(+), 3 deletions(-) create mode 100644 static/feeds.opml diff --git a/content/feeds.md b/content/feeds.md index 33120e8..39f2235 100644 --- a/content/feeds.md +++ b/content/feeds.md @@ -10,9 +10,11 @@ type: generic Barring a couple of sections like private feeds from [Kill the Newsletter!][ktn] and a ton of release feeds from GitHub, these are all the RSS feeds I follow. -This list is generated with [opml2md.][om] +[An exported OPML] is also available if you'd rather look that way. This list is +generated with [opml2md.][om] [ktn]: https://kill-the-newsletter.com/ +[An exported OPML]: /feeds.opml [om]: https://git.sr.ht/~amolith/opml2md **Note:** feeds _usually_ include links to the associated HTML site, but diff --git a/justfile b/justfile index 688a8be..f44419f 100644 --- a/justfile +++ b/justfile @@ -105,7 +105,7 @@ images: # Generate feeds post from OPML file in /tmp/subscriptions.opml opml: go install git.sr.ht/~amolith/opml2md@latest - opml2md -i /tmp/subscriptions.opml -o content/feeds.md -t opml.tmpl -g "Software updates,Newsletters" + opml2md -i /tmp/subscriptions.opml -o content/feeds.md -x static/feeds.opml -t opml.tmpl -g "Software updates,Newsletters" # Run development server serve: diff --git a/opml.tmpl b/opml.tmpl index 7425b7d..a740bd7 100644 --- a/opml.tmpl +++ b/opml.tmpl @@ -10,9 +10,11 @@ type: generic Barring a couple of sections like private feeds from [Kill the Newsletter!][ktn] and a ton of release feeds from GitHub, these are all the RSS feeds I follow. -This list is generated with [opml2md.][om] +[An exported OPML] is also available if you'd rather look that way. This list is +generated with [opml2md.][om] [ktn]: https://kill-the-newsletter.com/ +[An exported OPML]: /feeds.opml [om]: https://git.sr.ht/~amolith/opml2md **Note:** feeds _usually_ include links to the associated HTML site, but diff --git a/static/feeds.opml b/static/feeds.opml new file mode 100644 index 0000000..97c1bd6 --- /dev/null +++ b/static/feeds.opml @@ -0,0 +1,121 @@ + + + + subscriptions + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file