Update now and update tick interval
Jes Olson j3s@c3f.net
Sun, 17 Jul 2022 22:50:03 -0500
2 files changed,
17 insertions(+),
4 deletions(-)
M
main.go
→
main.go
@@ -40,12 +40,12 @@ // with ... data. with which to pass into templates.
func (t *templateData) populate() { t.Feeds = feed.GetAllFeeds() // refresh all rss feeds periodically - for range time.Tick(time.Minute * 30) { + for range time.Tick(time.Minute * 60) { log.Println("updating feeds tbh") for i := range t.Feeds { err := t.Feeds[i].Update() if err != nil { - log.Println(err) + log.Printf("%s: %s\n", t.Feeds[i].Title, err) } } }
M
templates/now.html
→
templates/now.html
@@ -1,10 +1,23 @@
{{define "title"}}what is jes doing now{{end}} {{define "body"}} +<p><b>2022-07-17</b></p> +<li>the house has closed and is no longer mine</li> +<li>purchased a van and a storage container, blog inbound</li> +<li>traveled to south dakota with my madre</li> +<li>got maybe-covid ????</li> +<li>didn't play any video games for a few weeks straight</li> +<li>cut all my hair off again and bleached it again</li> +<li>hung out with my friend maddy a bunch</li> +<li>i've been doing a little better</li> +<li>building a fish at layer zero</li> +<li>learned to solder</li> +<li>played blackjack for the first time with some of my besties</li> <p><b>2022-05-30</b></p> -<li>managed to sell the house</li> +<li>managed to sell my house</li> <li>was sick for a week straight</li> <li>met some new friends :3</li> -<li>চুমু</li> +<li>চুমু (sigh)</li> +<li>beat jump king, but lost the bet</li> <p><b>2022-04-05</b></p> <li>moving back to MN to sell all my things</li> <li>TX is neXT</li>